Repository navigation
feat(primitives): describe tables and file stores - #262
Conversation
Astra reviewReviewed StandardsNo merge-blocking method or YAGNI findings. The implementation extends the existing config, schema and inventory paths without adding the deferred CLI reminder or discovery features. SpecNo merge-blocking intent findings. Descriptions are required at config execution and manifest validation, persist in inventory, and reach the inventory API. Redefinition replaces them; omission and rollback preserve them; description-only changes leave the schema revision unchanged. Config collision diagnostics name both primitives. Checked the CLI and local inventory mirrors, initialization DDL, starter config and SDK fixtures, project skills, API/CLI documentation, and domain/product documentation. Verification92 tests passed across four focused suites: Summary: Standards 0 blockers; Spec 0 blockers. No blocking issue in either axis. |
Code review (PR 262 / #249)Reviewed Six parallel reviews: Standards, Spec, Effect conventions, #249 intent, method/YAGNI, and hit-every-surface. Intent (#249)Agents could see table and store names and still not know what a row or file is. Descriptions are config-owned metadata, first argument of The PR implements that, not a nearby ticket. Skills teach what one row or object is (keys, units), not a label. Method and YAGNIThis is the smallest correct path. Description is one required field on the existing config, Manifest, inventory row, and inventory GET shapes. There is no second schema, mapper, or plan type.
Name collision lives on
Standards(a) Documented standards
(b) Baseline smells (always judgement)
No hard Effect-service layout, import, or runtime-boundary violations in Tables / Inventory. Spec(a) Missing or partial. None of #249 / §6 primitive-description requirements are missing.
(b) Scope creep. No extra product behavior. Collision is also on the Manifest wire (a crafted publish is refused too); #249 named config, but it is the same (c) Implemented but wrong. No mismatches found. Standards: 3 findings (all judgement). Worst: existing local company databases will miss |
|
Reviewed both conversation reports against #249 and the implementation. The Reviews tab and inline-review endpoint contain no additional feedback. Fixed
Kept as is
Verification
GitHub reports no configured required checks for this stacked target, so I waited for every reported check. The PR is |
Require nonblank descriptions in config and manifests, persist them in cumulative inventory without schema revision changes, and preserve them on omission and rollback. Update starter configs, SDK fixtures, project skills and documentation. Keep config error diagnostics bounded while naming table/store collisions. Closes #249
4b3b9e3 to
2e93f4d
Compare
Agents could see table and file-store names but not what their data represents.
Require nonblank descriptions in config and manifests, persist them in inventory, and return them through the inventory API. Description edits leave schema revisions unchanged; omission and rollback preserve the stored text. Update init, SDK fixtures, project skills and documentation, and reject table/store name collisions with bounded diagnostics naming both.
Stacked on
portal/248-lifecycle. This PR targets that branch and contains only the work for #249. Inventory initialization DDL changes in place as specified; existing dev databases must be recreated.Closes #249.
Verification
pnpm typecheckpnpm lintpnpm test --maxWorkers=2: 767 tests passed across 77 filespnpm test:postgres-concurrency: passedpnpm test:packed-cli-e2e: passed, including init, dev, hosted tier 1 and additive publishingImplemented with openai-codex/gpt-6-astra in Oh My Pi.