GeezerVison is showing github.com — fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) by developing-today[bot] · Pull Request #7038 · developing-today/code
Conversation
developing-today
Bot
commented
Nov 8, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes #6887
Task 11282 (repo-health-code-pilot). Resumed at implementation_complete: implementation and fixture test committed and pushed by prior lane (commit 032f73c); PR creation was blocked by transient GitHub secondary rate limit on the user token, so this PR is created under the developing.today GitHub App identity per the standing rate-limit fallback.
Changes (.github/scripts/check-id-source-snapshot.sh + fixture test):
- snapshot canonicalizes the repo root before any cd; relative and absolute roots produce byte-identical manifests
- snapshot and verify refuse empty manifests with a guard-context error
- a tracked file missing from the worktree fails snapshot naming the file, leaving no partial manifest
- absolute-root CI call shape unchanged
Tests (prior checkpoint, laptop):
- bash .github/scripts/check-id-source-snapshot.test.sh — pass
- bash -n on both scripts — pass
- shellcheck -S warning on both scripts — pass
- check-workflows.test.sh blocked locally: actionlint unavailable (CI will cover)
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 8, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
Review skipped
Bot user detected.
To trigger a single review, invoke the @coderabbitai review command.
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
9157281a-01d9-4689-b77d-299eb44f8fae
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:
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 8, 2026
|
agent-note:v1
event: handed_off
task: 13337 (pr_shepherd, repo-health-code-pilot; worker repo-worker-code; lane code-q)
by: repo-worker-code lane code-q
at: 2026-11-08T17:00Z
Picked up task 13337 (PR #7038, issue #7297). Execution lane assigned opencode — handing off to the laptop claimant, which launches the bound opencode session; this lane did not work the item itself. Fresh revalidation: issue #7297 open; PR #7038 open, draft=False, head 032f73c, branch queue/11282-6887-source-snapshot-empty-manifest, mergeable=None (unknown); no held / user/owned / do-not-merge / do-not-auto-edit hard-stop labels. Expectation: claimant launches the bound session and drives task 13337 to a terminal state; if not launched before lease expiry, the task returns to the queue. Parked 1200s per handoff practice.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · handed off
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1 lane code-o picked up task 13337 (pr_shepherd, PR #7038) 2026-11-08; revalidated OPEN, no hard-stop labels; execution lane assigned opencode per runbook 1b - handing off to opencode claimant, parking 1200s.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1
event: handed_off
task: 13337 (pr_shepherd, repo-health-code-pilot; worker repo-worker-code; lane code-m)
by: queue worker lane code-m
at: 2026-11-08T21:18:36Z
Picked up by lane code-m; fleet queue lane verdict: opencode. Handing off to the laptop opencode claimant (bound session) and parking task 13337 for 1200s pending claimant launch. This lane did no work on PR #7038.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · picked up — task 13337
This PR is being shepherded by the OpenChamber scheduled lane 262eb403-3347-4a7c-ba6b-e7bc263ca853 (worker repo-worker-code, attempt 1/4). Fresh state: OPEN, non-draft, bot-authored, no hard-stop labels; currently mergeable_state=dirty and basic checks are pending. No duplicate/superseding PR found for issue #6887. The parent batch's user/escalated label remains untouched; the batch note routes this specific PR for shepherd disposition.
Next: inspect the existing branch, resolve the base conflict if safe, then run targeted verification and follow the five-minute CI rule.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · rebased onto current main; awaiting CI
- Agent: queue worker (
repo-worker-code), OpenChamber scheduled lane 262eb403-3347-4a7c-ba6b-e7bc263ca853
- Task: 13337 · PR fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038
- Update: merged current main into the existing PR branch (no force-push); resolved the sole workflow conflict by keeping all path-filter entries. New head:
a8175c1b352bbaaed5cfd7d56b380e29e0908a10. Fresh PR state: OPEN, non-draft, MERGEABLE; no PR hard-stop labels.
- Verification:
bash .github/scripts/check-id-source-snapshot.test.sh passed locally; diff vs current main remains exactly the 3 intended files (+138/-4).
- CI: six basic checks are still queued and zero have failed. I will observe for at most five minutes; if still pending, park task 13337 for 20 minutes and end this launch.
- Parent batch: Unowned PR batch from branch disposition (2026-11-07) #7297's batch-level labels remain unchanged.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · parked — CI pending
- Agent: queue worker (
repo-worker-code), OpenChamber scheduled lane 262eb403-3347-4a7c-ba6b-e7bc263ca853
- Task: 13337 · PR fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038
- Queue state: parked for 20 minutes; resume after checks start/complete. Target PR labels now reflect
queue/parked + status/parked; work/assigned stays.
- Head:
a8175c1b352bbaaed5cfd7d56b380e29e0908a10 on queue/11282-6887-source-snapshot-empty-manifest (fast-forward push after merge of current main; no force push).
- Verification: source-snapshot contract tests pass locally; diff vs current main is the intended 3 files (+138/-4); PR was OPEN/non-draft/MERGEABLE on fresh read.
- CI: six basic checks were still QUEUED after a four-minute observation window; no failures. The GitHub wait wrapper hit API rate limiting, so the checks were re-read via REST. No merge was attempted.
- Next: revalidate PR/head and checks fresh after resume; merge only if required checks are green and batch disposition remains permitted.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · state: handed off
- Agent: queue worker (repo-worker-code), lane code-d
- Session / ID: task 13337
- Found via: queue claim
- Task: Shepherd PR fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038 (branch queue/11282-6887-source-snapshot-empty-manifest), batch issue Unowned PR batch from branch disposition (2026-11-07) #7297 part 1. Verified fresh: PR fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038 OPEN, not draft, no hard-stop labels (no held, user/owned, do-not-merge, do-not-auto-edit).
- Expectation: execution lane is opencode per runbook 1b; the opencode claimant launches the bound session. Parked 1200s for claimant binding; this lane does not shepherd PR fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038 directly.
- Links: PR fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038; batch issue Unowned PR batch from branch disposition (2026-11-07) #7297
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1
lane: code-u
task: 13337
stage: handed_off
Handed off to opencode claimant (lane assignment row 4939) for PR #7038 shepherding under batch issue #7297. Parked 1200s for claimant binding.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1
- task: 13337 (queue repo-health-code-pilot), lane code-j
- stage: handed_off
- PR fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038 revalidated fresh 2026-11-08T23:08Z: OPEN, not draft, branch queue/11282-6887-source-snapshot-empty-manifest, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit absent). Batch issue Unowned PR batch from branch disposition (2026-11-07) #7297 part 1.
- Execution lane assigned: opencode (fleet queue lane, §1b). Handed off to the laptop opencode claimant, which launches the bound session for task 13337.
- Next: claimant session rebases/verifies PR fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038 against current main, dispositions Codex findings, and drives it to merge or a reasoned close.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1
task 13337 (pr_shepherd, lane code-v) — handed off to opencode claimant.
PR #7038 revalidated fresh this shift: OPEN, not draft, no held/user/owned/do-not-merge/do-not-auto-edit labels, head a8175c1 (the prior merge-resolution commit is pushed). Prior checkpoint: conflict in .github/workflows/id-check.yml resolved, check-id-source-snapshot test passes, diff vs main = 3 intended files. Execution lane assigned: opencode; claimant launches the bound session to finish (merge/close disposition). This worker did not work the PR directly per the lane-assignment protocol.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1
- task: 13337 (queue repo-health-code-pilot), lane code-h
- stage: handed_off
- PR fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038 revalidated fresh 2026-11-08T23:47Z: OPEN, not draft, mergeable, branch queue/11282-6887-source-snapshot-empty-manifest, head a8175c1, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit absent on PR fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038). Checks: 6 basic checks queued, CodeRabbit skipped, no failures. Batch issue Unowned PR batch from branch disposition (2026-11-07) #7297 part 1.
- Execution lane assigned: opencode (fleet queue lane, §1b, row 4939). Handed off to the laptop opencode claimant, which launches the bound session for task 13337.
- Prior progress preserved: merge conflict in .github/workflows/id-check.yml resolved, check-id-source-snapshot test passes, diff vs main = 3 intended files (+138/-4).
- Next: claimant session drives PR fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038 to merge (after checks green + Codex disposition) or a reasoned close. Parked 1200s for claimant binding.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…ce-snapshot-empty-manifest
|
agent-note:v1
- task: 13337 (pr_shepherd; worker repo-worker-code)
- state: awaiting_ci
- PR fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038 head updated to cc367a8 by merging current main (5c1a6b2); no force push.
- Diff against current main remains the intended three files (+138/-4). The exact-head contract test, bash -n, and shellcheck pass.
- Fresh review read: no Codex/Copilot findings or inline threads; CodeRabbit skipped the bot-authored PR.
- Six PR checks are pending on the new head. No merge until the checks finish green; fresh hard-stop-label check will precede merge.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · handed off
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · handed off
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…ce-snapshot-empty-manifest
|
🤖 Agent note · handed off
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · handed off
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · merged
- Task: 13337 (pr_shepherd, worker repo-worker-code) · batch issue Unowned PR batch from branch disposition (2026-11-07) #7297 part 1
- Disposition: merged as merge commit
b5397e36e7f924c97d7723c67a2970ecc523e57f at 2026-11-09T03:44:13Z (head 48b270b59838c87140ffa900780c6e0c0daae540, 3 files, +138/-4). No branch was deleted by hand. Issue ci(id-source-snapshot): a relative repo root silently records a 0-file manifest — and verify 'verifies' an empty tree against it #6887 auto-closed.
- Hard-stop labels: re-checked fresh immediately before merge —
held, user/owned, do-not-merge, do-not-auto-edit all absent. Resume labels status/parked + queue/parked were removed in the same pass.
- Duplicate/supersede check: fix(ci): id source-snapshot guard — canonicalize root, refuse empty manifests (#6887) #7038 is the only PR referencing ci(id-source-snapshot): a relative repo root silently records a 0-file manifest — and verify 'verifies' an empty tree against it #6887 (
gh pr list --search 6887); the issue was OPEN and no other artifact carries this fix, so there was nothing to close it in favour of. Pairwise duplicate disposition not applicable (no sibling in the packet).
- Codex/Copilot findings: none to disposition —
reviews is empty, reviewDecision empty, zero unresolved review threads; CodeRabbit skipped the bot-authored PR.
Why the merge was not gated on GitHub Actions (coverage gap, reported not assumed)
All four PR-tier runs for this head have been stuck queued since 2026-11-09T00:40Z (scripts-test 42541430162, proxy port fallbacks 42541430232, fleet-search-parity-guard 42541430180, workflow-lint 42541430286). Repo-wide Actions is wedged, not PR-specific: a scripts-test job has been in_progress since 2026-11-08T04:39Z (~23h), and 24 runs were queued at merge time. main has no required status checks (branch protection: no required_status_checks), and the only basic-tier check that touches this diff (workflow lint) already fails on origin/main itself:
.github/workflows/mcpx-test.yml:109:31: property "init" is not defined in object type {} [expression]
.github/workflows/mcpx-test.yml:145:30: undefined variable "pull_request" [...]
mcpx-test.yml is identical on this branch and on origin/main (git diff origin/main -- .github/workflows/mcpx-test.yml is empty), so that gate is pre-existing red and not a signal about this PR. It is a separate follow-up, outside this task's scope.
Verified locally on the exact post-merge tree
Simulated the merge locally (origin/main c994bdb + 48b270b598, no conflicts) and ran, on that merged tree:
bash .github/scripts/check-id-source-snapshot.test.sh — pass (relative vs absolute root byte-identical, empty-manifest refusal in both snapshot branches, empty-manifest refusal in verify, missing tracked file named, no partial manifest, control case unchanged, genuine content drift still fails naming the file)
bash -n on both scripts — pass
shellcheck -S warning on both scripts — pass
.github/scripts/check-workflows.test.sh (workflow-lint contract tests) — pass
.github/scripts/check-workflows.sh (whole workflow set) — only the two pre-existing mcpx-test.yml lines above; nothing in .github/workflows/id-check.yml
Not verified by CI: the four queued runs for this head never executed. They may still fire against a merged PR, or be superseded; either way they no longer gate anything. The new Test source-snapshot guard behavior step added to the id workflow guard job is covered by the local run above.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
dezren39
Awaiting requested review from dezren39
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|