Skip to content

docs: 3.1.0 audit — README + architecture + workspace + AGENTS#25

Merged
ashmitb95 merged 1 commit into
mainfrom
docs-3.1.0-audit
May 31, 2026
Merged

docs: 3.1.0 audit — README + architecture + workspace + AGENTS#25
ashmitb95 merged 1 commit into
mainfrom
docs-3.1.0-audit

Conversation

@ashmitb95

Copy link
Copy Markdown
Owner

Summary

  • Refresh top-level docs to reflect Wave 3.0 (slot model) and Plan 2 (feature_resume brief + GH thread mutations). Most of these files were pinned to pre-3.0 numbers (43 MCP tools, 436 tests, 8 states) and showed the old worktree layout.
  • Rewrites: README.md, docs/architecture.md, docs/workspace.md, AGENTS.md.
  • Surgical edits: docs/architecture/providers.md (M5 status), src/canopy/agent_setup/skills/augment-canopy/SKILL.md (drop "(when shipped)" qualifiers).
  • Verified clean: docs/concepts.md, src/canopy/agent_setup/skills/using-canopy/SKILL.md — both were curated through Plan 2's milestone reviews and remain accurate.
  • Cleanup: dropped two stale one-time docs and archived test-plan.md.

Rewrites at a glance

File Before → After Headline changes
README.md 185 → 215 67 tools / 857 tests / 9 states / slot layout / canopy resume + thread mutations / session-re-derivation row in the failure-mode table
docs/architecture.md 244 → 321 Full current actions/ tree (drops active_feature.py, realign.py; adds slot model + Plan 2 modules). New "Slot model internals" + "Plan 2 — resume + threads" sections. State files table covers slots.json, visits.json, thread_resolutions.json, bot_resolutions.json
docs/workspace.md 252 → 329 Correct .canopy/worktrees/worktree-N/<repo>/ layout, all six state files documented with schemas, [workspace] slots = N example, partial-scope features.json example, worktree-N alias
AGENTS.md 103 → 228 Adds the entire actions/ layer (was invisible), refreshes test count, adds recipes for new action / state file / bundled skill / augment key, current JSON output contract

Cleanup

Action File
Delete docs/test-findings.md — canopy 0.5.0 historical report; git history retains it
Delete github-issue-active-context.md — proposed "active feature" was implemented as the slot model and superseded
Archive docs/test-plan.mddocs/archive/test-plan.md — M0–M5 integration scaffold, pinned in time

Test plan

  • No code changes — pytest suite unchanged (857 passing on main)
  • All numbers cross-checked against source (__version__, pytest --collect-only, grep @mcp.tool, grep "code=" doctor.py)
  • All .md files render correctly (markdown lint clean — no <feature>/<repo>/ layouts in fresh references; references to old max_worktrees / active_feature.json remain only in migration callouts)
  • Spot-read the rewritten README + AGENTS for voice
  • Confirm no doc cross-link breaks (the concepts.md#4-the-canonical-slot-model anchor → #4-the-slot-model rename was applied in workspace.md)

Refresh docs to reflect Wave 3.0 (slot model) and Plan 2 (feature_resume
brief + GH thread mutations). Earlier docs were pinned to pre-3.0 numbers
and module layouts.

Rewrites
- README.md (185 → 215 lines): 67 tools / 857 tests / 9 states / slot
  layout / canopy resume + thread mutations / updated agent-contract
  pitch. Failure-mode table picks up the session-re-derivation row.
- docs/architecture.md (244 → 321 lines): current actions/ tree (adds
  slots, slot_load, slot_details, migrate_slots, last_visit, resume,
  thread_actions, thread_resolutions, bot_resolutions, bot_status,
  augments, bootstrap, conflicts, draft_replies, historian,
  ide_workspace, ship; drops active_feature, realign). New "Slot model
  internals" section covering slots.json schema, in_flight transaction
  marker, LRU policy. New "Plan 2 — resume + threads" callout. State
  files table now lists slots.json, visits.json, thread_resolutions.json,
  bot_resolutions.json.
- docs/workspace.md (252 → 329 lines): correct .canopy/worktrees/
  worktree-N/<repo>/ layout, all six state files documented with
  schemas, canopy.toml example uses [workspace] slots = N, features.json
  example shows a single-repo feature, alias section adds worktree-N
  slot id.
- AGENTS.md (103 → 228 lines): adds the entire actions/ layer, current
  test count (857), state-files table, recipes for new action / state
  file / bundled skill / augment key. JSON output contract refreshed.

Surgical edits
- docs/architecture/providers.md: status block "lands in M5" -> "shipped
  in M5"; broken link fix; M3 ship status reflected in §8.
- src/canopy/agent_setup/skills/augment-canopy/SKILL.md: drop "(when
  shipped)" / "(deferred)" qualifiers now that M3 + doctor have landed.

Light audit
- docs/concepts.md: verified clean (9 states match feature_state.py,
  slot default 2 matches config.py, resume brief shape matches resume.py,
  historian functions exist as described). No changes.
- src/canopy/agent_setup/skills/using-canopy/SKILL.md: verified clean
  (67 tools, 21 doctor codes, issue_get tool registered). No changes.

Cleanup
- Deleted docs/test-findings.md (canopy 0.5.0 historical report)
- Deleted github-issue-active-context.md (proposal superseded by slot
  model in 3.0.0)
- Archived docs/test-plan.md -> docs/archive/test-plan.md (M0-M5
  integration scaffold, pinned in time)
@ashmitb95 ashmitb95 merged commit 56a26ef into main May 31, 2026
4 checks passed
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