Skip to content

feat(stack): portable single-source engineering method + multi-agent install - #10

Merged
Rwanbt merged 1 commit into
mainfrom
feat/portable-canonical-method
Jun 19, 2026
Merged

feat(stack): portable single-source engineering method + multi-agent install#10
Rwanbt merged 1 commit into
mainfrom
feat/portable-canonical-method

Conversation

@Rwanbt

@Rwanbt Rwanbt commented Jun 19, 2026

Copy link
Copy Markdown
Owner

Why

Install/portability audit found two gaps:

  1. The full engineering method lived only in machine-local agent configs (~/.claude/CLAUDE.md 828 l. + Mavis agent.md 50 KB). The repo only shipped the distilled AGENTS.md (190 l.) — a new machine/LLM inherited a partial method.
  2. install.sh did not wire the newer components (hooks/, anti-debt, scripts/).

What

  • AGENTS.md → complete canonical source (190→250 l.). Adds the full senior playbook (ADR/RFC, sanitizers+Miri, FFI conventions, lock hierarchy, RT lock-free telemetry, fuzz/property tests, CODEOWNERS, supply-chain scans, perf budgets, debt SLA, Boy Scout…), DRY against the distilled core. Now the single source every tool config references via @AGENTS.md.
  • scripts/setup-agents.sh — idempotent, OS-aware linker (symlink Linux/macOS, junction Windows) that wires the anti-debt agent into every detected agent root. Verified against existing Claude + Mavis links (already linked correctly).
  • PORTABILITY.md — full transfer guide: 3-layer model, new-machine bootstrap, per-agent setup (Claude Code / MiniMax-Mavis / Cursor / Codex), in-repo vs machine-local matrix, verification.
  • install.sh — fixed stale header; NEXT STEPS now point to the global setup.
  • README — components + whole-stack transfer section.

Verification

  • setup-agents.sh --dry-run → idempotent, both agents already linked correctly
  • bash -n OK on both scripts
  • 38 ai_docs tests pass · LOC gate clean (no source touched)

No Python source changed — docs + bash only.

Closes the portability gaps surfaced by the install audit: the full method
lived only in machine-local agent configs, and install.sh did not wire the
newer components.

- AGENTS.md: expand 190 -> 250 lines into the COMPLETE canonical Layer-1
  playbook (senior reflexes: ADR/RFC, sanitizers, FFI, lock hierarchy, RT
  telemetry, fuzz/property tests, CODEOWNERS, supply-chain, perf budgets,
  Boy Scout...). It is now the single source every tool config references
  via @AGENTS.md instead of re-stating the rules.
- scripts/setup-agents.sh: idempotent, OS-aware linker that wires the
  anti-debt agent into every detected agent root (symlink on Linux/macOS,
  junction on Windows). Verified against existing Claude + Mavis links.
- PORTABILITY.md: full multi-agent transfer guide (3-layer model, new-machine
  bootstrap, per-agent setup for Claude Code / MiniMax-Mavis / Cursor / Codex,
  in-repo vs machine-local matrix, verification steps).
- install.sh: fix stale header comment; add a NEXT STEPS pointer to
  setup-agents.sh + PORTABILITY.md for the global multi-agent setup.
- README: add engineering-method/hooks/anti-debt to the components, plus a
  whole-stack transfer section linking PORTABILITY.md.
@Rwanbt
Rwanbt merged commit deb58ca into main Jun 19, 2026
5 checks passed
@Rwanbt
Rwanbt deleted the feat/portable-canonical-method branch June 19, 2026 07:07
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