feat(artifacts): add open personal Artifact core and v1 interchange - #462
Conversation
3a35e7f to
2e40684
Compare
|
W19 CI stabilization checkpoint pushed at Root cause: compile-heavy jobs were not failing tests or lints; rustc/clippy processes were being killed with SIGKILL under runner memory pressure when cold normal Mitigation keeps coverage and native build parallelism intact: warm ordinary product targets first, then run all-target/test harness phases at the same Cargo concurrency. No job-wide Local evidence on the pushed workflow:
The W19 Artifact v1 contract/runtime behavior itself is unchanged by this checkpoint. |
|
Final conductor landing evidence:
Landing W19 personal Artifact core + v1 interchange now. |
Summary
Build the first coherent W19 slice of Labby's AGPLv3 open personal Artifact + MCP/runtime Gateway. This freezes the Rust-side
dinglebear.artifact-interchange/v1contract and adds the modern local Artifact subsystem without resurrecting retired Stash/Marketplace/Fleet/Deploy surfaces.Included
Cross-repo contract
Depot commit
25de725is the canonical G0 owner fordinglebear.artifact-interchange/v1. Labby copies the exactartifact-interchange-v1.jsonfixture and verifies byte-canonical round-trip plus the frozen revision digestsha256:feda49490988a21b01ea9d6548f2c893a7cea6c4e9834322985c28d82280c13f.Important frozen semantics preserved:
{path, id}kind = skill, not a parallel storage universeSafety / adversarial review
Addressed during review:
Residual hardening is documented: the shared path-safety helpers are path/canonicalization based and have a concurrent local-filesystem TOCTOU window. The first slice targets the personal trusted local-store threat model; FD-relative/openat-style no-follow traversal should precede claiming hostile concurrent local filesystem mutation support.
Verification
Final evidence after rebase onto
origin/mainfc4d3a1c2:cargo fmt --all -- --check✅git diff --check origin/main...HEAD✅cargo test -p labby-runtime --all-features -- --nocapture✅ 182 passed, 0 failedcargo clippy -p labby-runtime --all-features --all-targets -- -D warnings✅RUSTFLAGS='-D warnings' cargo check -p labby-runtime --all-features --all-targets✅No migration is added because this is a new local Artifact store with no published current-state format to migrate. Current Gateway, Skills, Loadouts, and Code Mode behavior remain preserved; transport projections are intentionally deferred to later W19 phases over this shared layer.