Skip to content

chore: remove plan/ directory, migrate doctrine to remote-first - #395

Merged
tato123 merged 1 commit into
mainfrom
chore/remove-plan-files
Apr 21, 2026
Merged

tato123 merged 1 commit into
mainfrom
chore/remove-plan-files

Conversation

@tato123

@tato123 tato123 commented Apr 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

With every plan-file body migrated to its GitHub issue (in an ## AI Agent Notes section) and every frontmatter edge migrated to native GitHub relationships via amos sync-edges, the local plan/*.md files are redundant. This PR removes them and updates the doctrine docs to match.

Changes

Verification before land

  • Moved every plan/*.md to a /tmp backup.
  • Ran against the emptied directory:
    • amos milestones — identical counts to the pre-move state (9 milestones, Polyglot SDK Realignment 6 open / 6 ready / 3 done, etc.).
    • amos next --dir ... — correctly enumerates the 6 open issues in the focused milestone.
    • amos blocked --dir ... — "no matching nodes in focused milestone" (expected, all 6 are ready).
    • amos graph --dir ... — tree renders from native edges alone.
  • All behavior is now fully sourced from GitHub's adapter.

Related

  • Depends on tatolab/amos#43 — ships the amos issue-create subcommand + amos-file skill that this doctrine refers to.

🤖 Generated with Claude Code

Every plan/*.md body was migrated to its corresponding GitHub issue
body (in an ## AI Agent Notes section wrapped with amos tooling
markers) via amos sync-edges + a one-shot body-migration script; every
frontmatter edge was migrated to native GitHub relationships. With
both sides remote, the local plan files are redundant.

- Delete all 80 plan/*.md files. The plan/ directory is now empty (kept
  by .gitkeep for backward-compat with tooling that expected it; will
  drop in a follow-up).
- Update broken `plan/N-slug.md` links in docs to point at the GitHub
  issues directly: `docs/design/gpu-capability-sandbox.md`,
  `docs/research/blit-copy-classification.md`,
  `docs/retests/294-post-vulkan-cleanup-retest.md`.
- Rewrite `docs/issue-template.md` rules 1–2: "GitHub is the source of
  truth" + "every issue includes an AI Agent Notes section". Add the
  AI Agent Notes section (with amos markers) to the template itself.
  Note that `Blocked by` / `Blocks` / `Parent` are native GitHub
  relationships, not text in the Related section.
- Update CLAUDE.md's issue-writing paragraph to match and point at the
  new `/amos-file` skill.

Verified before landing: moved plan/*.md to a /tmp backup, ran amos
milestones / next / blocked / graph against the emptied directory,
confirmed identical output to the pre-move state (9 milestones, 6
ready in Polyglot SDK Realignment, etc.).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tato123
tato123 merged commit 41846ea into main Apr 21, 2026
1 check passed
@tato123
tato123 deleted the chore/remove-plan-files branch April 21, 2026 04:11
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