docs: make the current contracts describe the binary that exists
- spec/security.md: replace the retired --json/EffectTrace/--trace-file sections with the current strict output contract (text or one snapshot from the verified child, live/file destinations refused) and Observation effect events; drop the deleted trace.rs implementation row. - spec/package-format.md, spec/value-wire.md, spec/evaluation.md, spec/resource-provider-v2.md, spec/foreign.md: describe the current --output/--observation-file and Observation events instead of run/call --json and Execution Events. - spec/analysis.md: a load failure removes the previous artifact, not only a compile error. - COMPATIBILITY.md and docs/developers/*: current axes are Analysis v3, Observation v1 and CLI Tool revision 1; Rust 1.89; rc.3 candidate status. - Fix the Analysis v2 / Trace v2 / trace-file references in README, architecture overview, contributor guide, tool example, source comments and AGENTS.md. - Add a docs-consistency gate that fails when spec/ or the current developer guides document a retired interface or a deleted spec path.
This commit is contained in:
1 parent
682eae82b6
commit
d11b261aca
19 files changed
+196
-117
No files matched your search
@@ -38,6 +38,7 @@ has opted into this disclosure. Program output and explicit returned values
|
||||
can themselves contain sensitive data.
|
||||
|
||||
Update integrations that previously used the retired run/call JSON,
|
||||
Trace or Execution Events options. Use the commands above, remove the old
|
||||
Trace, Execution Events or retired run/call options. Use the commands above,
|
||||
remove the old
|
||||
reader, and rebuild and reinstall the Tool with the
|
||||
[current manifest](../../spec/cli-tool.md).
|
||||
@@ -8,11 +8,10 @@ This page summarizes the public support policy. The authoritative matrix is
|
||||
|
||||
| Axis | `3.0.0-rc.3` value | Change rule |
|
||||
|---|---|---|
|
||||
| Product / CLI | `3.0.0-rc.2` | SemVer prerelease. See `CHANGELOG.md` for changes from the beta. |
|
||||
| Analysis | v2 | New major for incompatible changes; consumers reject unknown majors. |
|
||||
| Trace | v2 | New major for incompatible changes; binds to exact Analysis bytes. |
|
||||
| Execution Events | v1 | One-line NDJSON stream; new major for incompatible required-field/ordering/redaction changes. Consumers reject unknown majors. |
|
||||
| CLI Tool | v1 | Frozen manifest/negotiation/bundle contract for v1. |
|
||||
| Product / CLI | `3.0.0-rc.3` (candidate) | SemVer prerelease. See `CHANGELOG.md` for changes from the beta. |
|
||||
| Analysis | v3 | One writer and one current major for every project. New major for incompatible changes; consumers reject unknown majors. |
|
||||
| Observation | v1 | One `run_id`/`seq` event sequence per execution; JSONL, JSON snapshot and file snapshot come from the same run. New major for incompatible required-field/ordering/redaction changes. |
|
||||
| CLI Tool | revision 1 | Exact `requires.api_revision` plus optional exact `analysis`/`observation` integers; no version arrays or negotiation. |
|
||||
| Plugin ABI | v1 (`1.0`) | Frozen C layout and version negotiation. |
|
||||
| Foreign wire | v1 | One-shot request envelope. |
|
||||
| Provider manifest | v2 | `schema_version: 2`, `abi: c-abi-1`, `transport: worker`. |
|
||||
@@ -21,8 +20,8 @@ This page summarizes the public support policy. The authoritative matrix is
|
||||
| Bundled stdlib | `0.1.0` | Independent package version; not the product version. |
|
||||
| Plugin/tool/example packages | their own | Independent SemVer. |
|
||||
|
||||
`project.marqdo` and a tool's `compatibility.marqdo` are **enforced product
|
||||
ranges**. Prerelease cores require a prerelease range such as
|
||||
`project.marqdo` is an **enforced product range**; a tool declares its exact
|
||||
current protocol requirements in `requires`. Prerelease cores require a prerelease range such as
|
||||
`>=3.0.0-beta.1,<4.0.0`; `>=3.0.0,<4.0.0` does not match the RC.
|
||||
|
||||
## Candidate platform scope
|
||||
@@ -36,9 +35,9 @@ ranges**. Prerelease cores require a prerelease range such as
|
||||
|
||||
Strict is Linux-only and probe-gated. Plugin/provider worker transports are not
|
||||
OS sandboxes. `pure`/`project` are execution modes, not security boundaries.
|
||||
Execution Events v1 is a live observation protocol: it is not a capability
|
||||
grant, values are off by default, and `--mode strict` currently refuses
|
||||
`--output jsonl` explicitly (no downgrade).
|
||||
Observation v1 is a live observation protocol: it is not a capability grant,
|
||||
values are off by default, and `--mode strict` refuses `--output jsonl` and
|
||||
`--observation-file` explicitly (no downgrade).
|
||||
|
||||
## Language compatibility
|
||||
|
||||
|
||||
@@ -49,8 +49,8 @@ Even when available:
|
||||
wire-incompatible kernels.
|
||||
* **CLI tools**: a tool is an ordinary user-authorized executable and does
|
||||
**not** inherit `pure`/`project`/`strict` guarantees from the documents it
|
||||
reads. `MARQDO_BIN`, `MARQDO_TOOL_PROTOCOL`, `MARQDO_PROTOCOL_ANALYSIS` and
|
||||
`MARQDO_PROTOCOL_TRACE` are the only helpers the CLI injects.
|
||||
reads. `MARQDO_BIN` and `MARQDO_API_REVISION` are the only helpers the CLI
|
||||
injects; version negotiation was removed.
|
||||
* **Extension selection** (`marqdo.yaml.extensions`, lock v4) is never
|
||||
authorization. `--allow-plugin`, `--allow-provider` and `--allow-foreign`
|
||||
are still required.
|
||||
@@ -77,19 +77,19 @@ Archives are accompanied by SHA256 checksums and `RELEASE_INFO.json`
|
||||
integrity only; they are **not** a publisher signature. A digest obtained from
|
||||
an untrusted Git URL does not make the code trustworthy.
|
||||
|
||||
## Execution Events v1
|
||||
## Observation
|
||||
|
||||
* Implemented: live stdout/stderr chunks, lifecycle/terminal events, call
|
||||
instance ids, branch/loop/effect events, explicit bounded value observation.
|
||||
* Not implemented: memory region/budget metadata (OBS-06/P2), raw memory
|
||||
content, breakpoints/stepping/time travel, and a bidirectional debug
|
||||
protocol. Do not infer a debugger from this protocol.
|
||||
* `--mode strict` currently rejects `--output jsonl` explicitly; there is no
|
||||
silent fallback to `project`.
|
||||
* `--mode strict` rejects `--output jsonl` and `--observation-file` before
|
||||
launch; there is no silent fallback to `project`.
|
||||
* The live lane is tested on Linux x86_64; macOS/Windows are unverified for
|
||||
this option for this candidate.
|
||||
* In-process native plugins are rejected in event mode
|
||||
(`ext.event_stream_unsupported_native_plugin`) because they share the process
|
||||
* In-process native plugins are rejected with an active machine destination
|
||||
(`ext.observation_unsupported_native_plugin`) because they share the process
|
||||
and can write the protocol fd directly; worker plugins remain usable.
|
||||
* Observation lowers confidentiality when values are explicitly enabled. Text
|
||||
needs a second opt-in; View/agents must not enable these flags by default.
|
||||
|
||||
Reference in new issue
Block a user