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
Commit 72a8c90
Browse filesBrowse the repository at this point in the historyBrowse files
fix: Reconcile stale _meta source and drop unverified fallback link
Address Jim's review on #136 (closes the real #131 regression):
- resolve_skill_meta: re-resolve when stored .source != current
SKILL_SOURCE_REPO, so flipping the default to rossoctl/repoman does not
strand existing installs on a dead agent-skills-pinned SHA (404).
- skill_attribution: unresolved provenance now emits a LINKLESS footer
instead of an unverified blob/main link (#131 item 4).
- Tests: add stale-source-repair + linkless-unresolved cases; update the
three footer suites' fallback assertions.
- Docs: mark the Phase 6 spec superseded here; update the stale
skill_attribution header comment; widen this spec's scope/deliverables.
Assisted-By: Claude Code (Anthropic AI) <[email protected]>
Signed-off-by: Gloire Rubambiza <[email protected]>
printf'Generated by repoman [%s@%s](https://github.com/%s/blob/%s/skills/%s/SKILL.md).' \
printf'Generated by repoman [%s](https://github.com/%s/blob/main/skills/%s/SKILL.md).' \
310
-
"$skill_name""$SKILL_SOURCE_REPO""$skill_name"
322
+
# No SHA resolved: emit a LINKLESS footer rather than an unverified blob/main
323
+
# link that may 404 (a skill absent from the source repo — the doc-drift case
324
+
# that opened automation#131, item 4). Attribution without a dead link.
# Unresolved provenance emits a LINKLESS footer: a SHA could not be resolved, so
75
+
# any blob link would be unverified (automation#131 item 4 — never emit a link we
76
+
# cannot stand behind). Plain 'Generated by repoman <skill>', no markdown link, no URL.
74
77
case"$foot"in
75
-
*"Generated by repoman [$SKILL](https://github.com/"*"/blob/main/skills/$SKILL/SKILL.md)."*) ;;
76
-
*) echo"FAIL branch2: fallback footer should be the lowercase markdown blob/main form, got: [$foot]"; fail=1 ;;
78
+
"Generated by repoman $SKILL."|"Generated by repoman $SKILL") ;;
79
+
*) echo"FAIL branch2: unresolved footer should be linkless 'Generated by repoman $SKILL', got: [$foot]"; fail=1 ;;
77
80
esac
78
81
case"$foot"in
79
-
*"@"*) echo"FAIL branch2: fallback footer must NOT carry an @<sha>, got: [$foot]"; fail=1 ;;
82
+
*http*|*"]("*|*"@"*) echo"FAIL branch2: unresolved footer must carry no link/@sha, got: [$foot]"; fail=1 ;;
Copy file name to clipboardExpand all lines: tests/test-weekly-report.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ EOF
41
41
chmod +x "$TEST_TMPDIR/bin/gh"
42
42
export PATH="$TEST_TMPDIR/bin:$PATH"
43
43
export REPOMAN_SKILL_DIR="$TEST_TMPDIR/meta"
44
-
FALLBACK='Generated by repoman [github-weekly-report](https://github.com/rossoctl/repoman/blob/main/skills/github-weekly-report/SKILL.md).'
44
+
FALLBACK='Generated by repoman github-weekly-report.'
45
45
46
46
# Owner-qualified --repos, no --org. The footer is appended to the file, not stdout.
0 commit comments