Repository navigation
fix(skeleton): emit PLAYBOOK.deed, never .a2ml - #704
Conversation
The emitted Justfile read and wrote .machine_readable/STATE.a2ml in info, state-touch and state-phase. A2ML is retired, so remove those recipes and the two 'just state-touch' calls that depended on them.
robot-repo-automaton's skeleton generated seven .a2ml descriptile files in every repo it scaffolded. A2ML is retired estate-wide, so drop all seven templates and emit .machine_readable/descriptiles/PLAYBOOK.deed (empty sections, per the A7 ruling) instead. The other six families' facts are clauses of <repo>_chora.deed, written when a repo is minted. Tests now assert that no .a2ml is emitted or named by any emitted file, and that each emitted deed lints (real deed_lint.js when DEED_LINT is set).
|
Two CI jobs are red on this PR (head b4f2b89). Neither failure is in code this PR changes:
Generated by Claude Code |
|
Coding Agent task started: View task and status The task will inspect the CI failures, validate its fix, and commit the fix to this branch automatically.
|
…mat its skeleton test, and bump gsbot's URL dependencies <!-- coderabbit-ai-generated:v1 -->
…eck, format its skeleton test, and bump gsbot's URL dependencies" This reverts commit 2f0cae4. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZpDuSqCp278XsDKftq
|
Reverted CodeRabbit's autofix commit 2f0cae4 (revert 7791d7b) to keep this PR single-purpose; #705 and #706 carry those fixes (the Generated by Claude Code |
…eton PR Collapse the protected-directory guard in confidence.rs to its boolean, rustfmt the skeleton test, and bump url 2.5.8 -> 2.5.9 (and idna's companion lock entry) in bots/gsbot/Cargo.lock.
hypatia-scan.yml already uses f2c0604 (Dependabot #699) but the pinned-source manifest and the closure receipts still named 29a9e4a, so the closure audit failed. credential-read-check.yml is byte-identical at both commits (blob 15c597e, sha256 645e8ac8...), so only the commit sha changes. The audit passes with --fetch-sources: findings=0 not-run=0.
527b255 to
188ac00
Compare
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
…+ url 2.5.9 (carries #705 and #706 fixes) (#707) ## Why `main` fails three required checks and each fix sat in a different PR, so none could merge. This PR carries all three fixes (owner chose "Fold into #707"). | Fix | Commit | Origin | |---|---|---| | Pinned source closure: re-attest hypatia `credential-read-check.yml` at f2c06048 | 6e64d5a | this PR | | robot-repo-automaton clippy `needless_bool` in `confidence.rs` | 76a2155 | cherry-pick -x from #705 (6ddc6dc) | | GSBot audit: `url` 2.5.9 (RUSTSEC-2026-0592), `bots/gsbot/Cargo.lock` only | 7388520 | cherry-pick -x from #706 (6bfdde7) | Original authorship kept on the cherry-picks. The departures commit from #706 is **not** included; #706 keeps it. ## Closure fix (details) #699 bumped `hypatia-scan.yml` job `scanner-credential` to `hyperpolymath/hypatia/.github/workflows/credential-read-check.yml@f2c06048…` without updating `scripts/lib/pinned-reusable-sources.json`. **Pin only:** the file's blob is `15c597ea720a5affb861dab058084f7245ee4cbd` at both 29a9e4a8 and f2c06048, so the nested `uses:` closure is unchanged. No generator exists; same approach as #698 (manifest binding + receipts row). ## Local evidence - `audit-pinned-reusable-sources.sh --fetch-sources`: findings=0 verified-roots=6 (was 1 finding) - `audit-lock-closure.sh`: fatal=0; pinned-reusable-sources-test 55/0; lock-closure-test 47/0 - `cargo clippy --locked -- -D warnings` in robot-repo-automaton: clean - pinned-source-entrypoints-test: 7 pass, 2 fail locally (historical-source cache that CI fetches, as in #698) ## After merge Owner: close #705 (superseded); update #706's branch from main so it shrinks to the departures ledger. #704 untouched. #706 and #705 are unchanged by this PR. --- _Generated by [Claude Code](https://claude.ai/code)_ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Refactor** * Streamlined protected-file checks without changing which files are protected. * **Chores** * Updated a pinned reusable source reference; its path and other recorded metadata remain unchanged. * **Tests** * Added coverage for confidence classification of protected paths and for detecting stale references after a source is repinned. * No user-facing behavior changes are included in this update. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: CLAUDE <355856132+HoTT-stuff@users.noreply.github.com>
|
…ve departures (#706) ## Summary Owner ruling by selector, 22 Nov: "patch url, record the rest". Two commits, each in its own change. 1. **`fix(gsbot): update url to 2.5.9`**: clears RUSTSEC-2026-0592 (`url` <= 2.5.8, `Url::origin()` recursion on `blob:` URLs). Only `bots/gsbot/Cargo.lock` changes: `url` 2.5.8 to 2.5.9, and `form_urlencoded` 1.2.2 to 1.2.3 with it. Done with `cargo update -p url --precise 2.5.9`, because plain `cargo update -p url` locked nothing here (stale index). 2. **`chore(departures)`**: adds `.machine_readable/departures.jsonl` (the ledger path in `DEPARTURES.adoc` section 5) with two `blocked` rows, one defect per row, each with a `grep-present` check that the package is still in `bots/gsbot/Cargo.lock`: - `gsbot-rustsec-2026-0543-chrono`: chrono 0.4.44 unmaintained, no safe upgrade. - `gsbot-rustsec-2024-0388-derivative`: derivative 2.2.0 unmaintained, no safe upgrade, pulled in by poise 0.6.2. - Both: "upstream serenity/poise/sqlx still depend; replace with jiff/time when they move". ## The GSBot audit and the two unmaintained advisories No `deny.toml` ignore entries are added (`deny.toml` still ignores nothing). `.github/workflows/rust.yml` runs `cargo deny … check advisories --warn unmaintained`, and RUSTSEC-2026-0543 (`chrono`) and RUSTSEC-2024-0388 (`derivative`) are both "unmaintained" advisories, so they only warn and do not fail the job. The `url` patch clears the one advisory that does fail it. The departure rows stay because the debt is real; a row records a defect, it is not a waiver of the gate. ## Test results - `cargo build --locked` in `bots/gsbot`: OK. `cargo test --locked`: all pass. - `departures.sh validate`: 2 rows valid. `departures.sh check` at this commit: 2 present, 0 RESOLVED, 0 unevaluated. - Not run locally: `cargo deny` (not installed here); the audit result comes from this PR's CI. ## Notes - This adds the ledger file only. It does not copy `departures.sh` / `issue-evidence.sh` into `scripts/` (adoption step 1) or wire `check` into a gate (step 3). Say if the owner wants those added. - Independent of #705 (the clippy fix) and #704. --- _Generated by [Claude Code](https://claude.ai/code)_ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Chores** * Recorded two dependency advisories for unmaintained libraries; no safe upgrades are currently available. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude <noreply@anthropic.com>
… single pin writer (#716) ## Why Owner ruling "single pin writer" (relayed by the hub, 26 Nov): Dependabot's `github-actions` ecosystem is retired in favour of the standards Action pins applier (`metadatastician/standards` `.github/workflows/action-pins-applier.yml`, #1688), which writes third-party `uses:` pins and `actions.lock` together, one PR per repo. Dependabot bumps bypass this repo's pinned-reusable-sources ledger (#699 turned main red until #707). ## What - Remove only the `package-ecosystem: "github-actions"` entry from `.github/dependabot.yml`; add a comment pointing to the applier. The `cargo` entry is unchanged. - The `github/codeql-action` hold that sat in that entry's `ignore` list is already carried in standards `config/settings/actions-bump-holds.txt` (verified), so it is not lost. - No workflow, `actions.lock`, SPDX or closure-file change. Independent of #707, #704, #706. ## Closure gap: does the applier keep `Pinned source closure` green? **The gap remains.** Read-only check of standards `main` (`action-pins-applier.yml`, `scripts/bump-action-pins.sh`, `scripts/regen-dependabot-locks.sh`, `scripts/apply-workflow-pins-remote.sh`): - None of them mention `scripts/lib/pinned-reusable-sources.json` or `scripts/lib/lock-closure-receipts.tsv`. - The bump path refuses any changed path outside `.github/workflows` and `.github/actions` (`bump-unexpected-path`), so the applier cannot update this repo's closure files even if it tried. - `bump-action-pins.sh` skips first-party owners (hyperpolymath, metadatastician, catachresis-colloquium). The hypatia `credential-read-check.yml` pin that broke #699 is first-party, so the bump will not move it; standards reusable pins move through `apply-workflow-pins` instead. - Consequence: when the applier or `apply-workflow-pins` re-points a pin that the manifest binds (a standards reusable-workflow caller), the manifest/receipts keep the old commit and `audit-pinned-reusable-sources.sh` fails with `SOURCE-ACTIVE-MISSING`, exactly as in #699. A third-party-only bump should not change the manifest's roots, but I did not simulate one. - Not fixed here and not touched in standards; the hub will put the fix location to the owner. ## Applier App installed on gitbot-fleet? **Yes, per the hub's evidence (not independently verified by me).** Applier run 45810700214 (26 Nov, 11:27Z) minted installation tokens for hyperpolymath, metadatastician and catachresis-colloquium ("for all repositories owned by ..."), named no owner it did not examine, and swept #708. My own lookup (`GET .../installation`) returned 401 because it needs an App JWT. ## Departures row The "Dependabot bypasses the ledger" bypass is closed by this PR, but the closure-file gap above remains, so the row should be reworded to that gap (text sent to the hub). `.machine_readable/departures.jsonl` is not on main (#706 unmerged), so no row is added here. --- _Generated by [Claude Code](https://claude.ai/code)_ Co-authored-by: Claude <noreply@anthropic.com>



Summary
robot-repo-automaton's skeleton generated seven.a2mldescriptile files in every repo it scaffolded. A2ML is retired estate-wide (D99, D312, D313), so all seven templates are removed..machine_readable/descriptiles/PLAYBOOK.deed(empty sections, per the A7 ruling). It passesdeed_lint.jsfrom standards, plain and--strict.<repo>_chora.deed, which carries a per-repo minted identity.Justfilealso read and wroteSTATE.a2ml(info,state-touch,state-phase). The new test caught this. Those recipes and the twojust state-touchcalls are removed, in their own commit.Other legacy
.a2mlfiles: none deletedgitbot-fleet has no
*_chora.deed(and no descriptile deed), so no target deed exists and conditions (a) and (b) cannot hold for any file. Hundreds of files also still referencea2ml(condition (c)). All 35 remaining.a2mlfiles are kept. There is noa2ml-legacy-allow.txthere.Kept:
bots/rhodibot/canon/rsr-criteria-v2.a2ml,bots/echidnabot/tests/fixtures/manifest/{ephapax,valence-shell}.a2ml,0-AI-MANIFEST.a2ml,audits/assail-classifications.a2ml,contractiles/{intend/Intentfile,must/Mustfile,trust/Trustfile}.a2ml,.machine_readable/{CLADE,CICD-PATTERNS,SESSION-2026-05-26-148,SESSION-2026-05-26-cicd}.a2ml,.machine_readable/descriptiles/*.a2ml(7),.machine_readable/integrations/*.a2ml(4),.machine_readable/bot_directives/*.a2ml(3),.machine_readable/contractiles/{dust,bust,trust}/*file.a2ml(3),robot-repo-automaton/.machine_readable/6a2/*.a2ml(6).Test results
cargo build --release: OK.skeleton_emits_no_a2mlandemitted_deeds_lint(run withDEED_LINTpointing at standards'deed_lint.js).fixer::tests::test_atomic_replace_failure_preserves_original_bytes(assertion failed: result.is_err()). It also fails on cleanorigin/mainwhen run as root (uid 0), checked in a worktree oforigin/main. It is pre-existing, unrelated to this change, and was not skipped or altered.Notes
rsr-template-repo's drift check (skeleton check) will report the removed.a2mlfiles as drift until it re-syncs.Generated by Claude Code
Summary by CodeRabbit