Repository navigation
Commit cda3419
chore(sdk)!: remove the forge memory record schemas and their file storage
BREAKING (pre-1.0). `RecordCore` / `RecordType` / `RecordSource`,
`DecisionRecord` / `PrincipleRecord` / `ConventionRecord` / `GlossaryRecord` /
`FailureRecord` / `AnyRecord`, and the whole storage layer beside them —
`readRecord`, `recordExists`, `writeRecord`, `removeRecord`, `listRecords`,
`promoteRecord`, `supersede`, `ForgeRecordNotFoundError`,
`ForgeAlreadyPromotedError`, `ForgeRecordParseError`, `ListOptions` — are gone
from `@metaobjectsdev/sdk`.
They are the predecessor product's record store. Nothing in this repository
imported either module — not the CLI, not a generator, not another package — and
a sweep of all seven adopter estates found no use of any of the fifteen names.
The only consumers were the modules' own tests, which go with them.
This is the second half of the same decision as the commit before it: the
vocabulary those schemas describe is no longer in any default composition, so a
published API for a store nothing reads would have been frozen into 1.0 for its
own sake. `recordPath` stays in `paths.ts` — a path helper, separately tested,
and not part of this surface. `zod` stays a dependency: `config.ts` and
`package.ts` still use it.
Workspace build and typecheck clean; sdk 275 pass, 0 fail.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTcEKXTQMYt84fAjuw5A2M1 parent 8bf273a commit cda3419
17 files changed
Lines changed: 8 additions & 752 deletions
File tree
- server/typescript/packages/sdk
- src
- records
- storage
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
24 | 9 | | |
25 | 10 | | |
26 | 11 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments