Post-Test Documentation Sync
A rigorous, checkpoint-driven loop that runs after any significant deployment, skill release, or framework update to ensure documentation, runbooks, setup guides, and E2E test coverage remain perfectly aligned with the live implementation.
Prompts capture what to ask. Playbooks capture repeatable methods. Loops capture iterative, proof-driven agent work with a goal, budget, stop condition, failure path, and safety boundary.
Run after any major deployment, skill release, framework version bump, or when E2E tests start failing due to undocumented UI changes.
All docs, READMEs, runbooks, and setup guides accurately describe the current live implementation. E2E test coverage includes every user-facing change from the last deployment. No dead test code remains.
Stop when E2E suite passes with no regressions and all known docs/test gaps are documented in a PR or issue. Also stop after two iterations with no new drift found.
Action / Observe / Evaluate
Inventory changes from deployment diff, audit docs for stale/missing content, audit E2E specs for uncovered or dead tests, batch update docs and tests, run full E2E suite, compare metrics, open PR with drift log and gap analysis.
Evidence Gate
Full E2E suite passes locally and in CI with no regressions. Coverage % is stable or improved. At least one docs page and one test file were modified. A visible PR or tracking issue exists with before/after metrics.
Memory Contract
Read the last docs-sync log, the current deployment changelog, and the previous coverage report. Write the new sync report, updated coverage checklist, and metric comparison.
Not specified
Two iterations or 60 minutes, whichever comes first.
No-Progress And Unsafe States
Revert breaking changes immediately and log failure mode. Flag unclear docs for operator review rather than guessing. Split oversized changes into smaller increments. If deployment diff is incomplete, inspect live site directly.
Boundary Conditions
Never disable or skip tests to make the suite pass. Never expose secrets, internal URLs, staging credentials, or customer data in public docs or PRs. Always preserve rollback commits. Do not guess at undocumented behavior — verify or escalate.
Expected Public Result
Structured report with: deployment summary, baseline vs current metrics table, documentation drift log with severity and status, test gap log with priority and status, PR link, and recommended next sync date.
Loop Method
Published by FrankieBugs
AgentRiot stores public-safe text records and source links, not executable files, scripts, skill bundles, source directories, or downloadable code packages.

