Skip to content

docs(skill): refresh anc cross-references for v0.3.0 + RELEASES drift sweep + SYNCS map#14

Merged
brettdavies merged 3 commits into
devfrom
feat/skill-v0.3.0-refresh
May 1, 2026
Merged

docs(skill): refresh anc cross-references for v0.3.0 + RELEASES drift sweep + SYNCS map#14
brettdavies merged 3 commits into
devfrom
feat/skill-v0.3.0-refresh

Conversation

@brettdavies
Copy link
Copy Markdown
Owner

@brettdavies brettdavies commented May 1, 2026

Summary

Three docs landings batched together since they all share the v0.3.0 release-prep arc:

  • Skill bundle refresh — closes the v0.3.0 gap that left the "fix → re-run → claim badge" loop incomplete in the agent-facing guide.
  • RELEASES drift sweep — backports the triple-diff verification block from agentnative-cli so the dev → release/main flow catches drift in both directions.
  • SYNCS map — new docs/SYNCS.md routing map for how spec content flows in and the bundle flows out.

Changelog

Added

  • references/update-check.md — pulled-out operational detail for the consumer-side update-check script (prompt copy, snooze ladder, state-dir layout).
  • New "The anc loop" section in SKILL.md documenting scorecard schema 0.5 fields (coverage_summary.must.verified, badge.eligible, badge.score_pct, badge.embed_markdown), the 80% badge eligibility floor, and the four --audit-profile categories (human-tui, file-traversal, posix-utility, diagnostic-only).
  • anc skill install <host> documented in getting-started.md § "Installing anc and this skill bundle" with --dry-run, eval $(...) capture, and --output json envelope.
  • docs/SYNCS.md — cross-repo sync map covering inbound (agentnative spec → this repo via scripts/sync-spec.sh) and outbound (this repo → consumer hosts; agentnative-site daily probe) edges, with manifest-vs-bundle ownership diagrams.

Changed

  • Vendored-spec prose reference in SKILL.md bumped v0.2.0 → v0.3.0 to match spec/VERSION.
  • SKILL.md description expanded with Rust/clap, scorecard, audit-profile, agent-native badge, and anc skill install keywords plus a SKIP clause that routes TUI builders to --audit-profile human-tui instead of this skill.
  • SKILL.md "Update check" block compressed from 35 lines (which buried the first-action intent) to a 6-line "First action: update check" stub; details moved to references/update-check.md.
  • RELEASES.md § "Releasing dev to main" step 4 — single guarded-paths grep replaced with a triple-diff verification block (A: main→release, B: release→dev, C: dev→main) plus a git cherry HEAD origin/dev patch-id check with squash-merge triage guidance. Mirrors the same step that landed on agentnative-cli during v0.3.0 prep.

Type of Change

  • docs: Documentation update

Related Issues/Stories

  • Story: n/a
  • Issue: n/a
  • Architecture: n/a
  • Related PRs: agentnative-cli #45 (RELEASES triple-diff source), agentnative-cli #41 (SYNCS.md template), agentnative-cli #40 (badge schema 0.5 docs)

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing completed
  • All tests passing

Test Summary:

  • markdownlint passes on all four touched/created files (auto-fix hook ran on each Write).
  • Verified spec/VERSION reads 0.3.0 so the prose bump aligns with the vendored snapshot.
  • Verified --audit-profile category list matches cargo run -- check --help output from ~/dev/agentnative-cli HEAD.
  • Verified scorecard schema 0.5 keys (coverage_summary, badge.*, audit_profile, tool/anc/run/target) against a live cargo run -- check --output json . invocation.

Files Modified

Modified:

  • SKILL.md — compressed update-check block, added "The anc loop" section, expanded description with trigger keywords + SKIP clause, bumped spec ref to v0.3.0.
  • getting-started.md — added anc skill install examples, badge claim step in the existing-CLI loop, schema-0.5 stop conditions, --audit-profile category list.
  • RELEASES.md — step 4 triple-diff verification + git cherry patch-id check with squash-merge triage guidance.

Created:

  • references/update-check.md — operational details pulled out of SKILL.md (prompt copy, snooze ladder, state-dir layout).
  • docs/SYNCS.md — cross-repo sync routing map.

Renamed:

  • None.

Deleted:

  • None.

Breaking Changes

  • No breaking changes
  • Breaking changes described below:

Deployment Notes

  • No special deployment steps required

Checklist

  • Code follows project conventions and style guidelines
  • Commit messages follow Conventional Commits
  • Self-review of code completed
  • No new warnings or errors introduced
  • Changes are backward compatible

Closes the v0.3.0 gap that left the "fix → re-run → claim badge"
loop incomplete. Compresses the 35-line update-check block buried
above the first-action intent into a six-line stub plus a new
references/update-check.md detail file.

- Add new "The anc loop" section documenting schema 0.5 (`coverage_summary`,
  `badge.eligible`, `badge.score_pct`, `badge.embed_markdown`), the 80%
  eligibility floor, and the four `--audit-profile` categories
  (`human-tui` / `file-traversal` / `posix-utility` / `diagnostic-only`).
- Bump vendored-spec prose reference v0.2.0 → v0.3.0 (aligns with
  spec/VERSION).
- Document `anc skill install <host>` in the getting-started installer
  section, including `--dry-run`, `eval $(...)` capture, and `--output json`.
- Expand description with Rust/clap and SKIP keywords for trigger reliability:
  routes TUI builders to `--audit-profile human-tui` and excludes non-CLI
  Rust questions.
- Reframe update check as "First action: update check" and move snooze
  ladder, prompt copy, and state-dir layout into references/update-check.md.
Step 4 of "Releasing dev to main" replaced the single guarded-paths
grep with a belt-and-suspenders sweep covering both directions of
drift before the release tag goes out.

- A: main → release  (intended ship surface)
- B: release → dev   (catches non-doc paths missing from release)
- C: dev → main      (sanity on phantom-ahead state from squash rewrites)

Adds a `git cherry HEAD origin/dev` patch-id check with squash-merge
triage guidance: documents the three expected '+' line sources
(historical squashes, conflict-resolved cherry-picks, intentionally
skipped commits), what a real miss looks like, and a two-command
triage recipe.

Mirrors the same step that landed on agentnative-cli RELEASES.md
during v0.3.0 prep, which caught 4 .github/ISSUE_TEMPLATE/*.yml
files that had drifted on main since the v0.1.1 squash.
Routing map for how spec content flows into this repo and how the
skill bundle flows out. Documents the four sync edges (spec → skill
via sync-spec.sh, skill → consumer hosts via git clone, site → skill
via daily ls-remote probe, skill ↔ site at the source.commit pin)
with mechanism, payload, trigger/cadence, and drift-check columns.

Includes inbound/outbound flowchart and a manifest-vs-bundle
ownership diagram clarifying that agentnative-site/src/data/skill.json
is the manifest source of truth — this repo owns bundle content,
not the manifest.

Per-script details stay in script headers; release-time re-vendor
mechanics stay in RELEASES.md and spec/README.md. SYNCS.md is the
top-level routing map that links them.
@brettdavies brettdavies merged commit 7922fd6 into dev May 1, 2026
4 checks passed
@brettdavies brettdavies deleted the feat/skill-v0.3.0-refresh branch May 1, 2026 09:55
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