Skip to content

Add monthly artifact-audit skill + second maintenance schedule - #11

Merged
espi merged 1 commit into
mainfrom
claude/artifact-audit-monthly
Jul 24, 2026
Merged

Add monthly artifact-audit skill + second maintenance schedule#11
espi merged 1 commit into
mainfrom
claude/artifact-audit-monthly

Conversation

@espi

@espi espi commented Jul 21, 2026

Copy link
Copy Markdown
Owner

What this is (PR 2 of 2)

The maintenance-structure half of your second question. PR #10 broadened the repo beyond Claude Code; this PR makes sure the repo's own artifacts stay correct as the tools drift — and answers the "should the weekly be chunked?" question.

Independent of PR #10 — they share no files, so they merge in any order.

The cadence answer (in the runbook)

Don't chunk the weekly research by angle. Its five angles produce one coherent artifact (deduped and cross-referenced against each other, one backlog carry-forward, one CHANGELOG entry, one review). Splitting into five schedules → five PRs all editing primer.md/sources.md/CHANGELOG.md in the same week → merge conflicts between your own PRs (the exact failure the step-1 open-PR check was added to prevent), 5× review load, lost synthesis. Keep each job single; if a weekly delta ever feels too big, go twice-weekly — not angle-split.

But there was a real gap: "maintaining the techniques" is broader than the knowledge base. Nothing scheduled kept the repo's own skills / templates / guardrails / runbooks correct as tools drift. That's a distinct task, so it gets a distinct (slower) schedule — not more knowledge-research schedules.

What's added

  • New skill artifact-audit — the inward-facing complement to update-knowledge:

    update-knowledge (weekly) artifact-audit (monthly)
    Question Is the KB current with the world? Do our own artifacts match that world?
    Direction outward research inward consistency
    Edits knowledge/ the practice artifacts (never knowledge/)

    It reads the KB as source of truth, fans out ~4 bounded agents to audit skills/templates/guardrails/runbooks for drift, verifies each finding against a High-confidence KB entry or primary source, and opens a PR with Fixed + Flagged for you sections.

  • Safety: artifact-audit has no auto-apply / no self-edit: privilege — that fast-path stays reserved to update-knowledge's own CI-fenced file. Everything here is an ordinary human-reviewed PR edit, and it prefers flagging over rewriting anything touching a hard stop, the mission, permissions, budget.env, or the self-edit gate. It never edits knowledge/. Same one-shot guardrail envelope (bounded fan-out, subagent cap, no recursion, human merge, claude/-prefixed branch).

  • runbooks/staying-current.md — a "two maintenance loops (and why not five)" section documenting the cadence analysis, plus the monthly Routine setup (points at the skill file fresh, same anti-staleness pattern as the weekly). README updated.

Coordination between the two routines

Each checks for an already-open PR of its own kind (anti-conflict), and artifact-audit explicitly yields to an open update-knowledge PR on any file it's mid-editing (notably update-knowledge/SKILL.md).

Needs you (settings-only)

Set up the second Routine (monthly) per the runbook — same as the weekly with a monthly trigger. The env caps / overage-off guidance applies to both.

Not merging — human reviews and merges.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Nsk6ryTqYCAuE6dRW8ZnHJ


Generated by Claude Code

Second half of the maintenance answer. update-knowledge (weekly) keeps the
knowledge base current with the world; this adds artifact-audit (monthly),
the inward-facing complement that checks the repo's OWN skills/templates/
guardrails/runbooks for drift against that knowledge base and proposes fixes
as a human-reviewed PR.

Key design points:
- Distinct task, not a chunk of the weekly: outward research vs. inward
  consistency, different cadence (artifacts drift slower), different output
  (edits practice artifacts, never knowledge/).
- No auto-apply / no self-edit privilege — that fast-path stays reserved to
  update-knowledge's own CI-fenced file. Everything artifact-audit proposes is
  an ordinary human-reviewed PR edit, and it prefers flagging over rewriting
  anything touching a hard stop, the mission, permissions, or the self-edit gate.
- Same one-shot guardrail envelope (bounded fan-out, subagent cap, no recursion,
  human merge, claude/-prefixed branch).

runbooks/staying-current.md gains a "two maintenance loops (and why not five)"
section documenting the cadence analysis: keep each job single (chunking the
weekly research by angle would fragment one coherent artifact into conflicting
PRs); the two schedules are separate because they're different tasks, not
because work was split for size. README updated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nsk6ryTqYCAuE6dRW8ZnHJ
@espi
espi merged commit 85e5d54 into main Jul 24, 2026
1 check passed
@espi
espi deleted the claude/artifact-audit-monthly branch July 24, 2026 20:57
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.

2 participants