FSDS SOTA 2026 DSAI + EDAI Textbook
Governance ~5 phút đọc

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, and platform/content/<unit>/quiz_and_hints.json. Concurrent streams MUST NOT touch platform/manifest.py, platform/tests/test_web_platform.py, dist/, AGENTS.md, or any Track/Part/Root README.md.
  • Centralized Stage 5C Integration Merge: Only after all streams in a wave pass their unit-local 14/14 pytest, ruff check, node --check, and md_renderer quality gates does the Coordinator register all wave units in platform/manifest.py, extend platform/tests/test_web_platform.py, update README.md trackers, run D:\FSDS-SOTA-Curriculum\.venv\Scripts\python.exe platform/build_site.py, run ALL lab + platform pytest suites, 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>/):

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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-*.md following 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% passing pytest + runnable CLI/benchmarks.
    • Stage 5C (HTML Compile & Web Audit): Register the unit in platform/manifest.py, rebuild dist/ via python platform/build_site.py, validate JS syntax with node --check, and pass pytest platform/tests -v.

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 ALL labs/*/README.md Lab 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 Python 3.12+ in the isolated workspace virtual environment (D:\FSDS-SOTA-Curriculum\.venv, managed via uv + pyproject.toml + uv.lock), formatted/linted with ruff (D:\FSDS-SOTA-Curriculum\.venv\Scripts\ruff.exe) and statically type-checked with mypy. Note: platform/ intentionally has NO __init__.py so it never shadows Python stdlib platform.
  • Two-Tier Lab Architecture & AST Policy: Every lab implements a Tier 1 Reference Core (clean from-scratch algorithmic implementation + deterministic offline pytest verification) alongside Tier 2 SOTA Ecosystem Parity (scikit-learn, scipy, polars, xgboost, lightgbm, catboost, shap, optuna, httpx, sqlalchemy, torch, etc. installed in .venv via uv). 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 \n LF 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:
    1. Executable Pillar 3 Code: All Pillar 3 Python snippets must be runnable, typed, and seeded (zero comment-only code blocks or pseudo-code stubs).
    2. 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).
    3. Complete Pillar 5 Mastery Exercises: Multi-step derivations, system trade-offs, and debugging drills with explicit Grading Rubrics.
    4. Zero-Defect Build & Render Gate: Pass ruff check, node --check on all JS widgets/core, md_renderer checks (zero collapsed lists, zero leaked placeholder tokens, zero unresolved resolve_repo_link targets), pytest on all labs (14/14), python platform/build_site.py, and pytest platform/tests -v.
  • Progress Tracking: Upon passing all Stage 5C gates, immediately check off [x] in the Part README.md, Track README.md, and root README.md queue.