feat(standards): fix F11-F16 and rebuild bundle (43 components) + trial findings

- F11 PopulateRule field_name/collection_name corrections
- F12 service adaptor update handles PopulatingRepository
- F13 nested-references section; F14 authless /users/me guidance
- F15 template ruff-clean; F16 stop vendoring .ruff_cache, ship .gitignore
- document --template-style in build_recipe/spec_first_routing; refresh collected
  openapi-first + standards bundle (12 modules, 43 components)
- add trial.md and trial_findings.md (F1-F16, re-trial A/B evidence)
This commit is contained in:
2026-10-13 19:35:12 +05:30
parent fced40af59
commit 6c0d859a1e
56 changed files with 521 additions and 165 deletions

View File

@@ -241,6 +241,8 @@ _TEMPLATE_COMPONENTS: list[dict[str, str]] = [
"description": "API + worker image with private-index wiring."},
{"kind": "dockerignore", "path": ".dockerignore", "placeholder": "",
"description": "Docker build-context exclusions."},
{"kind": "gitignore", "path": ".gitignore", "placeholder": "",
"description": "VCS exclusions (caches, venv, generated _gen/)."},
{"kind": "compose", "path": "docker-compose.yaml", "placeholder": "",
"description": "api + worker + mongo compose file."},
{"kind": "env-example", "path": ".env.example", "placeholder": "",
@@ -319,7 +321,10 @@ def build_templates(folder: Path, dry_run: bool = False) -> None:
out_dir.parent.mkdir(parents=True, exist_ok=True)
shutil.copytree(
src, out_dir,
ignore=shutil.ignore_patterns("__pycache__", "*.pyc"),
ignore=shutil.ignore_patterns(
"__pycache__", "*.pyc", ".ruff_cache", ".pytest_cache",
".mypy_cache", ".venv", "venv", ".git", "*.egg-info", "htmlcov",
),
)
manifest = build_components_manifest(out_dir)
(folder / "mcp" / "components.json").write_text(