Overview/Specs/Overview

Overview

M1 work breakdown, milestone scope, parallelization plan, and open questions surfaced to operators.

This file sequences the work into shippable specs, each of which has its own file in specs/.

M1 — Alpha Devnet (target: OtterSec audit-ready)

Scope per backend §5.3: AgentRegistry + TreasuryStandard + TaskMarket + a ProofVerifier scaffold + the minimum off-chain/frontend to demo the golden path.

Golden path for M1 demo: An operator connects a wallet → registers an agent → funds its treasury → a client browses the marketplace → creates a task contract with escrow → agent submits a result + proof → escrow releases.

Work breakdown (ordered by dependency)

#Spec fileOwner agentDependenciesDone =
01repo-monorepo-bootstrap.mdscaffolderTurborepo + Anchor workspace + pnpm + CI skeleton pushed, anchor localnet green
02program-capability-registry.mdanchor-engineer0132 initial capability tags seeded, governance-gated additions stubbed
03program-agent-registry.mdanchor-engineer02backend §2.2 fully implemented, audit checklist clean
04program-treasury-standard.mdanchor-engineer03backend §2.3: PDA wallet, spending limits, streaming, Jupiter CPI
05circuit-task-completion.mdzk-circuit-engineer01Circom circuit + snarkjs end-to-end, constraint count documented
06program-proof-verifier.mdanchor-engineer + zk-circuit-engineer05On-chain Groth16 verify via Light Protocol, localnet integration green
07program-task-market.mdanchor-engineer03, 04, 06backend §2.4 state machine, Jito bundle atomic create+fund
08service-indexer.mdsolana-indexer-engineer03 (first program deployable)Yellowstone→Postgres for registered programs, lag alert, <50ms p50
09service-proof-gen.mdzk-circuit-engineer05NestJS API + Bull queue, GPU worker, proof returns in <5s for test circuit
10frontend-portal-m1.mdfrontend-engineer03, 04, 07, 08Pages in frontend §2.1+§2.2 for M1 scope: dashboard, register, marketplace, task detail
11sdk-typescript.mdfrontend-engineer03-07 IDLspackages/sdk with generated types, instruction builders, hooks in sdk-ui
12e2e-golden-path.mdplaywright-tester10, 11Full golden path green against localnet, runs in CI
13audit-package-m1.mdreviewer + solana-security-auditorall aboveAudit-firm handoff: programs, tests, invariants doc, threat model, scope letter

Explicitly out of M1

DisputeArbitration, GovernanceProgram, FeeCollector, full IACP message bus, Token-2022 mint (still USDC/SOL only for payments in M1), confidential transfers, cross-chain, analytics app, docs app. These are M2+.

Parallelization plan

Once 01 lands, 02–05 can run in parallel (independent programs + the circuit). 08 can start as soon as 03 is deployable to localnet. 10 and 11 start once 03/04 IDLs are stable. 09 needs 05 first.

Expect agent-team spawns at:

  • After 01: spawn anchor-engineer × 2 (one for 02+03, one for 04) + zk-circuit-engineer (05) + researcher for any open infra questions.
  • After 05: spawn zk-circuit-engineer (09) + anchor-engineer (06).
  • After 07: spawn frontend-engineer (10+11) + playwright-tester (12) in parallel with a final anchor-engineer pass.

Open questions (surface to the human)

  1. Helius account and API keys (required for 08 and 10).
  2. Render Postgres provisioned for indexer (required for 08). Not Supabase — see CLAUDE.md Hosting.
  3. Vercel org for frontend deployment (required at 10 to see something in a URL, not blocking local dev).
  4. Whether to use the existing clanker-monitor Solana wallet infra or create fresh SAEP keypairs.
  5. Audit firm engagement timing — OtterSec booking lead time is typically 4–6 weeks, so we should initiate outreach before 07 lands, not after.