Commit 409e39d
committed
feat(data): add nine dream-system validation scenarios
Add `data/dream-validation.yaml` covering the four roadmap items the
new scorer kinds were built to grade:
P-1.3 retract-vs-soft-delete (Snodgrass bi-temporal):
- dream-demotion-retract-discipline (passes against compliant fixture)
- dream-demotion-snodgrass-violation (negative: fixture sets both
timestamps; scenario MUST fail on timestamp_discipline)
P0.3a stale-fact deprecation:
- dream-demotion-stale-fact (pricing edge correctly demoted to
superseded)
P0.3b scoped cascading expiry:
- dream-demotion-cascade-bounded (single-hop discipline held)
- dream-demotion-cascade-runaway (negative: fixture touches a 2+ hop
edge; scenario MUST fail on cascade_bounded)
P1 procedure synthesis (per `dreaming-procedures.md`):
- dream-procedure-weekly-report (4 ordered steps + 2 parameters)
- dream-procedure-client-onboarding (different workflow, exercises
the scorer on a non-degenerate case)
P2 memory dedup:
- dream-dedup-near-duplicates (clean merge of Sarah-billing facts;
HubSpot + fiscal-year stay singletons)
- dream-dedup-false-positive (negative: over-merges Sarah-billing
with Sarah-manager; scenario MUST fail on ARI + pairwise precision)
Eight JSON fixtures under `data/fixtures/dream/` back the offline path;
each scenario also accepts a `source.raw_exchange_key` swap when
AutoGPT's dream pass starts emitting structured payloads inline.
Pack-level pinning in `tests/unit/dream-validation.test.ts` asserts:
- ship-shape counts (>=4 demotion, >=2 procedure, >=2 dedup)
- every fixture exists on disk relative to the YAML
- happy-path scenarios pass against their golden
- negative scenarios fail in the expected way (timestamp_discipline,
cascade_bounded, over-merge)
Docs updated: `platform.md` gets a new spec scenario, `current-state.md`
marks it implemented, `e2e-checklist.md` references the test files,
generated workspace inventory + quality score refreshed.1 parent d253e3b commit 409e39d
16 files changed
Lines changed: 676 additions & 2 deletions
File tree
- data
- fixtures/dream
- docs
- generated
- product-specs
- tests/unit
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments