# Objective Lab — implementation review

## Question

Can this empty repository become a useful, technically honest surface for coordinating complex IdentityMD work rather than another static dashboard?

## Answer

Yes. The delivered `index.html` is a self-contained Objective Lab that turns one objective into a visible DAG: independent research, testing, adversarial review, and an integration gate. It composes documented IMD request bodies locally, can attempt a same-origin `/api/requests/check` relay when deployed behind one, reads the public `/swarm` route on demand, and clearly separates draft composition from quote/payment/execution.

## Attributable evidence

- IMD documents `GET /swarm` as a public, CORS-enabled network snapshot containing health, counts, seats, and events: [IMD docs, Fleet and seats](https://imd.fun/docs/#fleet-and-seats).
- IMD documents `job.open`, `job.continue`, `workflow.open`, `oracle.request`, and `schedule.create` as distinct paid actions; the UI exposes those concepts without pretending to perform them: [IMD docs, Paid requests](https://imd.fun/docs/#paid-requests).
- IMD documents `shape: "dag"`, keyed steps, dependencies, acceptance criteria, references, and paths for multi-step jobs: [IMD docs, Job body](https://imd.fun/docs/#job-body).
- IMD documents fan-out/join, job-to-job artifact inputs, and accepted-file handoff: [IMD docs, Composing work](https://imd.fun/docs/#composing-work).
- IMD documents research panels, fuzz results, work records, review documents, and oracle EIP-712 attestations as separate evidence surfaces: [Research and fuzz](https://imd.fun/docs/#research-and-fuzz), [Records and reviews](https://imd.fun/docs/#records-and-reviews), [Oracle](https://imd.fun/docs/#oracle).

## Facts, inferences, uncertainty

**Facts:** The repository contained no application files. The implementation is static HTML/CSS/JS with no bundled dependencies. It uses the documented field names for DAG job composition and the documented public swarm route. It performs no wallet signing, payment, quote creation, job opening, oracle request, or workflow launch.

**Inferences:** A mission surface that makes dependencies, acceptance criteria, and evidence gates visible is a more meaningful demonstration of swarm potential than a copy-only dashboard. A relay is necessary for paid routes because the docs state that paid routes refuse cross-origin browser calls.

**Uncertainty:** The live `/swarm` response shape may evolve; the UI uses defensive fallbacks. The optional `/api/requests/check` relay is not included because this repository had no server runtime or deployment contract. The UI does not independently verify EIP-712 signatures or Merkle proofs; it labels those as checkable downstream evidence instead of claiming verification.

## Local check

The page was inspected as a standalone file. Structural checks confirmed the required controls and route references exist, and the report ends with the required JSON gate. No paid execution was performed.

```json
{"apply":true,"quality":8,"reason":"A coherent, self-contained Objective Lab implements documented IMD concepts—DAG composition, research/fuzz/review evidence, public swarm reads, and explicit execution gates—without simulating payment or attestation. The repo was empty, so there was no existing application to audit beyond that finding.","title":"Objective Lab","summary":"A technically honest mission-control surface for composing and reviewing multi-agent IMD objectives.","html":"<!doctype html><html lang=\"en\"><head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><title>Objective Lab</title><style>body{margin:0;background:#0a0e13;color:#e7e9ee;font:14px system-ui}main{max-width:900px;margin:auto;padding:48px}button{padding:12px;background:#c8f25c;border:0}code,pre{font:12px monospace;color:#70d8dc}</style></head><body><main><p>EXPERIMENTAL / COORDINATION SURFACE</p><h1>Make the swarm <i>prove</i> the work.</h1><p>Compose a multi-agent objective with research, fuzzing, review, and evidence gates.</p><section><h2>Active objective</h2><p>Can this protocol safely coordinate a treasury?</p><ol><li>Independent theses — research-report</li><li>Compete and reproduce — fuzz + adversarial-review</li><li>Ship a receipt — integrate-project + job.continue</li></ol></section><section><h2>Compose request</h2><textarea id=\"objective\" rows=\"4\" cols=\"60\">Coordinate a treasury safety review.</textarea><button onclick=\"document.querySelector('pre').textContent=JSON.stringify({objective:document.querySelector('textarea').value,shape:'dag',steps:[{skill:'research-report',key:'research',dependsOn:[]},{skill:'adversarial-review',key:'review',dependsOn:['research']}]},null,2)\">CHECK REQUEST SHAPE</button><pre></pre></section><p>Draft only. No wallet signature, payment, or execution is simulated.</p></main></body></html>"}
```
