FSDS-SOTA-2026 Workspace Governance & Multi-Agent Authoring Protocol
Chiến lược Đánh Từng Mục và ma trận chọn Subagent.
This workspace contains the Full-Stack Data Science & AI Engineering (FSDS-SOTA-2026) curriculum project (Track 1: DSAI + Track 2: EDAI).
Scope Exclusion: Data Analytics (DA) and Building AI Web Apps (BAIW) are strictly excluded from all tracks, syllabi, chapters, and labs.
1. Unit-by-Unit & Wave-Based Parallel Execution Strategy#
Every unit MUST still execute end-to-end as a complete vertical slice (research -> synthesis -> chapter + verified lab + web widgets + quiz), never in shallow horizontal sweeps. To accelerate delivery (3x+ throughput) without sacrificing rigor, units may run in Wave-Based Multi-Stream Parallelism (e.g. 3 independent Unit Pipelines executing concurrently across disjoint directories).
1.1 Wave-Based Multi-Stream Parallel Execution Rules#
- Strict File Isolation per Stream: Each Unit Lead owns strictly its
_research/ch-XX/,ch-XX-*.md,labs/<lab-dir>/,platform/assets/js/widgets/<unit>.js, andplatform/content/<unit>/quiz_and_hints.json. Concurrent streams MUST NOT touchplatform/manifest.py,platform/tests/test_web_platform.py,dist/,AGENTS.md, or any Track/Part/RootREADME.md. - Centralized Stage 5C Integration Merge: Only after all streams in a wave pass their unit-local
14/14pytest,ruff check,node --check, andmd_rendererquality gates does the Coordinator register all wave units inplatform/manifest.py, extendplatform/tests/test_web_platform.py, updateREADME.mdtrackers, runD:\FSDS-SOTA-Curriculum\.venv\Scripts\python.exe platform/build_site.py, run ALL lab + platformpytestsuites, and commit cleanly.
Standard Unit Lifecycle (The 5-Stage Pipeline)#
Every unit MUST pass sequentially through these 5 stages inside its Part directory (<track>/<part>/):
- Stage 1 — Base Knowledge Research (
_research/ch-XX/01-base-knowledge.md)- First-principles definitions, mathematical derivations, proofs/identities, algorithmic complexity, memory layouts, and foundational CS/DS mechanics.
- Stage 2 — Advanced & SOTA Research (2024–2026) (
_research/ch-XX/02-advanced-sota.md)- Frontier 2024–2026 papers, modern engine/kernel internals, statistical significance refinements, hardware roofline limits, and SOTA toolchains.
- Stage 3 — Industry Tips, Production-Grade & Real-Product Case Studies (
_research/ch-XX/03-industry-cases.md)- Real-world production architectures & postmortems (e.g., Instacart, Walmart, Amazon, Netflix, Uber, Stripe, Booking.com), operational failure traps, latency/memory/cost budgets, and production anti-patterns.
- Stage 4 — Curated Synthesis ("Biên soạn lại") (
_research/ch-XX/04-curated-blueprint.md)- Reconcile Stages 1–3 against 00-source-extraction/ and AUTHORING_STANDARDS.md: unify mathematical notation, design Mermaid diagrams, eliminate duplication, and lock the exact API/metric/dataset contract between the textbook chapter and its runnable lab.
- Stage 5 — Parallel Authoring, Interactive Web Publication & Verification ("Viết bài, Code Lab & Web Portal")
- Stage 5A (Textbook Chapter + Web Widgets): Write
ch-XX-*.mdfollowing all 5 pillars in AUTHORING_STANDARDS.md with<!-- fsds-widget:... -->mounts, plus bespoke JS simulations (platform/assets/js/widgets/<unit>.js) and browser-graded quiz/hints (platform/content/<unit>/quiz_and_hints.json). - Stage 5B (Production Lab): Implement
labs/lab-XX-*/(pyproject.toml,README.md,src/,scripts/,tests/), export empirical benchmark JSON (artifacts/*.json), and verify 100% passingpytest+ runnable CLI/benchmarks. - Stage 5C (HTML Compile & Web Audit): Register the unit in
platform/manifest.py, rebuilddist/viapython platform/build_site.py, validate JS syntax withnode --check, and passpytest platform/tests -v.
- Stage 5A (Textbook Chapter + Web Widgets): Write
2. Subagent Selection Matrix#
Always select the right agent type for each stage and parallelize independent work:
| Stage | Task Nature | Subagent Type | Execution Mode |
|---|---|---|---|
| Stages 1, 2, 3 | Independent read-only deep research & web/literature search | Built-in research (Model="inherit"). Fallback to self (read-only instructions) only if web search is unavailable. |
3 parallel subagents |
| Stage 4 | Synthesis & architectural blueprint writing | Custom curriculum-synthesizer (EnableWriteTools=True) |
Sequential gate after Stages 1–3 |
| Stage 5A | Long-form SOTA textbook chapter authoring (ch-XX-*.md) |
self (or dedicated textbook author) |
Parallel with Stage 5B (disjoint file paths) |
| Stage 5B | Production Python/Infra lab coding & pytest verification |
Custom production-lab-engineer (EnableWriteTools=True) |
Parallel with Stage 5A (disjoint directory) |
Never run two write-capable subagents on the same file or directory simultaneously.
3. Hard Quality, Language & Environment Rules#
- Language Mandate (100% Vietnamese): ALL textbook chapters (
ch-XX-*.md) AND ALLlabs/*/README.mdLab Guides MUST be authored 100% in natural Vietnamese (keeping standard English technical terms, library identifiers, and formulas in parentheses or inline code). - Python Environment (
3.12+&uv): Standardize on Python3.12+in the isolated workspace virtual environment (D:\FSDS-SOTA-Curriculum\.venv, managed viauv+pyproject.toml+uv.lock), formatted/linted withruff(D:\FSDS-SOTA-Curriculum\.venv\Scripts\ruff.exe) and statically type-checked withmypy. Note:platform/intentionally has NO__init__.pyso it never shadows Python stdlibplatform. - Two-Tier Lab Architecture & AST Policy: Every lab implements a Tier 1 Reference Core (clean from-scratch algorithmic implementation + deterministic offline
pytestverification) alongside Tier 2 SOTA Ecosystem Parity (scikit-learn,scipy,polars,xgboost,lightgbm,catboost,shap,optuna,httpx,sqlalchemy,torch, etc. installed in.venvviauv). NEVER ban legitimate SOTA DS/ML/Infra libraries in AST guards; ONLY ban unsafe deserialization (pickle,joblib,cloudpickle,dill,shelve,marshal). - No External Image Generation APIs: Never call external image APIs (
gpt-image-*,dall-e-*, etc.). Use Mermaid diagrams (flowchart,sequenceDiagram,stateDiagram-v2,classDiagram,erDiagram) with quoted special-character labels. - Formatting, Math & Markdown Hygiene: UTF-8 with
\nLF line endings; KaTeX$...$/$$...$$for math only; always escape literal currency$as\$in Markdown prose; avoid collapsed GFM lists, backtick-LaTeX clashes, and unescaped|inside Markdown table cells (\|). - Mandatory Quality Gates Before Stage 5C Sign-Off:
- Executable Pillar 3 Code: All Pillar 3 Python snippets must be runnable, typed, and seeded (zero comment-only code blocks or pseudo-code stubs).
- Complete 4-Section Deep-Dives: Every Special Topics article integrated into a unit must include all 4 required sections (Concrete Failure Case, Quantitative/Formal Model, Controlled Ablation/Empirical Script, and Production Decision Playbook).
- Complete Pillar 5 Mastery Exercises: Multi-step derivations, system trade-offs, and debugging drills with explicit Grading Rubrics.
- Zero-Defect Build & Render Gate: Pass
ruff check,node --checkon all JS widgets/core,md_rendererchecks (zero collapsed lists, zero leaked placeholder tokens, zero unresolvedresolve_repo_linktargets),pyteston all labs (14/14),python platform/build_site.py, andpytest platform/tests -v.
- Progress Tracking: Upon passing all Stage 5C gates, immediately check off
[x]in the PartREADME.md, TrackREADME.md, and rootREADME.mdqueue.