{
  "$schema": "/schemas/public-adoption.v1.schema.json",
  "contractVersion": "tasq.public-adoption.v1",
  "product": "Tasq Local",
  "support": "implemented_candidate_not_published",
  "distribution": {
    "mode": "source_build",
    "published": false,
    "repository": "https://github.com/gwendall/tasq",
    "repositoryAccess": "public",
    "preconditions": [],
    "sourceRef": "main",
    "sourceRefMutable": true,
    "integrity": {
      "kind": "repository-contract-digests",
      "sourceContracts": [
        {
          "path": "docs/concepts/PRODUCT_SURFACE_MATRIX.json",
          "sha256": "42991b16dfd0df6f41d9cad2b6f31fc3706914841fe0338f97c18377e32583e9"
        },
        {
          "path": "docs/roadmap/BACKLOG.json",
          "sha256": "c45cfbbbea14183d19a78286a1dbb46d8624126fca06bbb33eb81f3fed1ff1dd"
        },
        {
          "path": "docs/releases/PUBLIC_RELEASE_POLICY.json",
          "sha256": "6b9a46a60668c10c00dcb8873045ee2cfca76fbf86dfe462678c5c15e2c06821"
        }
      ]
    }
  },
  "requirements": [
    {
      "runtime": "node",
      "version": ">=22"
    },
    {
      "runtime": "bun",
      "version": ">=1.3.0"
    },
    {
      "runtime": "pnpm",
      "version": "10.29.3"
    }
  ],
  "human": {
    "path": "/docs/getting-started/",
    "primaryAction": "build_from_source"
  },
  "agent": {
    "acquisition": [
      {
        "id": "source.clone",
        "cwd": "{parentDirectory}",
        "argv": [
          "git",
          "clone",
          "https://github.com/gwendall/tasq",
          "{checkoutPath}"
        ],
        "mutatesHost": true
      },
      {
        "id": "dependencies.install",
        "cwd": "{checkoutPath}",
        "argv": [
          "pnpm",
          "install",
          "--frozen-lockfile"
        ],
        "mutatesHost": true
      },
      {
        "id": "source.verify",
        "cwd": "{checkoutPath}",
        "argv": [
          "pnpm",
          "typecheck"
        ],
        "mutatesHost": false
      },
      {
        "id": "cli.build",
        "cwd": "{checkoutPath}",
        "argv": [
          "pnpm",
          "build:cli"
        ],
        "mutatesHost": true
      }
    ],
    "executableRelativePath": "dist/cli/index.js",
    "onboardArgvTemplate": [
      "{tasqExecutable}",
      "onboard",
      "--space",
      "{workspaceId}",
      "--actor",
      "{actorLabel}",
      "--capabilities",
      "read,propose,coordinate",
      "--json"
    ],
    "placeholders": [
      "{parentDirectory}",
      "{checkoutPath}",
      "{tasqExecutable}",
      "{workspaceId}",
      "{actorLabel}"
    ]
  },
  "invariants": [
    "execute_argv_without_shell_reconstruction",
    "persist_one_executable_identity_for_the_session",
    "read_before_mutation",
    "actor_labels_are_attribution_not_authentication",
    "same_workspace_requires_the_same_store",
    "device_time_is_not_authority",
    "runtime_success_does_not_complete_a_commitment",
    "unpublished_source_ref_is_mutable_and_not_a_release_attestation"
  ]
}
