Skip to content

Retire deepgrade-guard; playbook document templates, runbook, release checklist, postmortems - #20

Merged
krwhynot merged 2 commits into
mainfrom
playbook-templates-retire-guard
Sep 2, 2026
Merged

Retire deepgrade-guard; playbook document templates, runbook, release checklist, postmortems#20
krwhynot merged 2 commits into
mainfrom
playbook-templates-retire-guard

Conversation

@krwhynot

@krwhynot krwhynot commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

Two commits, reviewable separately.

1. Templates and stage artifacts (fcb5d54). Five items borrowed from anthropics/knowledge-work-plugins after a side-by-side comparison; deepgrade's own workflow, debugging, and testing guidance were stronger and are untouched.

  • ADR, BRD, PRD, README templates gain a fill-in document body. The PRD template pointed at a "standard template" that did not exist.
  • New runbook documentation subcommand and template. Stage 4 already gated on a reviewed runbook without defining one.
  • Spec requirements carry P0/P1/P2, trace to intent.md, and have Given/When/Then acceptance criteria; new success-metrics table.
  • Release review checklist has pre-deploy / deploy / post-deploy / rollback sections with numeric rollback triggers.
  • Troubleshoot gains SEV1/SEV2 status updates on a cadence and a blameless postmortem whose action items feed the proposed intent.

2. Retire deepgrade-guard (BREAKING) (56ba1fd). The always-on safety plugin is removed from the tree and the marketplace; three plugins remain in lockstep. Claude Code permission rules reach parity for every blocking behavior with no runtime dependency, and a project carrying its own ask rules ended up with a second layer silently overriding its choice. METHODOLOGY §6 now documents the recommended settings.json deny/ask baseline and keeps the hook description under a historical heading. Suite, CI plugin-count assertion, release preflight, and all cross-references updated. plugins/deepgrade GUIDE and README rewritten to describe the design gate, six-stage chain, gate tools vs hooks, and output locations.

CHANGELOG entry is under ## Unreleased (next: 9.0.0); rename to ## 9.0.0 when cutting the release.

Test plan

  • bash tests/run-all.sh green, 8/8 layers, on Windows Git Bash
  • CI suite job on ubuntu-latest and windows-latest
  • CI validate job (plugin dir count now 3)

🤖 Generated with Claude Code

https://claude.ai/code/session_01MpBfdua2J8gduiE6YcS8Ut

krwhynot and others added 2 commits September 2, 2026 09:51
… release checklist, postmortems

Borrowed from anthropics/knowledge-work-plugins after a side-by-side comparison
against the six-stage playbook. Deepgrade's workflow, debugging, and testing
guidance were stronger and are untouched; what it lacked was fixed document
shapes.

- documentation: adr, brd, prd, readme templates gain a fill-in document body.
  The PRD template pointed at a "standard template" that did not exist. New
  runbook-template.md wired into the dispatcher (subcommand, menu, audit table,
  document-chain check, command reference). Stage 4 already gated on a
  reviewed runbook without defining one.
- plan/templates/spec.md: requirements carry P0/P1/P2, trace to intent.md,
  and have Given/When/Then criteria with a negative case; new Success metrics
  table. stage-2-design.md requirements guidance updated to match.
- plan/templates/review.md: pre-deploy / deploy / post-deploy / rollback
  checklist with numeric rollback triggers over a window; stage-5-deploy.md
  points at the runbook and forbids "looks wrong" as a trigger.
- troubleshoot: SEV1/SEV2 status-update template and cadence in the pre-flow;
  blameless postmortem template in step 5 whose action items feed the
  proposed intent. Log template gains Status Updates and Postmortem sections.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MpBfdua2J8gduiE6YcS8Ut
…(BREAKING)

The always-on safety plugin (force-push and hard-reset guard, migration guard,
DB deploy guard, change and test trackers, session summary) is removed from the
tree and the marketplace. Claude Code permission rules reach parity for every
blocking behavior with no runtime dependency and no hook-error failure mode,
and a project carrying its own `ask` rules for the same paths ended up with a
second layer silently overriding its deliberate choice. Three plugins remain in
lockstep.

Removed with it: tests/run-hook-corpus.js, tests/fixtures/hook-corpus.json,
the guard rows of tests/layer2-ledger-rows.js, and the $TMPDIR/dg-* marker bus.
Suite repointed: per-plugin profile and loops, plugin-count assertions
(SPLIT-2, SPLIT-4, CI validate job) now three, release-preflight lockstep
mutation targets the audit manifest, layer 7 checklist drops the guard items,
layer 2 fails if the corpus runner reappears undispatched.

METHODOLOGY §6 Layer 1 becomes "Permission Rules" with a recommended
settings.json deny/ask baseline; the hook description is kept under a
historical heading and §11's handler table marks the five retired handlers.
Root README, CONTRIBUTING, interop, and every plugin README/GUIDE say three
plugins.

plugins/deepgrade GUIDE.md and README.md are rewritten to describe the current
shape: the six-stage artifact chain, the design gate (canary classes with
criterion IDs, evidence-validator flags, the pass expression, known limits),
the two gate tools as distinct from the three hooks, seven document templates,
and every output location.

CHANGELOG entry sits under "## Unreleased (next: 9.0.0)" so the version
cross-check keeps reading 8.0.0 until release.sh cuts 9.0.0.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MpBfdua2J8gduiE6YcS8Ut
@krwhynot
krwhynot merged commit b732c6d into main Sep 2, 2026
3 checks passed
@krwhynot
krwhynot deleted the playbook-templates-retire-guard branch September 2, 2026 15:30
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