Commit 252c526
committed
skills(platform): excise the nonexistent data:* hook system; fix fabricated surface
Third-party review found the skill's core plugin-development narrative
teaching a data:* kernel hook system that does not exist in the
codebase — ctx.hook() accepts any string, so handlers registered
against data:beforeInsert etc. silently never fire (the worst failure
mode). Also fabricated wholesale: six adapter packages, three driver
packages, three scaffold templates, and the Part-3 testing API.
- data:* excised from four files; replaced with the real kernel events
(kernel:ready|bootstrapped|listening|shutdown, app:seeded,
metadata:reloaded, external.schema.drift) with payloads read from the
actual trigger sites, plus a prominent record-lifecycle-belongs-to-
objectstack-data cross-reference. metadata:changed →
metadata:reloaded.
- Adapters: only @objectstack/hono + @objectstack/plugin-hono-server
exist. Drivers: driver-memory/driver-sql (SqlDriver via Knex)/
driver-mongodb/driver-sqlite-wasm; driver-turso marked cloud/EE-only;
driver-postgres/-sqlite/-d1 and SQLiteDriver/PostgreSQLDriver
removed.
- Templates corrected to blank|todo|compliance|content|contracts|
procurement; LiteKernel testing rewritten to the real surface
(use/bootstrap/getService — no create/api/seed/reset).
- defineStack key list regenerated from ObjectStackDefinitionSchema
(41 keys; workflows/approvals/ragPipelines/roles/policies/driver/
logging are silently-stripped phantoms — ADR-0019/0020 noted);
bootstrap-patterns.md rewritten around DriverPlugin + a valid
manifest (id/version/type/name required).
- CLI truth: no os studio / os data seed / os meta apply; os diff/
cloud/start/info descriptions corrected; /health + /ready; Console
mounts at /_console/ (studio plugin intentionally not default-
loaded); HonoServerPlugin registers before AuthPlugin; port 3000.
- Service registry: required key is data; REST plugin id
com.objectstack.rest.api registers no service; registerService
throws on duplicate; fallbacks are createMemory* factories;
null-placeholder anti-pattern removed; deps at ^16.0.0-rc.1
mirroring the blank template; evals README rewritten for platform.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012Kj2MJEPXoUXC4LiC3XYJc1 parent 57f2e2c commit 252c526
7 files changed
Lines changed: 547 additions & 574 deletions
File tree
- skills/objectstack-platform
- evals
- references
- rules
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
0 commit comments