Skip to content

fix: CodeRabbit auto-fixes for PR #783 - #1280

Closed
coderabbitai[bot] wants to merge 1 commit into
mainfrom
coderabbitai/autofix/ce768a6
Closed

coderabbitai[bot] wants to merge 1 commit into
mainfrom
coderabbitai/autofix/ce768a6

Conversation

@coderabbitai

@coderabbitai coderabbitai Bot commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

This follow-up PR contains CodeRabbit auto-fixes for #783.

Files modified:

  • scripts/check-debtfile-structure.sh
  • scripts/tests/run-debtfile-test.sh

Fixed 2 file(s) based on 1 failed pre-merge check.

Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
@coderabbitai

coderabbitai Bot commented Oct 17, 2026

Copy link
Copy Markdown
Contributor Author

Important

Review skipped

This PR was authored by the user configured for CodeRabbit reviews. CodeRabbit does not review PRs authored by this user. It's recommended to use a dedicated user account to post CodeRabbit review feedback.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 0a4fc3f6-296f-4242-8e5c-b34f65b8cf65

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T23:40:19.056730Z 5d365cd PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

DEED–K9 green

🟢 conformant · commit 5d365cdde5ad · run 39079841551

Category Status Pass Fail Indeterminate N/A Since previous revision
DEED syntax 🟢 conformant 4 0 0 0 — no comparable baseline
K9 contract typecheck 🟢 conformant 1 0 0 0 — no comparable baseline
K9 validator self-test 🟢 conformant 34 0 0 0 — no comparable baseline
K9 positive/negative controls 🟢 conformant 27 0 0 0 — no comparable baseline
K9 live corpus (L0–L2) 🟢 conformant 12 0 0 2 — no comparable baseline
K9 live corpus (L0–L2): 2 finding(s) / scope notes
  • 2-protocols/k9-coordination/examples/minimal.k9 — not_applicable: Routed to another dialect; not validated as a K9 contract.
  • coordination.k9 — not_applicable: Routed to another dialect; not validated as a K9 contract.

Scope: DEED syntax and K9 contracts L0–L2. L3 signature verification and routed coordination dialects are not certified. Green is limited to this scope. Orange is missing evidence; grey is an explicit scope exclusion. Logs and report.json are in the dated conformance-evidence artifact on the linked run.

@sonarqubecloud

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5d365cdde5

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines 117 to 120
if [ -n "$taxonomy_default" ] && [ "$taxonomy_default" = "$taxonomy_non_default" ]; then
bad "'$name' taxonomy-default-arm and taxonomy-non-default-arm must name different arms"
fi
# Stable-identifier grammar per DEBTFILE-SPEC §Fields: [a-z0-9][a-z0-9._-]*.
if [ -n "$taxonomy_default" ]; then
case "$taxonomy_default" in
*[!a-z0-9._-]*|[^a-z0-9]*) bad "'$name' taxonomy-default-arm '$taxonomy_default' is not a stable identifier ([a-z0-9][a-z0-9._-]*)" ;;
esac
fi
if [ -n "$taxonomy_non_default" ]; then
case "$taxonomy_non_default" in
*[!a-z0-9._-]*|[^a-z0-9]*) bad "'$name' taxonomy-non-default-arm '$taxonomy_non_default' is not a stable identifier ([a-z0-9][a-z0-9._-]*)" ;;
esac
fi
fi

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore stable taxonomy identifier validation

Removing the arm-identifier checks makes the validator accept values containing spaces or uppercase characters even though DEBTFILE-SPEC.adoc requires [a-z0-9][a-z0-9._-]*. The existing scripts/tests/debtfile-structure-test.sh case with taxonomy-default-arm: Adapt proven test now returns 0 instead of 1, so the canonical shell test suite fails and malformed governance records can pass validation.

Useful? React with 👍 / 👎.

Comment on lines 40 to +41
- taxonomy-default-arm: adapt-proven-idris2-test
- taxonomy-non-default-arm: write-local-test
- taxonomy-selected-arm: write-local-test

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep the runner fixture compliant with the Debtfile schema

Restore the required taxonomy-choice: non-default and taxonomy-non-default-arm fields here: taxonomy-selected-arm is not defined by the repository's Debtfile specification or recognized by the structural validator. As written, entry() no longer produces the “minimal valid Debtfile entry” its contract promises, so these runner tests exercise inputs that the normal structural gate would reject and the preservation assertion checks a nonexistent field.

Useful? React with 👍 / 👎.

@coderabbitai coderabbitai Bot closed this Oct 17, 2026
@coderabbitai
coderabbitai Bot deleted the coderabbitai/autofix/ce768a6 branch October 17, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant