Skip to content

feat(protocol): add unified admission chain#460

Merged
windoliver merged 12 commits into
mainfrom
codex/issue-269-admission-chain
May 29, 2026
Merged

feat(protocol): add unified admission chain#460
windoliver merged 12 commits into
mainfrom
codex/issue-269-admission-chain

Conversation

@windoliver
Copy link
Copy Markdown
Owner

Summary

  • Adds admission: contract/schema/docs support and normalizes legacy gates/hooks into admission rules.
  • Runs the admission chain before contribution writes, attaches auditable admission metadata, and returns structured rejection details.
  • Implements built-in validators for shell, metric, artifact/relation, blueprint hash, artifact signature, ReBAC, and governance checks, including Nexus-backed adapters.
  • Hardens the TUI handoff harness so it can render real local Grove handoff state for tmux validation.

Closes #269.

Validation

  • bun run typecheck
  • bun --config=/tmp/grove-bunfig-no-coverage.toml test src/tui/views/handoffs-view.test.tsx src/tui/screens/running-view-handoffs.test.ts src/tui/screens/screen-manager.test.ts — 28 pass, 0 fail
  • bun --config=/tmp/grove-bunfig-no-coverage.toml test src/core/admission src/core/contract.test.ts src/core/operations/contribute.test.ts src/nexus/nexus-admission-adapters.test.ts spec/schemas/grove-contract.test.ts tests/server/contributions.test.ts tests/server/boardroom.test.ts src/server/routes/shared.test.ts src/mcp/deps-parity.test.ts — 400 pass, 0 fail
  • bun run build
  • bun run check — exits 0; existing warnings only
  • Pre-push hook reran typecheck and build
  • Real local Grove smoke: tmux TUI and HTTP API both showed 2 handoffs, both replied, with 4 Codex/Claude loop contribution markers present

@windoliver windoliver merged commit 041d869 into main May 29, 2026
1 check 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.

feat(protocol): unified admission chain for pre-contribute validation (hooks + gates)

1 participant