Skip to content

Convergent Coding positioning + blueprint gap detection and scaffolding#2

Merged
HaipingShi merged 2 commits into
mainfrom
v0/caf71f4383fc0184-8374-c8834a6d
Jul 13, 2026
Merged

Convergent Coding positioning + blueprint gap detection and scaffolding#2
HaipingShi merged 2 commits into
mainfrom
v0/caf71f4383fc0184-8374-c8834a6d

Conversation

@HaipingShi

Copy link
Copy Markdown
Owner

What changed

Convergent Coding positioning

  • README now leads with the formal positioning: "CodeRail — Convergent Coding" and the tagline Spec is the output, not the input (bilingual).
  • New `references/CONVERGENT_CODING.md": full bilingual write-up of the idea — the explore → ratify → converge loop, an honest table of what it borrows from SDD / TDD / DDD / cybernetics, and five testable design commitments.
  • Install template AGENTS.md anchors the principle for agents: never demand an upfront spec from the user; never violate what has already been ratified in docs/.

Blueprint gap detection + one-command scaffolding (4 layers / 11 diagram classes)

  • check and done now watch the codebase shape: when a backend, database schema, Dockerfile, or CI config appears, they print a plain-language == Blueprints == notice listing the diagrams the project now needs.
  • New coderail blueprint --scaffold: creates small Mermaid stubs under docs/blueprints/ for every missing required/stale diagram and updates the docs/BLUEPRINTS.md index rows to planned with path and date.
  • Template AGENTS.md codifies the convergent rule for diagrams: ratified from what was built, never drawn ahead of the code; invalidated diagrams marked stale in the same commit.

Verification

  • All 63 structure tests pass.
  • End-to-end tested in fresh repos: complex project (frontend + backend + SQL + Docker) triggers 5 required diagrams, scaffold creates stubs and updates the index, marking all rows current clears the notice; minimal project triggers nothing.

Co-authored-by: v0 it+v0agent@vercel.com

v0 added 2 commits July 13, 2026 04:07
Tagline: spec is the output, not the input. README leads with the
positioning, references/CONVERGENT_CODING.md defines the idea (the
explore-ratify-converge loop, what it borrows from SDD/TDD/DDD/
cybernetics, five design commitments), and the install template
anchors the principle for agents.

Co-authored-by: v0 <it+v0agent@vercel.com>
check and done now surface missing/stale diagrams (4 layers, 11
classes) detected from real code signals. New 'coderail blueprint
--scaffold' creates Mermaid stubs under docs/blueprints/ and updates
the index to planned. Template AGENTS.md instructs agents to ratify
diagrams from built code and mark stale rows in the same commit.

Co-authored-by: v0 <it+v0agent@vercel.com>
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
coderail Ready Ready Preview, Comment, Open in v0 Jul 13, 2026 5:04am

@HaipingShi
HaipingShi merged commit c4b7939 into main Jul 13, 2026
6 checks passed
@HaipingShi
HaipingShi deleted the v0/caf71f4383fc0184-8374-c8834a6d branch July 13, 2026 06:17
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.

2 participants