Skip to content

ci: run prov check over prov's own workspace - #18

Merged
adammharris merged 1 commit into
mainfrom
agent/backlog-own-docs-fail-prov-check
Oct 22, 2026
Merged

adammharris merged 1 commit into
mainfrom
agent/backlog-own-docs-fail-prov-check

Conversation

@adammharris

Copy link
Copy Markdown
Member

What changed

  • The stale sidecar is restamped. 8247d29 (build(deps)!: move to fig 7 and twig 6) rewrote docs/proposals/self-hosted-kernel/examples/ORGANIZATION.md from ;;; JSON to ---json frontmatter outside prov. That rewrite is deliberate (the same commit retired ;;; and updated the example's prose to match), so prov stamp records the current bytes. The new content_hash (sha256:771ed060…) matches the sha256sum in the task's repro.
  • A new CI job, prov-check, in .config/ship.figl. It builds prov-cli and runs target/debug/prov check at the root. ci.yml gets its jobs from ship ci --matrix, so the job shows up as CI / prov check with no workflow edit. Next time a covered file is edited outside prov, CI fails instead of the bad checksum landing on main.

Why

On main, prov check reports a fixity mismatch on that sidecar and exits 1. None of the existing CI jobs reads docs/, which is how it got merged.

Task

Closes docs/tasks/own-docs-fail-prov-check.md: status done, shelved into docs/tasks/closed/ with prov mv --in.

Verification

  • Before the fix, ship ci prov-check failed on this branch with the mismatch from the task.
  • After the restamp, prov check (the freshly built binary) prints ok: no findings.
  • Full ship ci run locally: all 7 jobs passed (fmt, clippy -D warnings, test, guide transcripts, prov check, package isolation, MSRV).

8247d29 rewrote the self-hosted-kernel ORGANIZATION.md example from `;;;`
to `---json` outside prov, so its sidecar kept the old content_hash and
`prov check` at the root reported a fixity mismatch. The rewrite is the
text meant, so the sidecar is restamped.

Nothing in CI read docs/, which is how it landed. A `prov-check` job in
.config/ship.figl now builds prov-cli and runs its `prov check` over the
repository, so the next out-of-band edit to a covered file fails CI.

Closes docs/tasks/own-docs-fail-prov-check.md, shelved under Closed tasks.
@adammharris
adammharris merged commit 68b3984 into main Oct 22, 2026
8 checks passed
@adammharris
adammharris deleted the agent/backlog-own-docs-fail-prov-check branch October 30, 2026 01:25
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