test: add Zopu integration smoke harness #13

Closed
puter wants to merge 0 commits from puter/issue-9-gitea-smoke into feat/projects-backend
Owner

Closes #9.

Adds the integration/smoke lane for the thin Zopu MVP:

  • Adds Effect v4 smoke primitives in @code/primitives for model-role selection, serial loop transitions, capability validation, model response/result decoding, and redaction.
  • Adds a secret-safe bun run smoke:zopu adapter with read-only preflight probes for web, authenticated Convex, Flue, AgentOS daemon/workspace contracts, and CPA /v1 models/completions.
  • Uses minimax-m3 as the serial worker-loop contract and glm-5.2 for planning/review, without changing live CPA configuration or printing credentials.
  • Adds --run to drive one disposable project issue through the existing Flue/AgentOS loop and independently review the worker result.
  • Adds primitive tests and docs/SMOKE.md with setup, exit codes, and actionable lane-boundary failures.

Verification:

  • bunx ultracite check passes on all changed source/script files.
  • @code/primitives and @code/env check-types pass.
  • scripts/tsconfig.json typecheck passes.
  • Primitive smoke tests: 10 passed.
  • Missing-env and fake-secret runs exit with contract-blocked status without leaking supplied secrets.
  • Root bun run check-types remains blocked by pre-existing packages/agents/src/app.ts Hono 4.12.30/4.12.31 type skew.
  • Root bun run check remains blocked by pre-existing vendored repos/effect* formatting and missing @effect/oxc/oxlint plugin resolution.
Closes #9. Adds the integration/smoke lane for the thin Zopu MVP: - Adds Effect v4 smoke primitives in @code/primitives for model-role selection, serial loop transitions, capability validation, model response/result decoding, and redaction. - Adds a secret-safe bun run smoke:zopu adapter with read-only preflight probes for web, authenticated Convex, Flue, AgentOS daemon/workspace contracts, and CPA /v1 models/completions. - Uses minimax-m3 as the serial worker-loop contract and glm-5.2 for planning/review, without changing live CPA configuration or printing credentials. - Adds --run to drive one disposable project issue through the existing Flue/AgentOS loop and independently review the worker result. - Adds primitive tests and docs/SMOKE.md with setup, exit codes, and actionable lane-boundary failures. Verification: - bunx ultracite check passes on all changed source/script files. - @code/primitives and @code/env check-types pass. - scripts/tsconfig.json typecheck passes. - Primitive smoke tests: 10 passed. - Missing-env and fake-secret runs exit with contract-blocked status without leaking supplied secrets. - Root bun run check-types remains blocked by pre-existing packages/agents/src/app.ts Hono 4.12.30/4.12.31 type skew. - Root bun run check remains blocked by pre-existing vendored repos/effect* formatting and missing @effect/oxc/oxlint plugin resolution.
puter added 1 commit 2026-07-23 20:39:56 +00:00
puter closed this pull request 2026-07-27 09:47:26 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: puter/zopu-code#13
No description provided.