Repository navigation
Define canonical client command result contract - #6274
schickling-assistant wants to merge 13 commits into
Conversation
agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
Source-only draft: generated outputs pending admitted codegen; not consumer-ready. agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
|
Source-only draft head b6c0d55: NOT consumer-ready. Canonical implementation inputs and fixed-test-key signed vector template are published, but generated Rust/Swift/TypeScript outputs still await admitted cargo codegen. No generator, build or test completed yet. Existing live instances/pairings remain untouched. Posted on behalf of @schickling
|
Generated outputs remain pending admitted codegen; not consumer-ready. agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
Source-only contract: optional grant item_id and NowRoot/Attention signed vectors. Generated outputs pending admitted codegen. agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
Generated only by cargo run -j 4 -p fractal-client-codegen from exact signed source 9ac7024. Authorized short-slot receipt exit 0; admitted 17:49:05Z, released 17:49:26Z, GNU time peak RSS 1163212 KB. No tests run in this generation receipt. agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
|
Parked: generated contract is published at36592f7090; independent exact-head tests/byte-stability verification and review remain pending under the coordinated no-extra-queues hold. Reissue: verification admission is authorized. Generated API and golden JSON may be consumed now; no further canonical source work is active. Posted on behalf of @schickling
|
agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
|
Corrected shared generated head: Posted on behalf of @schickling
|
…cal errors agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
|
Owner-requested correction is published as signed source Posted on behalf of @schickling
|
Generated with cargo run -p fractal-client-codegen from exact source f92a263; source HEAD unchanged before and after the admitted payload. Exit 0, elapsed 4.47s, peak RSS 1146196 KiB. Only the three generated outputs were modified at commit preparation. agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
…d hashers agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
Problem
Bounded test-client control needs one interoperable signing contract, without message-send authority or a second protocol.
Goal and ordered source plan
A-3 belongs to each client implementation consuming THIS exact canonical source. A-4/A-5 journeys, A-6 live refusals and A-7 live store/signer/isolation evidence stay in separate consent-gated mission steps; no live fixture prerequisite is imposed on daemon source. Local-only fixture policy source feat(instance): enforce local-only fixture network boundary #6279 is an explicit prerequisite to enrollment. Stack #6290 carries the ordered daemon source layers.
Decisions
Existing device.command/device.result and phone.inspect/phone.navigate names remain. Purpose client.device-result.v1; purpose-first claim-fields-v1 lines bind RFC8785 JCS visible-state digest. All clients read one JSON vector file with canonical bytes/digest/fixed-key P256 signature and negative grant/run/command/purpose/message cross-use cases. Generated sources come only from cargo run -p fractal-client-codegen.
Verification
Current shared generated head
972b65b7c4cf8e3612ffdd4d756e11d0b7b011f2comes from exact source5613f10737357b245ee2fda7187ae90d346c7758. Authorized regeneration exited 0: elapsed 19.61 seconds, peak RSS 1,164,360 KiB, clean start, source HEAD fixed; only the expected generated TypeScript helper changed. Earlier strict-decoder regeneration also exited 0; no generated source was hand-edited.The contract now strictly rejects lifecycle sequence zero and values above 2^53-1 in Rust, Swift and TypeScript; shared negative vectors are decoded before stale-event checks. TypeScript exports ClientResultCanonicalizationError with invalid-unicode code, supports injected Hermes hashing, and gives default WebCrypto an owned ArrayBuffer without narrowing injected hasher inputs. Scenario folding ignores lifecycle-only metadata, including its ordering, and skips it in mixed visible updates.
Six client-control release fragments pass the repository validator at integrated daemon head
c1e61d6f700cdb9de1547ba6c1e2500ba4598316. Exact-head codegen --check, required client/scenario TypeScript typechecks, vectors and Rust/API/store suites remain pending sequential admitted execution. Queue-only withdrawn/expired tickets are NOT RUN, not passing checks. Swift native toolchain is unavailable on the proof host. No live setup/pairing/enrollment/grant/daemon action or CI dispatch/rerun.Complexity
One generated contract shared by all clients, no new authority or transport.
Concerns
Generated output is now consumer-available; independent tests and byte-stability verification remain pending. Fixed scalar/nonce are public test material only.
Friction & bottlenecks
Shared build-lane admission delayed generation until the authorized short-slot declaration; no bypass or hand-generation is used. QR generated changes remain on their own branch; the second branch to land must regenerate after merging main.
Follow-ups
The ordered drafts complete daemon source scope; human setup/apply/enrollment/live acceptance stays pending.
References
#6288, #6289, #6296, #6279; client-control-v1 daemon contract.
Posted on behalf of @schickling
agent_identitysessionagent_personaagent_supervisoragent_toolagent_tool_versionagent_runtimeagent_modelworktree