You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(ci): turn main green: hypatia pin closure + clippy needless_bool + url 2.5.9 (carries #705 and #706 fixes) - #707
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
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).
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.
Reviewing files that changed from the base of the PR and between 752c785 and 4dfc3d4.
Files ignored due to path filters: 2
bots/gsbot/Cargo.lock is excluded by !**/*.lock
scripts/lib/lock-closure-receipts.tsv is excluded by !**/*.tsv
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
No actionable comments were generated in the recent review.
Walkthrough
The pull request simplifies the protected-file boolean return and updates the pinned commit for hyperpolymath/hypatia. It adds tests for protected-path classification and for repinning source metadata.
The recorded commit for hyperpolymath/hypatia changes to f2c0604880f615bec5edda7aaefc8feac3d04cc5. Tests check updated pins and verify that stale receipt or catalog references produce the expected rules.
Path filters excluded changed files. This rating applies only to the assessed changes.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names three changes: a hypatia pin closure, a clippy needless_bool fix, and a url 2.5.9 bump. The changeset includes the confidence.rs needless_bool fix and the hypatia pin update in pinned-…
Linked Issues check
The only linked issue is #705. Its state is closed and completed, and it is marked as historical context only. No active directly linked target remains, so no linked-issue coding requirements apply. T…
Out of Scope Changes check
Each changed file maps to a stated objective of the PR. (1) scripts/lib/pinned-reusable-sources.json: the hyperpolymath/hypatia pin changes from 29a9e4a8 to f2c06048. This is the pinned source clo…
Full details: Title check
Explanation
The title names three changes: a hypatia pin closure, a clippy needless_bool fix, and a url 2.5.9 bump. The changeset includes the confidence.rs needless_bool fix and the hypatia pin update in pinned-reusable-sources.json. The objectives also describe the url 2.5.9 update in bots/gsbot/Cargo.lock. The title is specific and matches the changes, though it is long and lists several items.
Full details: Linked Issues check
Explanation
The only linked issue is #705. Its state is closed and completed, and it is marked as historical context only. No active directly linked target remains, so no linked-issue coding requirements apply. The PR objectives and the PR description also state this. Issue #705 requested a change to confidence.rs (return the any() result directly). That change is present in the reviewed summary (is_protected_file returns the protected-directory match directly, with unchanged matching logic, +1/-5). This is noted as supporting context only and is not a requirement.
Full details: Out of Scope Changes check
Explanation
Each changed file maps to a stated objective of the PR. (1) scripts/lib/pinned-reusable-sources.json: the hyperpolymath/hypatia pin changes from 29a9e4a8 to f2c06048. This is the pinned source closure re-attestation. (2) robot-repo-automaton/src/confidence.rs: the needless_bool Clippy fix carried from #705. (3) robot-repo-automaton/tests/confidence_tests.rs: regression tests for the protected-directory confidence behavior in the same area as the confidence.rs change. The PR objectives cite these commit messages as test follow-up. (4) scripts/tests/pinned-reusable-sources-test.sh: fixtures and checks for the repinning behavior that the pin change requires. The url 2.5.9 update in bots/gsbot/Cargo.lock is part of the stated GSBot audit fix, per the PR description. The file-level summaries do not show unrelated changes. The summaries were used as evidence; the full diff was not read, so the Cargo.lock change was not checked line by line.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
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.
Reviewing files that changed from the base of the PR and between 7388520 and 752c785.
Files selected for processing: 2
robot-repo-automaton/tests/confidence_tests.rs
scripts/tests/pinned-reusable-sources-test.sh
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
…ed Pinned source closure)
Dependabot #699 moved the scanner-credential pin to f2c06048 without
updating the source manifest or receipts. Blob 15c597e is identical at both
commits, so only the commit binding changes; nested uses are unchanged.
Return the any() result directly instead of an if guard that returns a
bool literal followed by a literal false. Behaviour is unchanged; newer
stable clippy rejects the old form under -D warnings.
(cherry picked from commit 6ddc6dc)
url <= 2.5.8 recurses in Url::origin() on blob: URLs. Lock url to 2.5.9
with 'cargo update -p url --precise 2.5.9'; form_urlencoded moves from
1.2.2 to 1.2.3 with it. Only bots/gsbot/Cargo.lock changes. gsbot builds
and its tests pass with --locked.
(cherry picked from commit 6bfdde7)
Takeover (idle since 2026-11-25T23:47Z, hub-permitted). Owner-confirmed by selector: sign and force-with-lease this branch only.
Rebased onto f1b14e2 with identical trees (diff vs 752c785 is empty); the five commits above it are now SSH-signed (SR-011). 752c785 was re-created because it sits on top of the four unsigned commits.
… 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
Stacks on #707 (its signed fmt commit `752c785` is this branch's parent;
merge #707 first).
Calls the estate's proven `rust-ci.yml` reusable
(`hyperpolymath/proven-cicd-and-workflows@50a443f01b1b85e4957b893a6f1a0ed2e8a52459`)
once per crate, from a new reusables-only workflow
`.github/workflows/rust-proven.yml` (lock entry `[]`, like
`secret-scanner.yml`; Scorecard's action-lock reconciliation rejects a
file mixing step pins with a job-level remote reusable):
robot-repo-automaton, shared-context, dashboard (`doctests: false`,
binary-only), bots/rhodibot, bots/panicbot, bots/ponsbot,
idris-dependents.
- The local `CI/gate` job in `rust.yml` is kept unchanged (matrix,
dispatch contracts, GSBot); the rust-ci verdicts are required directly
instead.
- The old `build · test · clippy (…)` matrix stays until required checks
are swapped; a follow-up removes it.
- rustdoc fixes so `cargo doc -D warnings` passes (URL tables fenced as
`text`, broken intra-doc links / bare generics made code spans).
- Lockfile-only `Cargo.lock` updates so cargo-deny (advisories, bans,
sources) is clean in all 7 crates.
- Pinned-source closure: new source entry + dependency records in
`scripts/lib/pinned-reusable-sources.json`, and 5 reviewed rows in
`scripts/lib/lock-closure-receipts.tsv`.
- The secret-scanner historical-projection fixture now strips only the
`1fd5e63` scanner receipts it replaces (it removed every proven-cicd
row, including the new rust-ci ones); its `SHA256SUMS` line is
refreshed.
`e2e.yml` is unchanged: no proven reusable exists yet for E2E tests or
pinned-source closure (to be built in the proven repo).
## Local verification
- All 7 crates: check, clippy, fmt, test, doc (+ doctest) pass with `-D
warnings` (one test fails locally only because the container runs as
root).
- `cargo deny check advisories bans sources`: clean on all 7.
- `audit-pinned-reusable-sources.sh --fetch-sources`: findings=0 (live
and historical-projection trees); `audit-lock-closure.sh`: fatal=0,
review=0; `pinned-source-entrypoints-test.sh` 9/9; migration preflight
exit 0.
- Not verified locally: CI's `gh actions-lock` regeneration step.
## Owner steps (required checks on `main`)
1. Merge #707.
2. Add the new contexts once green: `rust-ci (<crate>) / Rust CI
verdict` for each of the 7 crates.
3. Later, remove `build · test · clippy
(robot-repo-automaton|shared-context|dashboard)` and approve the
follow-up PR that deletes the matrix.
---
_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
* **New Features**
* Added automated Rust validation for multiple project components on
pushes, pull requests, and manual runs.
* **Bug Fixes**
* Updated a migration fixture so it preserves receipts associated with
other commits.
* **Documentation**
* Clarified several Rust documentation examples and references.
<!-- 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>
## Why
E0-12 requires one stable producer identity for each actual dispatch
attempt. The current runner executes a fix without the ruled start
record, then writes outcomes without an event ID. This prevents reliable
distinction between separate identical attempts and copies/replays of
one attempt.
## What changes
- Call the existing canonical `mix hypatia.event_id` once before either
executable fix path; validate its documented final output line and
reject nonzero generator exits.
- Append the exact six-field canonical start to
`shared-context/learning/fix-attempts.jsonl` before execution.
- Preserve the producer ID and identical serialized outcome bytes across
the existing primary/central destinations.
- Refuse identity, encoding and required write failures; propagate these
failures from parallel children to the parent.
- Expand the disposable runner harness and add two cross-repository
witnesses using actual producer emissions.
- Record the bounded evidence and a **PROPOSED** route/observation
decision packet.
Production exit 78, the licence refusal branch, outcome qualification
and current destinations/callbacks are unchanged. Policy refusals do not
become fix attempts.
## Evidence
Fleet base: `f1b14e2a352491ff7972f0dfd592bfbb28d2f32c`.
Hypatia generator/importer: `d158aed87f76b93e4f291e995bef9f26559c7fb2`.
Canonical runtime: Elixir 1.19.4 / OTP 27.3.4.19.
- Failing-before controls reproduced missing producer identity,
execution without a start, and a parallel infrastructure failure
incorrectly returning zero.
- Outcome suite: **63 checks pass**, also invoking **112 whole-runner
checks**.
- Canonical Mix generator: **112 whole-runner checks pass**.
- Quarantine: seven blocked entrypoints and the
no-publication/state-mutation assertion pass.
- Direct-call smoke: **5 checks pass**.
- Bash parsing and whitespace checks pass; ShellCheck was unavailable
locally.
- Actual emitted-row importer witness: **3 checks pass**, including
distinct attempt IDs, exact mirrors, start exclusion, persisted replay
deduplication and no implicit qualification of raw monthly rows.
- Existing Hypatia importer/event-ID regression suite: **56 tests, 0
failures**.
- Independent source/document review found and resolved the parallel
failure propagation issue and confirmed the final bounded patch.
Exact commands, limitations and witness reproduction are in
`docs/operations/NS-02-producer-identity.adoc` and the companion
decision packet.
## Unresolved integration boundary — deliberately visible
**The route counterexample exits 1.** One actual emitted failed attempt
becomes **two qualified failures with two receipts** if its current
direct Mix recording is followed by explicit fleet import. The
`bot=hypatia` echo alone is skipped; the duplicate comes from admitting
the independent direct record and the producer record.
This falsifies naïvely forwarding the current monthly outcome into E0-11
while retaining independent direct recording. It does **not**
demonstrate automatic delivery, and the artificial dual-call diagnostic
is not a universal acceptance test for a future exclusive-ingress
design.
E0-12's stop condition requires a design for multiple outcome rows from
one attempt. The May dispatch contract simultaneously requires `mix
hypatia.record_outcome`. The proposed resolution is the existing trusted
importer as the sole attempt admission path, with rescans as explicitly
correlated evidence and at most one effective qualified contribution per
attempt. Existing success, failure and qualified-false-positive
accounting must be preserved. At this historical producer revision, the
route had not yet been changed. The owner has since approved sole fleet
admission; the implementation is in the follow-on drafts linked below.
## Scope
This draft supports review of the producer identity contract. It does
not close E0-12/E0, remove quarantine, change public admission, deploy
anything, prove power-loss durability or exactly-once neural updates, or
qualify a higher Kautz type. The owner direction is now approved. Full
route closure remains subject to the follow-on integration and post-fix
attribution gates described below.
## Hosted CI checkpoint — 23 November 2026
[Dispatch path and outcome
contracts](https://github.com/hyperpolymath/gitbot-fleet/actions/runs/45150891982/job/137611681951)
passed. Wider CI remains blocked and incomplete.
[Pinned source
closure](https://github.com/hyperpolymath/gitbot-fleet/actions/runs/45150891940/job/137611681178)
failed with `SOURCE-ACTIVE-MISSING`: `scanner-credential` calls
Hypatia's reusable workflow at `f2c06048…`, but the active source
catalog and closure receipt still bind it to `29a9e4a8…`. The source
auditor's 55 fixture controls passed; actual source authentication did
not.
The dependent [E2E
job](https://github.com/hyperpolymath/gitbot-fleet/actions/runs/45150891940/job/137611995270)
stopped at its prerequisite guard before checkout or behavioral tests.
This is one source-closure blocker plus its propagation, not evidence of
a second behavioral regression.
Independent comparison confirmed that the workflow tree, auditor,
catalog and receipt are unchanged from this PR's base. The actual
patches in [existing maintenance PR
#707](https://github.com/hyperpolymath/gitbot-fleet/pull/707/files)
repair the two stale bindings. That lane owns the fix; it has not been
duplicated here. Its patch does not yet establish that subsequently
skipped checks will pass, and this PR remains draft. No gate was
weakened or rerun.
## Approved single-admission follow-on — 23 November 2026
Jonathan approved the existing trusted fleet importer as the sole
admission path, with rescans as correlated evidence. The reviewed
implementation is in [fleet
#710](#710), paired
with [Hypatia
#1227](hyperpolymath/hypatia#1227). This #709
head remains the bounded historical identity patch and counterexample;
its code, CI history and quarantine have not been rewritten.
The new paired witness exercises actual feed delivery without a copying
step, preserves four start/source/outcome/receipt identities and checks
all four receipts with Nickel. Current mutable-target scans remain
unbound and confer no positive credit or false-positive blame. The
matching consumer must precede producer activation. Both follow-ons
remain drafts; no activation or E0/Kautz sign-off is implied.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Operational Changes**
* Dispatch attempts now require a valid attempt identifier before
execution. Failures to create or record attempt details are reported as
dispatch errors.
* Outcome records can include the attempt identifier. A failed
central-store mirror is reported even when the primary record was saved.
* **Documentation**
* Added guidance on producer identity and a proposed outcome-routing
decision. The proposed route change is not implemented, and production
dispatch remains quarantined.
* **Tests**
* Expanded coverage for dispatch, event identity, outcome recording, and
import behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Claude <noreply@anthropic.com>
)
## Why
The old runner's monthly outcome copies did not reach Hypatia's fleet
import feed. Independently recording an attempt and then importing it
could create two qualified contributions. Jonathan approved sole fleet
admission with correlated rescan evidence on 23 November 2026.
This implements the producer half, stacked on #709. The matching
consumer is [Hypatia PR
#1227](hyperpolymath/hypatia#1227), commit
[4b4ba79](hyperpolymath/hypatia@4b4ba79);
deploy and configure that consumer before any producer activation.
## Change
- Emit `attempt_contract: fleet-attempt/1` and the normalized actual
`repo_relative_path`, retaining #709's canonical event generation and
six-field pre-execution start.
- Append the actual configured fleet feed first, then identical raw
transport mirrors under `dispatch/fleet-outcomes/`, outside the
canonical learning ledger.
- Make **zero** independent `mix hypatia.record_outcome` calls for
identified attempts. The separate policy-refusal callback retains its
legacy behavior.
- Coalesce physical destination aliases; reject start/outcome collisions
and known outcome/receipt-ledger pollution, including hardlinks.
- Propagate feed/mirror and parallel infrastructure failures. A mirror
failure retains the committed feed row without rerunning the fix or
minting a new ID.
- Preserve the production quarantine and licence gate. Mark #709's
earlier behavior/evidence as historical and record the approved contract
and pairing requirements.
## Validation
- Outcome controls **63 / 0**; actual-runner harness **189 / 0**.
- The same 189 assertions pass using the real canonical Mix event-ID
generator.
- Quarantine controls pass; refusal smoke **5 / 0**; Bash syntax and
whitespace checks pass.
- Independent producer source review found no blocker.
- New actual-delivery witness **1 / 0** on both the matching consumer
and its separately validated NS-01/NS-03 combination. The runner creates
the import feed itself, with no delivery-copy setup. Four
source/start/outcome/receipt IDs match; two failures qualify and two
unbound success assertions stay audit-only; replay does not rescan or
recount; all four receipts pass Nickel 1.11.0.
- Failing controls demonstrate the old producer's absent feed and the
old consumer's unjustified success credit.
The integration fixture uses a controlled fixer and scanner subprocess.
It tests the actual delivery and interpretation boundaries, not
production scanner effectiveness.
## Integration limits
Older E0-11 consumers ignore the new marker. Matching code versions and
physical fleet/repository/store roots are prerequisites; a producer
cannot verify an independently configured consumer's undisclosed roots.
Existing fleet CI jobs run shell contracts, not the paired consumer
witness. #709's inherited source-closure, RRA Clippy and GSBot
dependency issues are already owned by #707; this change does not
duplicate or suppress that lane. ShellCheck was unavailable locally.
This is a draft integration step. It does not activate dispatch, remove
quarantine, bind mutable post-fix state, implement revisions or
establish full E0/Kautz qualification.
Detailed evidence and commands:
[NS-02-single-admission.adoc](https://github.com/hyperpolymath/gitbot-fleet/blob/37ea58c5b577485de9dc1e2af46af1d09e7056e6/docs/operations/NS-02-single-admission.adoc).
---------
Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
mainfails 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").credential-read-check.ymlat f2c06048needless_boolinconfidence.rsurl2.5.9 (RUSTSEC-2026-0592),bots/gsbot/Cargo.lockonlyOriginal authorship kept on the cherry-picks. The departures commit from #706 is not included; #706 keeps it.
Closure fix (details)
#699 bumped
hypatia-scan.ymljobscanner-credentialtohyperpolymath/hypatia/.github/workflows/credential-read-check.yml@f2c06048…without updatingscripts/lib/pinned-reusable-sources.json. Pin only: the file's blob is15c597ea720a5affb861dab058084f7245ee4cbdat both 29a9e4a8 and f2c06048, so the nesteduses: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/0cargo clippy --locked -- -D warningsin robot-repo-automaton: cleanAfter 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
Summary by CodeRabbit