CMP-8 — 420Compute application¶
Status: COMPLETE — Level 3 exact-head qualified on 1889713a30ebee9afbdfc21b151d7c69789c1e09. See qualification evidence.
Canonical purpose¶
Provide the human-facing market and participation experience on top of the qualified CMP protocol and CMP-7 developer surfaces.
CMP-8 does not create a new protocol authority. Browser, API and Indexer data remain clients/projections; canonical writes require the existing Wallet/signing and contract boundaries.
Required user surfaces¶
The application provides:
- researcher/job-owner submission through the qualified Compute API and an unsigned Wallet-authorized plan;
- worker onboarding using the existing packaged node420-compute identity/resource configuration;
- verifier operations as non-authoritative identity/capability views, without exposing governance-only mutation as an ordinary user action;
- research-project management with indexed project views and reviewed Wallet handoffs for canonical owner actions;
- worker health and earnings, where “health” is explicitly indexed registration/activity and not local host telemetry;
- completed-job views;
- CPU/GPU contribution totals keyed by configured canonical contribution metric IDs;
- projects supported;
- result and verification status;
- worker reputation and stake-reference evidence.
Participation loop¶
The app reduces participation to:
- choose/download the worker package for the user’s platform;
- enter canonical provider/node/resource/worker identifiers;
- choose local CPU/GPU percentages;
- optionally select local project preferences;
- generate the one-argument-per-line worker configuration;
- complete canonical worker registration/activation through reviewed 420Wallet handoff where a canonical runtime is configured;
- explicitly start the packaged worker;
- monitor indexed jobs, rewards, result status and trust/stake references.
Project preferences are deliberately labelled LOCAL_PREFERENCE_ONLY. The current canonical worker execution authorization does not carry a research project ID, so the browser must not claim those preferences override or filter canonical assignments.
Read-model dependency¶
CMP-8 extends 420Indexer only as needed for human presentation:
- bounded jobs by owner;
- bounded workers by operator;
- bounded verifiers by authority;
- bounded research projects by owner;
- bounded useful-reward records by beneficiary;
- bounded useful-contribution records by contributor, including canonical
projectRefand metric linkage; - worker reputation-reference history;
- worker stake-reference history.
CPU/GPU contribution and projects-supported counts are derived from canonical ContributionRecorded projections rather than project ownership or reward metadata. Earnings remain derived from useful-reward records.
All records remain authoritative:false. Reputation signed totals are decoded as int256. Stake capture events expose policy/source/position reference metadata only; the app does not invent a stake amount absent from the indexed event.
Runtime/deployment boundary¶
The checked-in runtime config is fail-closed:
- canonical network/API/download endpoints are unresolved/null;
- write actions are disabled;
- unresolved canonical contract addresses are null;
- reads/submissions and Wallet handoff creation refuse to proceed without an explicitly enabled canonical runtime.
This repository state qualifies the application implementation, not a live public deployment. Canonical endpoint/address materialization belongs to the later public-testnet deployment phase.
Qualification model¶
CMP-8 is one canonical roadmap step; no synthetic substeps are introduced.
Level 1 is owned by the app-specific 420Compute workflow: web structure/security/tests/build plus directly affected Compute Indexer and Compute API/worker regressions.
The meaningful Level 2 milestone is human participation convergence: the retained web + Indexer + Compute API + worker configuration/resource-control suites pass together on one exact accumulated SHA.
Level 3 occurs once at CMP-8 phase closeout after reconciliation to current main.
Exit criteria¶
CMP-8 is eligible for COMPLETE only when:
- every required user surface above exists and is exercised by app tests/verifier checks;
- the participation loop is understandable without internal protocol knowledge;
- job submission cannot bypass Wallet authorization;
- browser configuration rejects secret-bearing fields;
- default unresolved write runtime fails closed;
- Indexer collections are bounded and chain scoped;
- reputation/stake views remain non-authoritative and do not infer unavailable stake amounts;
- worker resource limits map to the existing packaged worker arguments;
- project preferences are not misrepresented as canonical scheduler policy;
- app-specific Level 1 passes on the exact implementation SHA;
- retained app Level 2 integration passes on the accumulated exact SHA;
- final Level 3 closeout passes on one reconciled exact merge-candidate SHA.
Next canonical roadmap step after phase closeout: CMP-9 — Public testnet deployment.