Skip to content

Rewrite architect, improve-codebase-architecture, arena, and correct - #215

Merged
sreejithraman merged 3 commits into
skills/rewrite-planningfrom
skills/rewrite-architecture
Nov 22, 2026
Merged

sreejithraman merged 3 commits into
skills/rewrite-planningfrom
skills/rewrite-architecture

Conversation

@sreejithraman

@sreejithraman sreejithraman commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

Rewrites architect, improve-codebase-architecture, arena, and correct with plain-prose contracts, fresh end-of-task completion gates, downward-only links, and clean direct-invocation entry-boundary dispositions.

  • Stack position: Layer 4 of 5 (base: skills/rewrite-planning / Remove upward links and anchor jump-links across planning skills #214; next: Clean link hygiene across delivery and review skills and move preserve-local-files.md to gh-stack #216).
  • architect: rewrites SKILL.md (167 -> 127 lines), puts migration-plan requirements in Outputs linked from Phase C's planning-only finish, and removes SKILL.md back-links and #shape jump-link in design-candidate.md and design-rationale.md.
  • improve-codebase-architecture: rewrites SKILL.md (151 -> 133 lines) while preserving manual invocation (disable-model-invocation: true), restores downward [Arena](../arena/SKILL.md) routing for alternative interfaces, links grilling and domain-modeling, and keeps its completion gate at Stage 4.
  • arena: tightens SKILL.md (118 -> 103 lines) with a contract opener while preserving preference-vs-fact separation, wave starting-input parity, fixed-candidates-while-judging, and explicit user-checkpoint holds before Phase E synthesis or consensus adoption.
  • correct: rewrites SKILL.md with a contract opener and closing completion gate, keeps entry-boundary dispositions for direct multi-outcome requests (Coordinator) and behavioral evaluation beyond guard proof (never counting guard proof as behavioral proof; reporting unmet and offering user-started /tune-stack).

Evidence

  • python3 scripts/check.py on b69879c3a8b5439abe52e500f67fae912a9b27c2: passed (63 skills checked; 552/552 tests across 25 files).
  • Independent multi-model review-fix-loop (sreestack-skills-rewrite, 3 passes: Wave 1 Primary/Ponytail/Thermo, Wave 2 Adversarial, Pass 2 & Pass 3 Primary): No issues found (Spec: pass, Standards: pass).
  • Disclosed proof gap: live fresh-session behavioral trials on rewritten skills were not run in this unattended session; all phase rules, checkpoints, and guardrails were audited against 0305fe7f originals.

Merge Danger

Two-way door (skill Markdown and SOURCES.md only; cleanly reversible via revert). Depends on #212's codebase-design/references/experiments.md move; layer #216 stacks above this branch.

sreejithraman and others added 3 commits November 21, 2026 02:51
- Open all four skills with plain-prose Job/Input/Output/Done contracts
  and tighten prose while preserving all phase rules and guardrails.
- Remove architect SKILL.md back-links and same-file anchor jump-link in
  design-candidate.md and design-rationale.md.
- Link grilling, domain-modeling, and codebase-design cleanly from
  improve-codebase-architecture while preserving manual invocation.
- Remove upward links from correct to coordinator and tune-stack.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- Keep architect's planning-only migration-plan requirements in Outputs
  and link Phase C to them cleanly; trim opener duplication.
- Restore closing completion gates at the end of improve-codebase-architecture
  and correct, and trim opener repetition and SOURCES.md edit-history phrasing.
- Restore arena's preference-vs-fact rule, wave starting-input parity,
  fixed-candidates-while-judging guardrail, and explicit user-checkpoint hold
  before Phase E synthesis or consensus adoption.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- Add explicit entry-boundary dispositions in correct/SKILL.md for
  multi-outcome repair programs (offer Coordinator on direct requests)
  and behavioral evaluation beyond guard proof (never count guard proof
  as behavioral proof; report unmet and offer user-started /tune-stack).
- Include those dispositions in correct's closing completion gate and
  sync SOURCES.md.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@sreejithraman
sreejithraman added this pull request to stack #217 November 21, 2026 07:58
@sreejithraman sreejithraman changed the title skills/rewrite architecture Rewrite architect, improve-codebase-architecture, arena, and correct Nov 21, 2026
@sreejithraman
sreejithraman merged commit 596d645 into main Nov 22, 2026
2 checks passed
@sreejithraman
sreejithraman deleted the skills/rewrite-architecture branch November 22, 2026 03:12
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