feat(standards): codify codegen, ship generic Tier-B infra, add get_app_template + prompts; fix docs:// regressions
P0: fix doc:// -> docs:// across standards src/server/registry and regenerate stale mongo-ops bundle. P1: build recipe + spec-first routing now document the openapi-first codegen fast path (models/routes with --inject-request/--package). P4: CRUD template documents the model-vs-document id rule (BaseDocument owns id). P5: authless guidance (omit security keys). P6: template gains generic infra (http_cache, keyed SSE bus, KV port+in-memory+Redis), interfaces/openapi.py + .dockerignore + generic build test registered as components, and a get_app_template tool; genericity matrix marks LLM pool + human-in-loop as reference-app patterns. P7: intake/build/start_app/trial prompts. P8: template ships tests/integration/test_openapi_app_builds.py. Rebuilt standards + openapi-first bundles and re-collected.
This commit is contained in:
@@ -36,6 +36,12 @@
|
||||
"placeholder": "resource",
|
||||
"description": "Thin HTTP handlers bound to operationIds."
|
||||
},
|
||||
{
|
||||
"kind": "openapi-routes",
|
||||
"path": "interfaces/openapi.py",
|
||||
"placeholder": "",
|
||||
"description": "Route registry: flat re-export of every handler namespace."
|
||||
},
|
||||
{
|
||||
"kind": "test-model",
|
||||
"path": "tests/unit/test_item_models.py",
|
||||
@@ -48,6 +54,18 @@
|
||||
"placeholder": "resource",
|
||||
"description": "Integration test at the HTTP edge."
|
||||
},
|
||||
{
|
||||
"kind": "test-openapi-build",
|
||||
"path": "tests/integration/test_openapi_app_builds.py",
|
||||
"placeholder": "",
|
||||
"description": "Generic test: every spec operationId resolves and the app builds."
|
||||
},
|
||||
{
|
||||
"kind": "test-pipeline",
|
||||
"path": "tests/unit/test_item_sync.py",
|
||||
"placeholder": "",
|
||||
"description": "Unit test for the smallest pipeline form."
|
||||
},
|
||||
{
|
||||
"kind": "pipeline-abc",
|
||||
"path": "pipelines/example/abc.py",
|
||||
@@ -168,6 +186,12 @@
|
||||
"placeholder": "",
|
||||
"description": "API + worker image with private-index wiring."
|
||||
},
|
||||
{
|
||||
"kind": "dockerignore",
|
||||
"path": ".dockerignore",
|
||||
"placeholder": "",
|
||||
"description": "Docker build-context exclusions."
|
||||
},
|
||||
{
|
||||
"kind": "compose",
|
||||
"path": "docker-compose.yaml",
|
||||
@@ -198,6 +222,30 @@
|
||||
"placeholder": "",
|
||||
"description": "Generic CRUD service adaptor."
|
||||
},
|
||||
{
|
||||
"kind": "http-cache",
|
||||
"path": "infra/http_cache.py",
|
||||
"placeholder": "",
|
||||
"description": "Response cache decorator + Redis store (generation invalidation)."
|
||||
},
|
||||
{
|
||||
"kind": "progress-bus",
|
||||
"path": "infra/adapters/sse.py",
|
||||
"placeholder": "",
|
||||
"description": "In-memory SSE progress bus (keyed by an event attribute)."
|
||||
},
|
||||
{
|
||||
"kind": "kv-store",
|
||||
"path": "infra/adapters/kv.py",
|
||||
"placeholder": "",
|
||||
"description": "KV port + in-memory fallback + optional Redis adaptor."
|
||||
},
|
||||
{
|
||||
"kind": "package-init",
|
||||
"path": "domain/__init__.py",
|
||||
"placeholder": "",
|
||||
"description": "Empty package marker; add an __init__.py to every package dir."
|
||||
},
|
||||
{
|
||||
"kind": "script-seed",
|
||||
"path": "scripts/seed.py",
|
||||
|
||||
Reference in New Issue
Block a user