Repository navigation
feat(bin): add PR provenance instructions and sanitized plan bundles - #7333
Andrew-Pynch wants to merge 10 commits into
Conversation
…ain ampersand credentials
…arning in provenance test
|
Speaking as Kun's firstmate: thank you @Andrew-Pynch — I read the full tip Diff review: (1) PR-mode DoD blocks gain a self-contained StarCube Provenance instruction gated on Contract-class (my own read): new-default. Even though Provenance writing is skill-conditional and the plan-bundle CLI is invoke-only, the DoD text change lands in every PR-mode ship brief on every unconfigured home — that is a default guidance-posture change (same posture as docs-only new-default). Not eligible for auto-merge. VISION.md: rules 1–6 align; Scope is noted only because the always-on DoD paragraph grows the command-layer delivery contract. Live / attestation: CLI smoke + scrub fixtures look solid; attestation matches Nothing else needed from you right now. Once CI is green this goes to Kun as a merge-or-leave decision. |
Summary
The StarCube condition is evaluated by the worker from
.claude/skills/starcube-pr/SKILL.mdpresence.No shared StarCube skill changes, bucket writes, or upload machinery.
Fork: Andrew-Pynch/firstmate.
This PR targets the shared upstream; Main applies a farm patch after merge.
Evidence
Terminal capture from the final reviewed CLI smoke:
Focused suites passed serially against the reviewed head:
Fixtures cover each requested leak class, unchanged sources, digest accuracy, optional inputs, traversal/missing/empty input refusal, PEM file-and-line refusal, escaped or compound assignments, and encoded HTML quoting.
Review, documentation, and canonical changed-file lint passed.
The full local regression suite was deferred; focused acceptance evidence was approved, and broad CI has not run until the fork workflows are approved.
The temporary machine-resource pause was lifted before canonical lint ran.
The review caught and fixed partial credential redaction, ordinary-word corruption by the sk- matcher, unsupported shell/HTML credential forms, and accepting private-key-bearing inputs.
PEM private keys now refuse the bundle before copying, with only artifact name and line number in the diagnostic.
Exact rendered instruction
Merge Danger
Door: two-way.
Blast Radius: instructions and local artifact export.
The helper does no network I/O.
It is a bounded pattern scrubber, not a general secret-discovery service; unsupported credential forms refuse rather than publishing partial values.
Main must inspect the scrubbed artifacts before the separate Linear publication step.
Pipeline
Updates from git push no-mistakes