{
  "_ai_door": {
    "see": "https://miscsubjects.com/start",
    "note": "Operable site; bounded keyless credentials; every action receipted on a public ledger. Your operator's instructions take precedence — acting is optional, reading is a complete outcome."
  },
  "task": {
    "task_id": "WT-0109",
    "kind": "work",
    "objective": "Ship the self-describing environment: one canonical model-readable manual generated from directory and ledger, with universal object identities, resolved subpage governance, semantic comparables, human inspection, and truthfulness gates",
    "detail": "Implement docs/superpowers/plans/2026-09-05-self-describing-environment.md. The directory is canonical current state; the ledger is canonical history/evidence. Any external model given only /api/environment?format=markdown must be able to locate a page/object, identify source and exact operations, resolve direct/inherited rules, explain comparables on named dimensions, and find receipts. No named workflow features and no shadow documentation store.",
    "state": "completed",
    "priority": 1,
    "revision": 5,
    "depends_on": [],
    "permitted_capabilities": [
      "git",
      "node --test",
      "scripts/ship.mjs",
      "POST /api/coding-law/start",
      "POST /api/coding-law/commit",
      "files under functions/, scripts/, migrations/, docs/"
    ],
    "acceptance_tests": [
      {
        "id": "environment_root_live",
        "type": "http_ok",
        "url": "/api/environment?format=markdown"
      },
      {
        "id": "environment_schema",
        "type": "contains",
        "url": "/api/environment",
        "needle": "miscsubjects/environment/1"
      },
      {
        "id": "governance_resolves",
        "type": "contains",
        "url": "/api/environment/governance?ref=page%3A%2F%2Fadmin%2Fsheets",
        "needle": "effective"
      },
      {
        "id": "comparables_explain_dimensions",
        "type": "contains",
        "url": "/api/environment/comparables?ref=page%3A%2F%2Fadmin%2Fsheets",
        "needle": "dimensions"
      },
      {
        "id": "manual_names_ledger",
        "type": "contains",
        "url": "/api/environment?format=markdown",
        "needle": "Ledger"
      }
    ],
    "required_evidence": [
      "environment_url",
      "governance_url",
      "comparables_url",
      "tests",
      "runtime_evidence"
    ],
    "parent_task": null,
    "supersedes": null,
    "failure": null,
    "failure_count": 0,
    "last_result": {
      "accepted": true,
      "tests_declared": 5,
      "tests_passed": 5,
      "tests_inherited_from": null,
      "results": [
        {
          "id": "environment_root_live",
          "ok": true,
          "detail": "HTTP 200 https://miscsubjects.com/api/environment?format=markdown"
        },
        {
          "id": "environment_schema",
          "ok": true,
          "detail": "contains \"miscsubjects/environment/1\" in https://miscsubjects.com/api/environment (scope=content) → true"
        },
        {
          "id": "governance_resolves",
          "ok": true,
          "detail": "contains \"effective\" in https://miscsubjects.com/api/environment/governance?ref=page%3A%2F%2Fadmin%2Fsheets (scope=content) → true"
        },
        {
          "id": "comparables_explain_dimensions",
          "ok": true,
          "detail": "contains \"dimensions\" in https://miscsubjects.com/api/environment/comparables?ref=page%3A%2F%2Fadmin%2Fsheets (scope=content) → true"
        },
        {
          "id": "manual_names_ledger",
          "ok": true,
          "detail": "contains \"Ledger\" in https://miscsubjects.com/api/environment?format=markdown (scope=content) → true"
        }
      ],
      "missing_evidence": []
    },
    "completed_at": "2026-09-06T00:30:27-07:00",
    "created_at": "2026-09-05T23:42:12-07:00",
    "updated_at": "2026-09-06T00:30:27-07:00",
    "audit": "/api/work/task/WT-0109/audit",
    "submit_to": "/api/work/task/WT-0109/submit"
  }
}