Skip to content

feat: add immutable MCP and Skill release descriptors - #9

Merged
ZhiXiao-Lin merged 2 commits into
mainfrom
codex/immutable-release-descriptors
Jul 20, 2026
Merged

ZhiXiao-Lin merged 2 commits into
mainfrom
codex/immutable-release-descriptors

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Summary

  • add versioned, typed MCP Runtime Service and Skill Agent-input release descriptors
  • derive immutable identities from bounded OLPC canonical JSON and SHA-256
  • reject mutable/unknown fields, ambiguous dependencies, noncanonical identifiers, invalid lifecycle contracts, and secret-bearing decode diagnostics
  • verify exact compatibility and descriptor-digest dependency resolution before deployment
  • publish cross-SDK canonical fixtures, digest goldens, README guidance, and architecture documentation

Verification

  • cargo fmt --all -- --check
  • cargo test -p a3s-use-core --all-features --locked (10 passed)
  • cargo clippy -p a3s-use-core --all-targets --all-features --locked -- -D warnings
  • RUSTDOCFLAGS="-D warnings" cargo doc -p a3s-use-core --all-features --no-deps --locked
  • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
  • cargo package -p a3s-use-core --list --allow-dirty includes all release fixtures
  • independent SHA-256 checks match both committed golden digests

A local macOS cargo test --workspace --all-features --locked run compiled the workspace and reached 952 passing Browser Driver tests, with 2 unrelated failures and 84 ignored tests. Both failures create Unix sockets under CARGO_MANIFEST_DIR; this isolated worktree produces a 108-byte socket path, exceeding the macOS sun_path limit. The shorter CI checkout path is unaffected.

Remaining A0 verification

This publishes the descriptor fixtures and contract. A real digest-pinned MCP image must still pass Linux startup, health, initialize/request, shutdown, cleanup, and restart conformance, followed by Cloud cross-repository fixture integration. Those acceptance items intentionally remain open.

Progresses #1

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor Author

Fixed the Windows-only canonical fixture failure in d87ecdb: release JSON and SHA-256 fixtures are now forced to LF by .gitattributes, preserving identical canonical bytes under core.autocrlf=true checkouts. Local validation passed: cargo fmt --all -- --check, cargo test -p a3s-use-core --all-features --locked (10 tests), git diff --check, and a simulated autocrlf checkout with no CR bytes in the fixture directory.

@ZhiXiao-Lin
ZhiXiao-Lin merged commit b472068 into main Jul 20, 2026
4 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the codex/immutable-release-descriptors branch July 20, 2026 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant