fix: close rc.3 review defects in strict destinations and Analysis cleanup
- Reject strict live/file observation destinations before opening a session: a rejected destination no longer writes a partial JSONL stream or snapshot. - Remove a previous `check --emit` artifact when the project cannot be loaded, not only when it has compile errors, so a consumer can never bind a run to a stale Analysis document. - Report the concrete `fs.exists|metadata|list|mkdir|remove|rename` effect operation instead of collapsing all six into `resource.request`. - Preserve the plugin ABI frame codes through the shared worker transport: an over-limit frame is `worker_frame_too_large` and an encode failure is `worker_encode_failed`, not a generic `worker_frame_invalid`. - Give the event and snapshot schemas the same capture `level` enum and document the levels in spec/observation.md. - Add a regression test for each fix.
This commit is contained in:
1 parent
238e4065c1
commit
44a118003f
9 files changed
+203
-19
No files matched your search
@@ -30,6 +30,9 @@ the [event schema](schemas/observation-event.schema.json) for the exact
|
||||
fields. Reject other format identifiers, unknown kinds and invalid payloads.
|
||||
|
||||
- `stream.opened` is first, with producer, capture policy and budget limits.
|
||||
The capture level is `base` (lifecycle only), `structural` (frame, branch,
|
||||
loop and effect events) or `values` (explicitly selected names); the
|
||||
snapshot `capture` metadata repeats the same level.
|
||||
- `run.started` binds an entry, mode and source. `source.root_id` and
|
||||
`source.analysis_digest` identify the exact Analysis JSON emitted by
|
||||
`check --emit` for the same project and static options. The digest is
|
||||
|
||||
@@ -81,6 +81,7 @@
|
||||
"properties": {
|
||||
"level": {
|
||||
"enum": [
|
||||
"base",
|
||||
"structural",
|
||||
"values"
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user