Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ Destructive commands (need permission): `zeroshot kill`, `zeroshot clear`, `zero
| Shared wire-value bounds | `crates/openengine-cluster-protocol/src/value.rs` |
| Cluster dispatch/stdio | `crates/openengine-cluster-server/` |
| Native product construction | `zeroshot-rust/` |
| Artifact store port/fake | `zeroshot-rust/src/artifact_store.rs`, `artifact_store/fake.rs` |
| Product-local artifact CAS | `zeroshot-rust/src/artifact_store/local_cas.rs`, `local_cas/` |
| Issue provider contracts | `zeroshot-rust/src/issue_provider.rs`, `issue_provider/` |
| Source provider contracts | `zeroshot-rust/src/source_code_provider.rs`, `source_code_provider/` |
| Provider value bounds | `zeroshot-rust/src/provider_value.rs`, `provider_value/` |
Expand Down Expand Up @@ -86,8 +88,12 @@ verify byte-for-byte drift with `npm run protocol:check`. These generator-format
are excluded from Prettier; never format them independently.
The protocol and server crates own wire contracts, backend traits, the dispatcher, and transports.
`zeroshot-rust/` owns the concrete `NativeBackend`, product-local `NativeBackendFactory`
construction root, and product-private, secret-free issue/source provider contracts. Issue and
source registries and identifiers remain independent; neither is a worker/model provider. Keep
construction root, product-private artifact byte-store port/local CAS, and product-private,
secret-free issue/source provider contracts. Artifact stages, bytes, roots, filesystem paths,
locks, and manifests remain product-private; only verified protocol `ArtifactRef` receipts cross
the engine boundary. `LocalCasArtifactStore` takes an explicit root, is a single-writer local
filesystem store, and must preserve ref-first release plus synchronized blob-then-ref publication.
Issue and source registries and identifiers remain independent; neither is a worker/model provider. Keep
protocol, transport, daemon, compatibility, adapter, credential resolution, ledger, and workspace
behavior outside it.
Native engine faults must be constructed only by `FaultFactory` from closed `ModuleEvidence`.
Expand Down
34 changes: 34 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ repository = "https://github.com/the-open-engine/zeroshot"

[workspace.dependencies]
async-trait = "0.1.89"
fs2 = "0.4.3"
schemars = "1.1.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
sha2 = "0.10.9"
thiserror = "2.0.17"
tokio = { version = "1.48.0", features = ["io-std", "io-util", "macros", "process", "rt-multi-thread", "sync"] }
tokio = { version = "1.48.0", features = ["fs", "io-std", "io-util", "macros", "process", "rt-multi-thread", "sync"] }
jsonschema = { version = "0.29.1", default-features = false }

openengine-cluster-protocol = { path = "crates/openengine-cluster-protocol" }
Expand Down
4 changes: 3 additions & 1 deletion zeroshot-rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ path = "src/main.rs"

[dependencies]
async-trait.workspace = true
fs2.workspace = true
openengine-cluster-protocol.workspace = true
openengine-cluster-server.workspace = true
serde.workspace = true
serde_json.workspace = true
sha2.workspace = true
thiserror.workspace = true
tokio.workspace = true

[dev-dependencies]
tokio.workspace = true
Loading
Loading