Skip to content

[milestone Milestone 12] POST /v1/verify/smt β€” SMT constraint solving endpoint: `{"constraints":"..."...Β #257

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/smt β€” SMT constraint solving endpoint: {"constraints":"...", "model":{...}, "timeout_ms":5000} β†’ {"sat":true,"model":{...},"decision_id":"...","solverMs":12}; include unsat-core extraction for debugging failed constraints

Relevant code context (from worktree)

new (does not exist yet): /v1/verify/smt
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 'constraint': ""/tmp/tmp.ufhVOKX3Uq"/wasmagent-js"/packages/capability-compiler/src/mcpSchema.ts
contains 'constraint': ""/tmp/tmp.ufhVOKX3Uq"/wasmagent-js"/packages/capability-compiler/src/recordingPolicy.ts
contains 'constraint': ""/tmp/tmp.ufhVOKX3Uq"/wasmagent-js"/packages/compliance/src/ir/ConstraintIR.test.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