Skip to content

[milestone Milestone 12 — Symbolic Reasoning Core] internal/constraint — constraint IR translator: `TranslateToSMT(criterion Co... #270

Description

@telleroutlook

🤖 Auto-filed from milestone doc bullet.

Repo: WasmAgent/symkernel
Milestone: Milestone 12 — Symbolic Reasoning Core: Z3 Integration (Phase 1b)
Bullet:

internal/constraint — constraint IR translator: TranslateToSMT(criterion ConstraintIR) (string, error) converting the vendored constraint-ir.schema.json into Z3 SMT-LIB2 format with type-aware encoding for integers, strings, and booleans

Relevant code context (from worktree)

new (does not exist yet): internal/constraint
contains 'internal': ""/tmp/tmp.ufhVOKX3Uq"/wasmagent-js"/packages/claude-agent-sdk/src/memory.ts
contains 'internal': ""/tmp/tmp.ufhVOKX3Uq"/wasmagent-js"/packages/compliance/src/repair/RepairPlanner.ts
contains 'internal': ""/tmp/tmp.ufhVOKX3Uq"/wasmagent-js"/packages/cloudflare-worker/src/CloudflareWorkflowEngine.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 issueneeds-humanAction required from a human operator

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions