Skip to content

[milestone Milestone 12] POST /v1/verify/composed β€” Composed policy endpoint: `{"policies":[{"stage":...Β #258

Description

@telleroutlook

πŸ€– Auto-filed from milestone doc bullet.

Repo: WasmAgent/symkernel
Milestone: Milestone 12 β€” Advanced Symbolic Reasoning & Z3 Integration (Phase 2)
Bullet:

POST /v1/verify/composed β€” Composed policy endpoint: {"policies":[{"stage":"cel","spec":{...}},{"stage":"wasm","spec":{...}},{"stage":"smt","spec":{...}}],"input":{...}} β†’ {"ok":true,"report":{"stages":[...],"decision_id":"..."},"evalMs":45}; each stage includes independent decision_id and hint fields

Relevant code context (from worktree)

new (does not exist yet): /v1/verify/composed
contains 'verify': ""/tmp/tmp.ufhVOKX3Uq"/wasmagent-js"/packages/capability-compiler/src/traceValidator.ts
contains 'verify': ""/tmp/tmp.ufhVOKX3Uq"/wasmagent-js"/packages/compliance/src/ir/ConstraintIR.test.ts
contains 'verify': ""/tmp/tmp.ufhVOKX3Uq"/wasmagent-js"/packages/compliance/src/ir/ConstraintIR.ts
contains 'composed': ""/tmp/tmp.ufhVOKX3Uq"/wasmagent-js"/packages/mcp-gateway/src/index.test.ts
contains 'composed': ""/tmp/tmp.ufhVOKX3Uq"/wasmagent-js"/packages/core/src/agents/AgentSupervisor.test.ts
contains 'composed': ""/tmp/tmp.ufhVOKX3Uq"/wasmagent-js"/packages/core/src/agents/verifiers/types.ts

Implementation note: Files marked "new (does not exist yet)" must be created from scratch. verify-first should return PROCEED (not NOT_YET) β€” there is no prerequisite blocking this work.

Acceptance criteria

  • Command go build ./... passes
  • The specific work described in the bullet above is implemented in the smallest number of files required.
  • No unrelated files touched (git status --short output limited to the intended change).

Notes for the implementer

This issue was auto-created by SweepMilestoneBulletToIssue. The bullet text is verbatim
from the milestone doc. If ambiguous or too large for a single implement cycle,
verify-first should return NEEDS_SPLIT with sub-issue proposals or NEEDS_HUMAN with the blocker.


Filed automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    claudeBot-managed issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions