Repository navigation
Feat: pinned-SHA attribution footer for pr-review and weekly-report (Phase 6 deferred) #10
Description
Follow-up to the Phase 6 attribution design (rossoctl/automation docs/specs/2026-10-05-repoman-phase6-provenance-attribution-design.md, phase issue automation#77).
Background
Phase 6 standardized program footers as Generated by RepoMan <skill>@<sha>, linking rossoctl/agent-skills/blob/<sha>/skills/<skill>/SKILL.md, built by skill_attribution / resolve_skill_meta in github-api.sh. 6a wired it into link-health and dep-bump. The spec deferred pr-review's pinned-SHA footer "until the 6b port makes that code run".
6b shipped in automation#105 (merged 2026-10-08, closed automation#86), but the deferred footer never followed. In skills/repoman/scripts/ on main, pr-review-scanner.sh, pr-review-fixer.sh, pr-review-impact.sh and weekly-report.sh never call skill_attribution.
#9 adds a plain Generated by RepoMan footer to the pr-review and weekly-report SKILL.md instructions. The maintainer accepted it as an interim step. The intended design is a footer the scripts add deterministically, with the skill SHA for provenance.
Where the fix lands
Engine scripts are developed in rossoctl/automation and vendored into skills/repoman/scripts/ by scripts/vendor-engine.sh, so the script changes below go in an automation PR, not straight into this repo. Close this issue with a re-vendor bump (new _vendor.json stamp) once that PR lands. Only the SKILL.md cleanup belongs here.
Scope
-
(automation) pr-review: the review body (and its Slack post) ends with the deterministic
skill_attribution github-pr-reviewfooter. Inline review comments stay footer-free. -
(automation) weekly-report: the report issue (and its Slack post) ends with the deterministic
skill_attribution github-weekly-reportfooter. -
(automation) Lazy
_meta.<skill>.jsonwrite in each entry point, following 6a's rules: create-only, write only on success, no sentinel, fall back toblob/main. -
(repoman) Replace or reword the interim SKILL.md footer instruction from feat: Show a REPOMAN banner on interactive sessions #9 so the agent doesn't add a second footer.
-
(automation) Tests: extend
tests/test-skill-meta.sh(or an equivalent) to cover both consumers. -
(automation) Attribution source is per skill. Every repoman-native skill (everything except
github-pr-review) resolves its SHA fromrossoctl/repoman(commits?path=skills/<name>) and linksrossoctl/repoman/blob/<sha>/skills/<skill>/SKILL.md. Onlygithub-pr-reviewstays onrossoctl/agent-skills.resolve_skill_metaandskill_attributionwrite and read_meta.<skill>.jsonsourceto match. This covers the existing link-health and dep-bump footers too. -
(automation) Migration.
_metais create-only and never overwritten, so files already pinned toagent-skillswould keep the old source forever. Treat asourcemismatch as absent (re-resolve), or delete stale files on upgrade. -
(repoman) Re-vendor the engine from the merged automation commit.
Out of scope: the dashboard footer, which has no SHA by design (Phase 6 spec).
Assisted-By: Claude Code
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn progress
Activity