Skip to content

fix(docs): resolve two dangling references and the code-scanning alert left by #811 - #813

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/dangling-refs
Sep 17, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
fix/dangling-refs

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Follow-up to #811, which merged at ca1c24e. This is the one commit from that branch that was not part of the merge: 236fcb8.

Why this exists

Triage of the remaining CI failures on #811 turned up two defects in the merged work itself. Both are still live on main.

1. Hypatia was not a workflow

I triaged it last because it looked like an unrelated pre-existing failure. No workflow or job in this repository is named Hypatia. The check-run comes from the GitHub Advanced Security app — it is the code-scanning gate, and it failed because the SARIF upload from #811 contained 1 new alert in code changed by this pull request:

.machine_readable/rsr-profile.a2ml
warning: doc references `src/interface/` but no such directory exists in the tree
         (likely surviving a directory rename)

A true positive against a file #811 added. The directory really is absent (0 tracked paths under src/interface/, and the canon has none). The sentence was declaring that absence — "no C-ABI seam and no formally specified ABI; src/interface/ absent" — but written so it read as a live path reference. Reworded to state the same fact without the bare path token.

The alert was not dismissed and no scanning configuration was touched. The text is simply unambiguous now about what it means.

2. Three references to a document that does not exist

Checking every path that #811's files point at turned up references to docs/binding/04-EXECUTION-PLAN.md. Neither that file nor docs/binding/ exists anywhere in this repository, and never has:

file reference
.machine_readable/rsr-profile.a2ml:37 "see docs/binding/04-EXECUTION-PLAN.md, ruling R-B"
docs/AFFIRMATION.adoc:54 link:../binding/04-EXECUTION-PLAN.md[...]
scripts/check-canon-lockstep.sh:98 "See docs/binding/04-EXECUTION-PLAN.md."

These point at a plan that existed only in conversation. A document citing a non-existent authority is worse than one citing none: it reads as though the argument has been made somewhere. Repointed at what exists and actually says it:

  • the dialect note -> docs/AUDIT.adoc finding F3, which records that the law is authored in a superseded dialect while DEED is itself an unratified DRAFT
  • the ordering rule -> canon.lock [canon.lockstep], where spine-adopts-then-canon-releases is actually stated
  • AFFIRMATION's "We intend" list -> docs/AUDIT.adoc, which enumerates the release conditions those actions serve

Every cross-reference in every .adoc and .a2ml this commit touches now resolves.

No lock bump required

.machine_readable/rsr-profile.a2ml is not named in canon.lock [canon.artifacts] (criteria, gates, applicability, lifecycle, constitution), so a comment edit in it is not a canon change and Gate A assertion 2 stays satisfied.

Gates

Gate A, --canon canon  -> passed 8  failed 0  skipped 2   GATE A PASSED
Gate A, --canon .      -> passed 8  failed 0  skipped 2   GATE A PASSED
check-rsr-profile.sh . -> OK - scaffold matches declared capabilities
check-standards-map.sh -> GATE D PASSED, entry_count = 120

…t on this PR

Remaining CI failures on this PR, triaged to source rather than to name.

"HYPATIA" IS NOT A WORKFLOW

Triaged first because it looked like one. No workflow or job in this repository
is named `Hypatia`; the check-run comes from the GitHub Advanced Security app,
i.e. it is the code-scanning gate, and it failed because the SARIF upload from
this PR contained **1 new alert in code changed by this pull request**:

  .machine_readable/rsr-profile.a2ml
  warning: doc references `src/interface/` but no such directory exists in the
           tree (likely surviving a directory rename)

A true positive against my own new file, not a false one. The directory really
is absent (0 tracked files under src/interface/ in the canon), and the sentence
was declaring *that absence* — "no C-ABI seam and no formally specified ABI;
src/interface/ absent" — but written so that it read as a live path reference.
Reworded to state the same fact without the bare path token. The alert was not
dismissed and no scanning config was touched: the text is simply unambiguous now
about what it means.

TWO MORE DANGLING REFERENCES, FOUND WHILE LOOKING

Chasing that alert meant checking every path this PR's files point at, and two
pointed at a document that was never committed — `docs/binding/04-EXECUTION-*`
does not exist, and neither does `docs/binding/`:

  .machine_readable/rsr-profile.a2ml:37  "see docs/binding/04-EXECUTION-PLAN.md, ruling R-B"
  docs/AFFIRMATION.adoc:54               link:../binding/04-EXECUTION-PLAN.md[...]
  scripts/check-canon-lockstep.sh:98     "# See docs/binding/04-EXECUTION-PLAN.md."

These were references to a plan that existed only in conversation. A document
that cites a non-existent authority is worse than one that cites none: it reads
as though the argument has been made somewhere. Repointed at what actually
exists and actually says it:

  * the dialect note -> docs/AUDIT.adoc finding F3, which records that the law is
    authored in a superseded dialect while DEED is itself an unratified DRAFT
  * the ordering rule -> canon.lock [canon.lockstep], which is where
    "spine-adopts-then-canon-releases" is actually stated
  * AFFIRMATION's "We intend" list -> docs/AUDIT.adoc, which enumerates the
    release conditions those actions serve

A scan of every cross-reference in every .adoc and .a2ml this PR touches now
resolves; earlier it did not.

NO LOCK BUMP REQUIRED

`.machine_readable/rsr-profile.a2ml` is not named in canon.lock [canon.artifacts]
(criteria, gates, applicability, lifecycle, constitution), so a comment edit in it
is not a canon change and Gate A assertion 2 stays satisfied.

GATES AFTER

  Gate A, --canon standards  -> passed 8  failed 0  skipped 2  GATE A PASSED
  Gate A, --canon .          -> passed 8  failed 0  skipped 2  GATE A PASSED
  check-rsr-profile.sh .     -> OK — scaffold matches declared capabilities
  check-standards-map.sh     -> GATE D PASSED, entry_count = 120

(cherry picked from commit 236fcb8)
@coderabbitai

coderabbitai Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: e5ff97af-25cf-4db1-b466-50c7086204a2

📥 Commits

Reviewing files that changed from the base of the PR and between 41a6d7b and ff1a077.

📒 Files selected for processing (3)
  • .machine_readable/rsr-profile.a2ml
  • docs/AFFIRMATION.adoc
  • scripts/check-canon-lockstep.sh

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath enabled auto-merge (squash) September 17, 2026 17:59
@hyperpolymath
hyperpolymath merged commit 33ec4a7 into main Sep 17, 2026
28 of 33 checks passed
@hyperpolymath
hyperpolymath deleted the fix/dangling-refs branch September 17, 2026 18:08
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