Skip to content

Document and harden validation, fix parsing and builds, and refresh automation - #83

Merged
hyperpolymath merged 7 commits into
mainfrom
coderabbit/document-pr80-changed-functions/3edf401a
Sep 15, 2026
Merged

hyperpolymath merged 7 commits into
mainfrom
coderabbit/document-pr80-changed-functions/3edf401a

Conversation

@coderabbitai

@coderabbitai coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Documents validate_a2ml while extending the dogfood gate and validator to handle DEED manifests safely. Also fixes signature-table parsing and its tests, removes broken Rust imports, updates action pins and Dependabot limits, removes redundant SonarQube CI, and adds Gemini agent guidance.

This materially exceeds the task title’s docstring-only scope because the branch includes several previously merged functional and maintenance changes.

Validation: git diff --check passed. Commit history records 128 workspace tests passing, plus clean Cargo check and clippy runs; these were not rerun while preparing this metadata.

View coding task

hyperpolymath and others added 5 commits September 15, 2026 04:18
The dogfood gate enforced a format that no longer exists. Two defects, and
fixing only the first would have been a fake cure.

1. .githooks/validate-a2ml.sh was frozen at a pre-DEED revision (13,737 b) with
   zero .deed references. Replaced with the canonical dual-accept body from
   deed-ecosystem/validate-action (17,544 b), which dispatches on the DEED
   s-expression head and keeps .a2ml passing as legacy. This repo's own
   SPDX-License-Identifier line is preserved.

2. The detect step that GATES that validator counted only *.a2ml:

       COUNT=$(find . -name '*.a2ml' ...)
     - name: Validate A2ML manifests
       if: steps.detect.outputs.count > 0

   So on a repo that had migrated to .deed, COUNT would be 0, the validate step
   would be SKIPPED, and the job would report green having validated nothing.
   The selector now admits both extensions -- the same shape the K9 job in this
   file already uses.

Edit 2 is behaviour-neutral today: this repo carries no .deed file, so COUNT is
unchanged. It is purely forward-correct.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0168Bgpez8mFBcAqYAj8VgEx
CodeRabbit raised three findings on the first commit. All three are correct.

1. The step summary reported the combined .a2ml+.deed count as ".a2ml file(s)",
   and the scorecard row was renamed to "DEED manifest" while its status still
   came from a find matching .a2ml too - so a repo holding only legacy manifests
   scored a green DEED row. That is a label asserting one thing while its check
   asks another, which is the exact defect class this branch exists to cure.
   Fixed by aligning the LABELS to the check rather than narrowing the check:
   narrowing to .deed only would red-score essentially every repo in the estate
   today (19,477 tracked .a2ml against 15 .deed), and this branch is
   behaviour-neutral by design.

2. Both find sites now pass -type f. A directory named *.deed is not a manifest.

3. The validator's structural-identity exemption no longer waives the schema
   version for .deed. DEED is the live, grammar-bearing format; legacy .a2ml
   keeps the exemption. Proved by control: two files in one machine-readable
   directory differing only by extension now get different verdicts.

Severity is unchanged (warning, and the gate invokes strict:false), so no repo
can turn red on this.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0168Bgpez8mFBcAqYAj8VgEx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Jonathan D.A. Jewell <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 15, 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: bd0e5bb3-d041-411e-a758-9c304a88fae4

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

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

A conflicting PR builds no `refs/pull/N/merge`, so GitHub runs ZERO
workflows against it and every required context reads ABSENT rather than
failing. With `strict_required_status_checks_policy: true` that gate can
never be satisfied, and the UI only offers a rebase it cannot perform.
Merging main in is what lets the checks run at all.

The single conflict was comment-only: both sides document `validate_a2ml`.
Kept THIS branch's version, because documenting that function is the whole
purpose of this PR — taking main's side would have deleted the deliverable.
Resolved by splicing out the markers rather than `checkout --ours`, so
main's other, cleanly-merged changes to the same file are preserved.

Verified:
  - negative control: `bash -n` demonstrably REJECTS the conflicted file,
    so the syntax check is a live oracle and not a vacuous pass
  - 0 conflict markers remain; `bash -n` passes on the resolved file
  - file mode restored to 100755, identical to main. The awk-rewrite had
    silently dropped it to 100644, which would have died in CI at exit 126
    while passing every local run.

Residual delta vs main is 1 file, +3/-1: main has already absorbed this
branch's other work.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WgqXnnNWBkiKMyUeLqzcuN
@hyperpolymath
hyperpolymath enabled auto-merge (squash) September 15, 2026 12:50
@hyperpolymath
hyperpolymath merged commit a045207 into main Sep 15, 2026
35 of 38 checks passed
@hyperpolymath
hyperpolymath deleted the coderabbit/document-pr80-changed-functions/3edf401a branch September 15, 2026 12:50
@sonarqubecloud

Copy link
Copy Markdown

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