Skip to content

docs: sync to the harness (post WS1-5) + live architecture diagrams + DeepSeek default - #220

Merged
agjs merged 2 commits into
mainfrom
docs/architecture-sync
Aug 1, 2026
Merged

docs: sync to the harness (post WS1-5) + live architecture diagrams + DeepSeek default#220
agjs merged 2 commits into
mainfrom
docs/architecture-sync

Conversation

@agjs

@agjs agjs commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Cross-referenced the Astro docs (~45 pages) against the current harness after the WS1–WS5 refactor, and fixed the drift. Docs build green (47 pages, Mermaid renders); bun run validate green.

Architecture (the headline)

  • big-picture.mdx rewritten around the real shape — a general, stack-agnostic core plus adapters behind seams (IStackAdapter / IConventionProvider / IPlanSchema / IGate / external-plugins) and the mechanical import boundary.
  • Static board image → two live Mermaid diagrams: a layers/seam diagram and a request-flow diagram (prompt → plan → drive-to-green loop → gate → panel → done). Also retired from quickstart (kept only for the OG social card).

Model — aligned to reality

  • Flip the shipped default qwen3.6-27bdeepseek-v4-flash (PROVIDER_DEFAULTS; reasoning dialect auto-detects from the name, so no behavioural change). Rename the QWEN_LOCAL default entry/key → local; update the default-assertion tests. All illustrative model names in docs → deepseek-v4-flash.
  • ⚠️ A live smoke on the Spark boxes is the final confirmation of the default flip — the change is a fallback-only string + dialect auto-detect, structurally validated.

Wrong facts corrected

  • validation.mdx — turn caps 250/40/400 → the unified 1000 crash-guard (+ no-progress guards).
  • greenfield.mdx — evaluator "gate → Playwright browser → judge" → gate (differential / reachability / testid) → judge; no headless browser is run.
  • write-diagnostics.mdx — error cap 5200; output-format example fixed to the real write-check shape.
  • eval docs — wrong path seeds/evals/corpus/; phantom money seed → math.

Missing capability documented

  • rule-packs.mdx — fix the generic-ts self-contradiction (detection label, not a rule pack); add a "Bring your own rules" section (tsforge.config.json plugins). stack-detection.mdx — add the plugins tuning row. interactive.mdx — add /scaffold.

Verified accurate (left as-is)

gate-floor, scout, spec-runner, edit-engine, fix-to-green, delegation, model-agent, models-json, scaffold-CLI, TTSR, hashline, repair-ladder, memory, MCP, web-tools, LSP, policy, tests, meta-rules.

agjs added 2 commits August 1, 2026 15:35
…odel to DeepSeek

Cross-referenced all ~45 doc pages against the code (fan-out audit) and fixed the drift:

ARCHITECTURE (the big one)
- Rewrite big-picture.mdx around the real shape: a general stack-agnostic core + adapters
  behind seams (IStackAdapter / IConventionProvider / IPlanSchema / IGate / external-plugins),
  with the mechanical import boundary. Replace the stale static board image with two live
  Mermaid diagrams — a layers/seam diagram and a request-flow diagram (prompt → plan → drive-to-
  green loop → gate → panel → done). Retire the static board from quickstart too (kept for the
  OG social card only).

MODEL (align to reality)
- Flip the shipped default from qwen3.6-27b → deepseek-v4-flash (PROVIDER_DEFAULTS; the reasoning
  dialect auto-detects from the model name, so no behavioural flip). Rename the QWEN_LOCAL default
  entry/key → local. Update the default-assertion tests. Illustrative model names across the docs
  → deepseek-v4-flash.

WRONG FACTS
- validation.mdx: turn caps 250/40/400 → the unified 1000 crash-guard (+ no-progress guards).
- greenfield.mdx: evaluator "gate → Playwright browser → judge" → gate (differential /
  reachability / testid) → judge; no headless browser is run.
- write-diagnostics.mdx: error cap 5 → 200; output-format example fixed to the real write-check shape.
- eval docs: wrong path seeds/ → evals/corpus/; phantom `money` seed → `math` (real seed).

MISSING
- rule-packs.mdx: fix the generic-ts self-contradiction (it's a detection label, not a rule pack);
  add a "Bring your own rules" section (tsforge.config.json plugins). stack-detection.mdx: add the
  plugins row. interactive.mdx: add the /scaffold slash command.

Docs build green (47 pages, Mermaid renders); `bun run validate` green.

NOTE: a live smoke of the deepseek default on the Spark boxes is the final confirmation of the
model flip — the change itself is a fallback-only string + dialect auto-detect, structurally validated.
…g pass)

De-em-dash pass over all 38 prose doc pages (rules-catalog.md excluded — generated):
239 prose em dashes replaced with contextually-correct punctuation (period / colon /
parentheses / comma). Pure punctuation edits — a perfect 1:1 line swap (264/264), with
every command, flag, path, number, code block, and mermaid diagram left byte-identical.
Remaining dashes are legitimate: table N/A placeholders and bash-comment separators inside
code fences. Also quote a frontmatter description whose new colon broke YAML. Docs build green.
@agjs
agjs merged commit 090336c into main Aug 1, 2026
8 checks passed
@agjs
agjs deleted the docs/architecture-sync branch August 1, 2026 14:02
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