claude@clouddev1
f1e9484af3
feat(seed): command plumbing + walking skeleton (ADR-0048 P1.2)
End-to-end `seed <table> [count]` path, both modes:
- Command::Seed AST + grammar node (show-data table slot + optional
positional count) + REGISTRY registration + build_seed.
- Runtime dispatch -> Database::seed -> Request::Seed worker arm ->
do_seed.
- do_seed (Phase-1 skeleton): generates whole rows for non-FK,
non-autogen columns via the seed library and inserts them one at a
time through do_insert (reusing validation / autogen autofill /
FK-error / persistence). One undo step (snapshot_then wraps it) and
one history.log line (only the first row carries the source);
default count 20.
- help (`help seed`) + parse-usage catalog entries.
- Reuses CommandOutcome::Insert for the auto-show; a dedicated
SeedResult (capped preview + advisory) replaces it in P1.3.
5 Tier-3 integration tests (parse, populate+persist, default-20,
reproducible --seed, one history line). 2327 pass / 0 fail / 0 skip,
clippy all-targets clean.
Deferred to P1.3: FK sampling, identifier/constraint uniqueness, CHECK
derivation, block guard, capped preview, advisory, multi-row path.
Deferred to P1.4: completion/highlight/hint/validity wiring + --seed flag.
2026-06-11 16:57:43 +00:00
..
2026-06-11 16:57:43 +00:00
2026-06-11 16:57:43 +00:00
2026-06-10 11:38:22 +00:00
2026-05-24 20:53:00 +00:00
2026-06-11 15:35:17 +00:00
2026-06-11 08:40:07 +00:00
2026-06-02 14:23:21 +00:00
2026-06-11 16:57:43 +00:00
2026-06-02 06:47:34 +00:00
2026-06-10 22:22:12 +00:00
2026-06-02 14:23:21 +00:00
2026-06-10 14:26:33 +00:00
2026-06-11 16:57:43 +00:00
2026-06-10 14:26:33 +00:00
2026-06-10 18:44:27 +00:00
2026-06-07 14:04:00 +00:00
2026-06-11 15:35:17 +00:00
2026-06-10 11:38:22 +00:00
2026-05-09 22:29:28 +00:00
2026-06-02 06:47:34 +00:00
2026-06-10 10:17:09 +00:00
2026-06-11 16:57:43 +00:00
2026-06-11 07:02:23 +00:00
2026-05-08 14:32:19 +00:00
2026-06-11 08:40:07 +00:00
2026-06-02 14:34:34 +00:00