Skip to content

feat: harden Phase 2 workspace plugin contracts - #76

Merged
xiayh17 merged 35 commits into
YuLab-SMU:mainfrom
xiayh0107:agent/plugin-runtime-phase2-third-party-upstream
Aug 20, 2026
Merged

feat: harden Phase 2 workspace plugin contracts#76
xiayh17 merged 35 commits into
YuLab-SMU:mainfrom
xiayh0107:agent/plugin-runtime-phase2-third-party-upstream

Conversation

@xiayh17

@xiayh17 xiayh17 commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • implements the authorized non-routable Phase 2 contract slice for workspace plugin manifest validation, canonical digest/discovery, typed host identity, constrained grants, declarative contributions, and project-isolated lifecycle state;
  • implements the authorized pure-contract Phase 2.5 remediation for observation/provenance, staging, sealed evaluation, manual promotion, A5 policy gates, repair, and permission-safe gardening; and
  • closes the independent review findings with deterministic negative and two-project regression coverage.

Stack dependency

This implementation is stacked on Phase 1 PR #75. Its current head includes the exact Phase 1 head plus the hosted Windows cache-contamination repair commit e1422f1; after PR #75 merges, the Phase 2 diff can be rebased onto main without changing the Phase 2 contract commit.

Validation

Local:

  • cargo test -p rho-extension-runtime: 153 passed;
  • cargo clippy -p rho-extension-runtime --all-targets -- -D warnings: passed;
  • cargo fmt -p rho-extension-runtime -- --check: passed;
  • cargo build --workspace: passed;
  • git diff --check: passed;
  • independent remediation review: no unresolved blocking finding.

Hosted, exact head 12860008381910d8280d277ea1006ab04746b281:

  • Draft Fast run 32326311932: passed;
  • Ready Rust Compatibility run 32326626971: all six stable/MSRV platform legs passed;
  • stacked Phase 1 repair run 32326278723: all six legs passed, including the repaired Windows installer build/install/smoke/remove path.

The repository-wide rustfmt check was not claimed from the shared local worktree because it contains a separate uncommitted ProjectQueryService/Mutation refactor; the clean hosted checks passed repository-wide formatting. No files from that separate lane are included in this PR commit.

Deliberately open gates

This PR does not select or ship a real Web Worker/Wasm host, execute project-authored code, perform privileged I/O, persist grants/evolution state, expose plugin UI, or claim installed-platform/release acceptance. Those remain separately gated by the active Phase 2/2.5 contracts.

@xiayh17 xiayh17 changed the title docs: propose Phase 2 workspace third-party plugin runtime design docs: propose Phase 2 workspace plugins and Phase 2.5 Agent evolution Aug 19, 2026
@xiayh0107
xiayh0107 force-pushed the agent/plugin-runtime-phase2-third-party-upstream branch from c67249c to 1286000 Compare August 20, 2026 02:54
@xiayh17 xiayh17 changed the title docs: propose Phase 2 workspace plugins and Phase 2.5 Agent evolution feat: harden Phase 2 workspace plugin contracts Aug 20, 2026
@xiayh17
xiayh17 marked this pull request as ready for review August 20, 2026 02:59
@xiayh17
xiayh17 requested a review from GuangchuangYu as a code owner August 20, 2026 02:59
@xiayh17
xiayh17 merged commit d596be4 into YuLab-SMU:main Aug 20, 2026
8 checks passed
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.

2 participants