taskquoin 0.0.0-stage → 2026.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/LICENSE +55 -0
  3. package/README.md +227 -2
  4. package/SECURITY.md +26 -0
  5. package/adapters/git/src/git.js +250 -0
  6. package/adapters/git/src/index.js +1 -0
  7. package/adapters/hooks-claude/src/canonical.js +45 -0
  8. package/adapters/hooks-claude/src/index.js +2 -0
  9. package/adapters/hooks-claude/src/main.js +58 -0
  10. package/adapters/hooks-claude/src/payload.js +40 -0
  11. package/adapters/host-probe/src/index.js +2 -0
  12. package/adapters/host-probe/src/ollama.js +18 -0
  13. package/adapters/host-probe/src/probe.js +107 -0
  14. package/adapters/local-tool/src/fingerprint.js +56 -0
  15. package/adapters/local-tool/src/index.js +4 -0
  16. package/adapters/local-tool/src/local-tool.js +22 -0
  17. package/adapters/local-tool/src/sandboxed.js +105 -0
  18. package/adapters/local-tool/src/scan.js +52 -0
  19. package/adapters/memory-claude-mem/src/claude-mem.js +115 -0
  20. package/adapters/memory-claude-mem/src/index.js +1 -0
  21. package/adapters/process-runner/src/index.js +1 -0
  22. package/adapters/process-runner/src/runner.js +123 -0
  23. package/adapters/runtime-api/src/capabilities.json +116 -0
  24. package/adapters/runtime-api/src/executor.js +131 -0
  25. package/adapters/runtime-api/src/index.js +1 -0
  26. package/adapters/runtime-claude/src/capabilities.json +375 -0
  27. package/adapters/runtime-claude/src/command.js +34 -0
  28. package/adapters/runtime-claude/src/executor.js +162 -0
  29. package/adapters/runtime-claude/src/index.js +4 -0
  30. package/adapters/runtime-claude/src/permissions.js +76 -0
  31. package/adapters/runtime-claude/src/stream.js +60 -0
  32. package/adapters/runtime-codex/src/capabilities.json +192 -0
  33. package/adapters/runtime-codex/src/command.js +36 -0
  34. package/adapters/runtime-codex/src/executor.js +83 -0
  35. package/adapters/runtime-codex/src/index.js +4 -0
  36. package/adapters/runtime-codex/src/scratch.js +32 -0
  37. package/adapters/runtime-codex/src/stream.js +39 -0
  38. package/adapters/runtime-opencode/src/capabilities.json +149 -0
  39. package/adapters/runtime-opencode/src/config.js +33 -0
  40. package/adapters/runtime-opencode/src/credentials.js +130 -0
  41. package/adapters/runtime-opencode/src/executor.js +127 -0
  42. package/adapters/runtime-opencode/src/facts.js +43 -0
  43. package/adapters/runtime-opencode/src/hosts.js +16 -0
  44. package/adapters/runtime-opencode/src/hosts.json +3 -0
  45. package/adapters/runtime-opencode/src/index.js +6 -0
  46. package/adapters/runtime-opencode/src/mounts.js +58 -0
  47. package/adapters/runtime-opencode/src/stream.js +63 -0
  48. package/adapters/skill-store/src/index.js +1 -0
  49. package/adapters/skill-store/src/skill-store.js +162 -0
  50. package/adapters/store-fs/src/index.js +2 -0
  51. package/adapters/store-fs/src/store.js +201 -0
  52. package/adapters/store-fs/src/trusted-dir.js +37 -0
  53. package/apps/cli/src/console.js +432 -0
  54. package/apps/cli/src/dashboard-approve.js +259 -0
  55. package/apps/cli/src/dashboard-data.js +424 -0
  56. package/apps/cli/src/dashboard.js +500 -0
  57. package/apps/cli/src/history.js +35 -0
  58. package/apps/cli/src/home.js +18 -0
  59. package/apps/cli/src/i18n/en.js +527 -0
  60. package/apps/cli/src/i18n/index.js +90 -0
  61. package/apps/cli/src/i18n/languages.js +25 -0
  62. package/apps/cli/src/i18n/locales/ar.json +526 -0
  63. package/apps/cli/src/i18n/locales/de.json +505 -0
  64. package/apps/cli/src/i18n/locales/es.json +505 -0
  65. package/apps/cli/src/i18n/locales/fa.json +505 -0
  66. package/apps/cli/src/i18n/locales/fr.json +505 -0
  67. package/apps/cli/src/i18n/locales/he.json +505 -0
  68. package/apps/cli/src/i18n/locales/hi.json +505 -0
  69. package/apps/cli/src/i18n/locales/id.json +491 -0
  70. package/apps/cli/src/i18n/locales/it.json +505 -0
  71. package/apps/cli/src/i18n/locales/ja.json +491 -0
  72. package/apps/cli/src/i18n/locales/ko.json +491 -0
  73. package/apps/cli/src/i18n/locales/nl.json +505 -0
  74. package/apps/cli/src/i18n/locales/pl.json +512 -0
  75. package/apps/cli/src/i18n/locales/pt-BR.json +505 -0
  76. package/apps/cli/src/i18n/locales/ru.json +512 -0
  77. package/apps/cli/src/i18n/locales/th.json +491 -0
  78. package/apps/cli/src/i18n/locales/tr.json +505 -0
  79. package/apps/cli/src/i18n/locales/uk.json +512 -0
  80. package/apps/cli/src/i18n/locales/vi.json +491 -0
  81. package/apps/cli/src/i18n/locales/zh-CN.json +491 -0
  82. package/apps/cli/src/i18n/locales/zh-TW.json +491 -0
  83. package/apps/cli/src/i18n/width.js +40 -0
  84. package/apps/cli/src/layout.js +18 -0
  85. package/apps/cli/src/main.js +830 -0
  86. package/apps/cli/src/preferences.js +46 -0
  87. package/apps/cli/src/runtime-notices.js +41 -0
  88. package/apps/cli/src/safe-text.js +3 -0
  89. package/apps/cli/src/shortcut.js +82 -0
  90. package/apps/cli/src/skills-cli.js +112 -0
  91. package/apps/cli/src/tui/caps.js +31 -0
  92. package/apps/cli/src/tui/components/agent-list.js +58 -0
  93. package/apps/cli/src/tui/components/approval-center.js +145 -0
  94. package/apps/cli/src/tui/components/approval.js +95 -0
  95. package/apps/cli/src/tui/components/dashboard-frame.js +293 -0
  96. package/apps/cli/src/tui/components/diff-viewer.js +549 -0
  97. package/apps/cli/src/tui/components/event-viewer.js +46 -0
  98. package/apps/cli/src/tui/components/help-panel.js +59 -0
  99. package/apps/cli/src/tui/components/home.js +185 -0
  100. package/apps/cli/src/tui/components/logo.js +67 -0
  101. package/apps/cli/src/tui/components/panel.js +70 -0
  102. package/apps/cli/src/tui/components/status-bar.js +96 -0
  103. package/apps/cli/src/tui/components/timeline.js +120 -0
  104. package/apps/cli/src/tui/keys.js +139 -0
  105. package/apps/cli/src/tui/neutral.js +68 -0
  106. package/apps/cli/src/tui/screen.js +111 -0
  107. package/apps/cli/src/tui/text.js +165 -0
  108. package/apps/cli/src/tui/tokens.js +89 -0
  109. package/apps/cli/src/tui/view.js +64 -0
  110. package/apps/cli/src/upgrade-check.js +86 -0
  111. package/apps/cli/src/upgrade-cli.js +168 -0
  112. package/apps/cli/src/workflow-cli.js +674 -0
  113. package/package.json +29 -4
  114. package/packages/application/src/index.js +8 -0
  115. package/packages/application/src/lib/digest.js +7 -0
  116. package/packages/application/src/ports/memory.js +1 -0
  117. package/packages/application/src/ports/runtime-executor.js +1 -0
  118. package/packages/application/src/projection/run-view.js +194 -0
  119. package/packages/application/src/projection/squad-view.js +33 -0
  120. package/packages/application/src/use-cases/prepare-run.js +68 -0
  121. package/packages/application/src/workflow/feature-governed.js +420 -0
  122. package/packages/application/src/workflow/gate-signals.js +40 -0
  123. package/packages/application/src/workflow/prompts.js +81 -0
  124. package/packages/config/src/config.js +372 -0
  125. package/packages/config/src/index.js +1 -0
  126. package/packages/domain/src/capabilities.js +13 -0
  127. package/packages/domain/src/capability-matrix.js +63 -0
  128. package/packages/domain/src/enforcement.js +95 -0
  129. package/packages/domain/src/index.js +4 -0
  130. package/packages/domain/src/policy.js +32 -0
  131. package/packages/rules/src/glob.js +47 -0
  132. package/packages/rules/src/index.js +5 -0
  133. package/packages/rules/src/inherit.js +19 -0
  134. package/packages/rules/src/lists.js +41 -0
  135. package/packages/rules/src/rules.js +79 -0
  136. package/packages/rules/src/shell.js +83 -0
  137. package/packages/skills/src/index.js +1 -0
  138. package/packages/skills/src/skills.js +108 -0
  139. package/skills/code-review/SKILL.md +51 -0
  140. package/skills/egm-design/LICENSE +202 -0
  141. package/skills/egm-design/SKILL.md +68 -0
  142. package/skills/egm-design/references/feature-spec-standard.md +39 -0
  143. package/skills/egm-implementation-readiness/LICENSE +202 -0
  144. package/skills/egm-implementation-readiness/SKILL.md +67 -0
  145. package/skills/egm-implementation-readiness/references/implementation-readiness-standard.md +37 -0
  146. package/skills/first-party.lock.json +10 -0
  147. package/skills/planning-contract/SKILL.md +51 -0
  148. package/skills/ponytail/LICENSE +21 -0
  149. package/skills/ponytail/SKILL.md +56 -0
  150. package/skills/security-review/SKILL.md +58 -0
  151. package/skills/tdd/SKILL.md +52 -0
  152. package/skills/unslop/LICENSE +396 -0
  153. package/skills/unslop/SKILL.md +239 -0
  154. package/skills/unslop/references/cjk.md +34 -0
  155. package/skills/unslop/references/effects.md +113 -0
  156. package/skills/unslop/references/refs.md +17 -0
  157. package/skills/unslop/references/rtl.md +111 -0
  158. package/skills/unslop/references/signs.md +122 -0
  159. package/skills/unslop/references/tokens.md +139 -0
  160. package/skills/unslop/references/visuals.md +84 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,62 @@
1
+ # Changelog
2
+
3
+ ## 2026.12.0 — 2026-12-05
4
+
5
+ ### Added
6
+ - **Gate signals** (`signals-N`): the reviewed diff is scanned for patterns that make tests pass without the work and that the RED proof cannot see — a test focused or skipped (`.only`, `.skip`, `@pytest.mark.skip`...), a deleted test file, a process exit, replaced assertions or a "running under test" check in the code. Signals, not verdicts: the reviewers get them with the RED proof, and the approval report lists `signals-N`.
7
+ - **RED proof hardened against a neutralised test harness**: files that decide how tests run (`package.json`, `.npmrc`, runner configs, `conftest.py`, `pom.xml`...) ride with the tests in the RED tree, so a change that makes the suite pass regardless (`"test": "exit 0"`, `script-shell=true`) also passes without the production change and is refused; a change touching only tests and test configuration stops as `needs-human`.
8
+ - **Ponytail skill, bundled** (`skills/ponytail`, MIT, `DietrichGebert/ponytail@ebd8654`, version 5.3.3): the smallest change that fully solves the task, pinned by hash like the first-party skills, the upstream text word for word (frontmatter adapted: `argument-hint` is not in the Agent Skills format). `taskquoin init` proposes it to the implementer as a commented-out line; nothing changes until you uncomment it. Guide: `docs/guides/skills.md`.
9
+ - **Unslop skill, bundled** (`skills/unslop`, CC BY 4.0, by Damir Sokolovsky, `heydamir/unslop@8091f22`): turns AI-looking UI into a designed interface. `SKILL.md` and `references/*.md` word for word; its scripts, images and `agents/openai.yaml` are not shipped. Proposed to the implementer as a commented-out line, like ponytail.
10
+ - **A skill's `references/*.md` reach the agent**, after its `SKILL.md` and inside the same `<skill>` frame: the agent cannot open the skill's folder. Holds for bundled and imported skills.
11
+ - **Goldfish reviewers from Google's Elephant-Goldfish Model** (`skills/egm-design`, `skills/egm-implementation-readiness`, Apache-2.0, `google/elephant-goldfish-model@76a453e`): EGM's Design Critic and Implementation Readiness personas, word for word, each with the standard EGM pairs it with in `references/`. `taskquoin init` proposes them as two commented-out read-only agents on the challenger's runtime, `goldfish-design` and `goldfish-readiness`, to list in `workflow.challengers`.
12
+ - **Ponytail and unslop for Claude Code in this repository** (`.claude/skills/`), the same pinned copies, kept identical by a test.
13
+ - **Console V2 foundations** (`docs/adr/0019`, native ANSI, no dependency): one neutraliser for every string that comes from outside (an agent, a file name, a diff, the network, a config value) — each control, escape, C1, bidirectional or invisible character becomes a visible marker and is counted, never stripped silently; `--json` goes through its own `jsonOut` (escapes only DEL, C1, bidirectional controls and U+2028/2029, so Persian text, emoji and tag flags stay byte-identical); a read-only way to open the control store and a tolerant reader of `events.jsonl` (it reads only the tail); terminal capabilities and design tokens (colour depth, `NO_COLOR`, ASCII fallback, light and dark); a screen that always gives the terminal back (Ctrl+C, SIGTERM, SIGHUP, errors) and a raw key decoder; `RunView` and `SquadView`, the run and the squad projected once for every screen; `agent.started`, duration, model and tokens in the event log.
14
+ - **Console V2**: a new home (quoin logo, repository and branch, sandbox, policy digest, the squad with each agent's real verdict, the next action; Full, Compact or Minimal by terminal size), a categorised `/` menu with contextual completion, suggestions and `/help <command>`, a per-repository command history, a prompt that shows a waiting approval, a live timeline that follows the real state machine, `/approve` showing what is bound, what to read and what you read, and the new screens in the 22 languages.
15
+ - **The Dashboard** (`taskquoin dashboard [<run>]`, `/dashboard`; guide `docs/guides/dashboard.md`): a live screen that only reads the control store — Pipeline, Approvals, Runs, Agents and Events in a wide, stacked or narrow layout (one message below 40 × 12), refreshed by a 500 ms poll of file stamps, with nothing drawn when nothing changed. A diff and artifact viewer with line numbers, search, `n` / `N`, "read to the end" and a stale marker when the tree under review changes. An approval center where no key approves: you type your name, retype the 12 characters of the hash, the binding is read again at each step and a stale gate is refused; the approval itself is done by `taskquoin approve` in a separate process (private log; the run continues when you quit, and the Dashboard says so). Read-only is tested under `node --permission`; every text from outside is neutralised and counted; without a terminal it refuses and points to `taskquoin status`. The guide's screens exist in 22 languages.
16
+ - **npm package** `taskquoin`, built by `npm run package`: compiled JavaScript keeping the repository layout, tested once installed under `node_modules` and under a path with a space. Not on npm yet: the first publish waits for the maintainer's signing key and the npm/GitHub settings (`SECURITY.md`, "Verifying a release").
17
+ - **Release provenance**: `.github/workflows/release.yml` publishes to npm with provenance from a tag signed by a key that main's `.github/allowed_signers` lists and that is the commit built, through the protected environment `npm-publish`; the publishing job runs no repository code.
18
+ - **CI supply-chain gates**: `npm audit`, registry signatures, gitleaks over the whole history; the npm package installed for real and run.
19
+ - **22 languages** for the console and the CLI (`TASKQUOIN_LANG`, otherwise the system locale): English and French by hand, 20 machine-translated languages checked by tests (placeholders, `/commands`, CLDR plurals); columns stay aligned with CJK characters. The planner, the critique and the review write in the run's language. `--json` outputs, the run journal, artifacts, commit trailers, the `VERDICT:` line and the banner's brand stay English.
20
+ - **A measured Claude Code runs, and `/upgrade`** (`docs/adr/0018`): when Claude Code auto-updates to an unmeasured version but the measured one is still installed by Claude's native installer, Taskquoin uses it; the banner and `doctor` say which version runs. `taskquoin upgrade [auto|path|install] [--offline]` and `/upgrade` show installed / used / measured versions, switch the choice (machine preference), reinstall the measured Claude Code after a typed yes (your own Claude, outside the repository, over the network), print the Codex and OpenCode commands when those tools are installed with another version, and, only on demand, read the npm registry for a newer Taskquoin. A measured Claude Code that is installed but not used is named with the reason and the command that fixes it. The reinstall runs only in an absolute home, only the exact command shown, and exits 1 when the installer fails. The gate is unchanged.
21
+
22
+ ### Changed
23
+ - `taskquoin setup` creates no shortcut for an npm install: npm already put `taskquoin` on the PATH.
24
+ - **Claude Code 2.1.327** measured: every live suite rerun with unchanged mechanisms, same results as on 2.1.325 (`docs/reports/evidence-live-claude-2.1.327-2026-11-18.txt`). Claude agents now need 2.1.327; any other version fails closed (`docs/adr/0008`).
25
+
26
+ ### Fixed
27
+ - An install path containing a space: the Claude hook entry and the first-party skills were looked up with `%20`.
28
+ - **A refused run costs nothing**: `run` checks the gate of every agent the workflow will call (planner, implementer, every challenger and reviewer) before the planner is called and before the run branch exists. The line after the refusal names the remedy: `taskquoin upgrade` for an unmeasured runtime version, `accept-risk` only for a read-only agent (one line per capability), the configuration (`shell.run`, `verify.command`) for an implementer without commands. A runtime that is not installed is said as such.
29
+ - **A test command that cannot run is not red tests**: an exit of 126 or more (not found, not executable, a crash), a kill other than the timeout or a sandbox that did not start stops the run once with `needs-human … Verify could not run the test command (exit <n>): <first line>`, without spending the reworks. A timeout is still red tests.
30
+ - **A killed run can be resumed**: a run whose Taskquoin process was killed is shown `interrupted` with the reason `process gone (the run was killed)` (English in every language, `--json` included), and `resume` records the interruption and continues at the same node. The workspace baseline is saved before the first implementer starts, so a run killed during its implementation still detects what the killed attempt changed (ADR-0014). The lock of a dead process is taken over under a second lock; a live lock is never displaced, and a takeover that was itself killed is never cleared automatically: the command names the file to delete.
31
+ - `taskquoin run Add a sum function` without quotes takes the whole request; `uninstall --purge-state` purges the control store even after a previous `uninstall`; `init` on an unrecognised stack says to set `verify.command` (and `shell.run`, except for an OpenCode implementer); `status <run> --json` has a `reason` field.
32
+
33
+ ## 2026.11.1 — 2026-11-17
34
+
35
+ ### Added
36
+ - **OpenCode runtime** (`docs/adr/0017`): `runtime: opencode` for planner, implementer and judges, any provider OpenCode supports; the implementer has no command (Taskquoin runs the tests, up to 4 reworks); OpenCode runs in Taskquoin's sandbox (HOME hidden, secrets and the repository's OpenCode config masked, deny-by-default permissions with no `ask`); `taskquoin connect opencode`; `verify.command`; OpenCode 1.19.5 measured and certified live with a ChatGPT sign-in (other sign-ins are refused until measured).
37
+
38
+ ### Fixed
39
+ - Reviewers no longer refuse the RED proof of a feature that lives in a new production file (its import error is the expected RED; any other missing file is still no proof).
40
+ - The test suite leaves nothing in `/tmp`; CI finds `node` outside `/usr/bin` and reports failed tests as annotations.
41
+
42
+ ## 2026.11.0 — 2026-11-16 — first public release (alpha)
43
+
44
+ ### Added
45
+ - **Governed workflow** `taskquoin run`: plan → critique → human approval of the plan (bound to its hash) → implementation in TDD → Verify → review → human approval of the exact diff → commit on `taskquoin/<run>` (never pushed). Automatic rework (up to 2 attempts) when tests are red or a review refuses.
46
+ - **Runtimes**: headless Claude Code 2.1.325 and Codex 0.157.1 under a versioned execution contract; per-version capability matrices with enforcement classes (`ENFORCED`, `BROKERED`, `ADVISORY`, `UNSUPPORTED`).
47
+ - **Judges by API**: any OpenAI-compatible provider can hold the critique and review roles (`providers` and `workflow` in `taskquoin.yaml`); several judges per role; `Reviewed-By:` trailer; secrets, binaries and keys never sent; `doctor` lists every destination.
48
+ - **Verify in a clean room**: your tests run on the exact tree to be committed, without network, dependencies read-only and frozen for agents; **RED proof**: changed tests must fail without the rest of the change.
49
+ - **Agents never commit**: Taskquoin builds the commit from the verified, reviewed and approved tree.
50
+ - **Commands**: `init` (stack detection, detected AIs proposed), `doctor`, `check`, `accept-risk` (dated, bound to the exact failure, stored outside the repo), `run`, `status [--json]`, `show`, `approve`, `resume`, `skills list|audit|import|approve|revoke`, `setup`, `uninstall`, `version`.
51
+ - **Console**: `taskquoin` alone in a terminal opens an interactive shell; approvals require the approver's name and the retyped hash.
52
+ - **Skills**: first-party skills pinned by hash (`planning-contract`, `tdd`, `code-review`, `security-review`); local-only import with quarantine and audit.
53
+ - **Memory**: optional summary of each finished run sent to a local claude-mem worker.
54
+
55
+ ### Known limitations
56
+ - Verified on Linux (WSL2) only; macOS and Windows are untested.
57
+ - No automatic push or pull request; no Jira connector; no graphical interface.
58
+ - Repository commit hooks are not run by Taskquoin — run them yourself when merging.
59
+ - Tests that need network access, files in HOME or secret files fail in Verify (fail closed); repositories with submodules are not supported; Go / Maven / Gradle caches in HOME cannot be resolved offline.
60
+ - The RED proof is mechanical: it does not establish that the tests assert the requested behaviour (that is the review's job, and yours).
61
+ - Codex's `connector.write` cannot be measured: `doctor` refuses the agent until the owner records a dated `accept-risk`.
62
+ - A judge failing for a non-transient reason (invalid key, unknown model, context too long) ends the run after the implementation.
package/LICENSE ADDED
@@ -0,0 +1,55 @@
1
+ Apache License
2
+
3
+ Version 2.0, January 2004
4
+
5
+ http://www.apache.org/licenses/
6
+
7
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
+
9
+ 1. Definitions.
10
+
11
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
16
+
17
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
18
+
19
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
20
+
21
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
22
+
23
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
24
+
25
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
26
+
27
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
28
+
29
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
30
+
31
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
32
+
33
+ 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
34
+
35
+ 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
36
+
37
+ You must give any other recipients of the Work or Derivative Works a copy of this License; and
38
+
39
+ You must cause any modified files to carry prominent notices stating that You changed the files; and
40
+
41
+ You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
42
+
43
+ If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
44
+
45
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
46
+
47
+ 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
48
+
49
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
50
+
51
+ 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
52
+
53
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
54
+
55
+ END OF TERMS AND CONDITIONS
package/README.md CHANGED
@@ -1,3 +1,228 @@
1
- # Temporary Holding Version
1
+ # Taskquoin
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ **Governed execution for AI coding agents.** Taskquoin lets Claude Code, OpenAI Codex, OpenCode and any
4
+ OpenAI-compatible model work on your repository — under rules that are **enforced, measured and approved by you**,
5
+ not merely written in a prompt.
6
+
7
+ ![The Taskquoin console: the squad with each agent's real verdict, and the commands](docs/assets/screens/en/console.svg)
8
+
9
+ > **Status: 2026.12.0 — alpha.** Tested on Linux (WSL2, ext4) with Claude Code 2.1.327, Codex 0.157.1 and
10
+ > OpenCode 1.19.5; macOS and Windows are not verified yet. Screens in this README come from a demo repository with
11
+ > simulated AI agents; every command shown is the real CLI.
12
+
13
+ **[Documentation](docs/README.md)** · **[Tutorial](docs/getting-started/first-run.md)** ·
14
+ [Français](docs/tutorial/fr.md) · [Español](docs/tutorial/es.md) · [Deutsch](docs/tutorial/de.md) ·
15
+ [日本語](docs/tutorial/ja.md) · [简体中文](docs/tutorial/zh-CN.md) · [22 languages](#the-tutorial-in-your-language)
16
+
17
+ ---
18
+
19
+ ## The concept
20
+
21
+ A coding agent can do whatever its tools allow: write anywhere, run any command, read your `.env`, commit, push,
22
+ and declare "done" when it thinks it is. Instructions in `CLAUDE.md` or `AGENTS.md` ask it not to — and they fade as
23
+ the context fills.
24
+
25
+ Taskquoin puts a **control plane** between you and the agents. A *quoin* is the cornerstone of a wall: the stone
26
+ the rest is aligned on. Taskquoin is that stone for agentic development:
27
+
28
+ 1. **The agents act, Taskquoin decides.** Agents propose a plan, code, critiques and reviews; only Taskquoin moves the
29
+ run forward, and only Taskquoin commits — on a dedicated branch, never pushed.
30
+ 2. **Rules are enforced, and the enforcement is measured.** Every capability an agent receives (write here, run that
31
+ command, no network…) is compiled to the runtime's own sandbox and hooks, and is accepted only if it was
32
+ **measured** on that exact runtime version. A rule that is only *advisory* is never presented as *enforced*.
33
+ 3. **You decide at two gates, bound to what you read.** You approve the plan, then the exact tree to commit — each by
34
+ its hash. If anything changes after you read it, the approval no longer applies.
35
+ 4. **"Done" is proven, not claimed.** Your tests run in a clean room with no network and no secrets, and a
36
+ **RED proof** shows that the new tests fail without the change — so a test that proves nothing is refused.
37
+
38
+ ## How a run works
39
+
40
+ ```mermaid
41
+ flowchart LR
42
+ R["taskquoin run &quot;…&quot;"] --> P["Plan<br/>(Architect)"]
43
+ P --> C["Adversarial critique<br/>(Reviewer)"]
44
+ C --> G1{{"✋ You approve the plan<br/>by its hash"}}
45
+ G1 --> I["Implementation, TDD<br/>(Developer, sandboxed)"]
46
+ I --> V["Clean-room Verify<br/>+ RED proof"]
47
+ V -- tests red --> I
48
+ V --> RV["Review<br/>(Reviewer)"]
49
+ RV -- changes requested --> I
50
+ RV --> G2{{"✋ You approve the exact tree<br/>by its hash"}}
51
+ G2 --> K["Taskquoin commits on<br/>taskquoin/&lt;run&gt; — never pushed"]
52
+ ```
53
+
54
+ Retries are bounded (3 implementation attempts — 5 for an OpenCode implementer — and 2 review reworks); past them, the
55
+ run stops and hands back to you (`needs-human`). Nothing is committed in that case.
56
+
57
+ ## Architecture at a glance
58
+
59
+ ```mermaid
60
+ flowchart TB
61
+ H(["You"]) -->|"commands · approvals by hash"| CLI["taskquoin CLI / console"]
62
+ subgraph CP["Taskquoin control plane (outside the workspace)"]
63
+ CLI --> WF["Workflow state machine"]
64
+ WF --> PG["Policy compiler + gate<br/>(measured capability matrix)"]
65
+ WF --> CS[("Control store<br/>state · artifacts · approvals · events")]
66
+ WF --> VR["Verify clean room<br/>(bubblewrap, no network, no HOME)"]
67
+ end
68
+ PG -->|"sandbox settings, hooks, ticket"| RT
69
+ subgraph RT["Native runtimes, each in its own sandbox"]
70
+ CC["Claude Code"]
71
+ CX["Codex"]
72
+ OC["OpenCode"]
73
+ API["API judges<br/>(text only)"]
74
+ end
75
+ RT -->|"proposals: plan, code, critique, review"| WF
76
+ CC & CX & OC -->|"edits, inside granted paths only"| WS[("Your repository<br/>branch taskquoin/&lt;run&gt;")]
77
+ WF -->|"the only commit"| WS
78
+ ```
79
+
80
+ The control store lives in `~/.local/state/taskquoin`, outside the repository: agents cannot write it, so they cannot
81
+ approve, change the policy or forge a result. Details: [Architecture](docs/concepts/architecture.md).
82
+
83
+ ## What it guarantees — and the evidence
84
+
85
+ Every line below is backed by a measurement with the real runtimes (files in `docs/reports/`) or by an end-to-end
86
+ scenario that runs on every test run (`features/`, scenario names in French).
87
+
88
+ | When an agent works alone, it can… | With Taskquoin | Evidence |
89
+ |---|---|---|
90
+ | write outside your repository | refused by the runtime's sandbox (ENFORCED); inside it, the Write/Edit tools are limited to the granted paths by the PreToolUse hook | `evidence-live-claude-2.1.327-2026-11-18.txt`: `forbidden/no.txt=false`, `outside=false`, `/tmp` blocked — limit measured too: a Bash command can still write anywhere *inside* the repository |
91
+ | read `.env` and other secrets | reads denied; secrets never put in a prompt | same file: `.env read blocked by sandbox.filesystem.denyRead`; canary not leaked |
92
+ | chain shell commands past an allow-list (`&&`, `;`, `$( )`, backticks) | each chained form denied | same file: `bash-operators` denials |
93
+ | commit or push, even with `--no-verify` | agents never commit; `git commit` blocked | same file: `hooks C git` — commit refused |
94
+ | reach the network from a command | no network for commands (Codex sandbox, Claude Bash sandbox) | same file: `M2 codex read-only`, network probe `hits=0` |
95
+ | change the rules it runs under | `taskquoin.yaml` and agent config files are protected; a run that touches them never lands | scenario "Une modification de configuration protégée n'atterrit jamais" |
96
+ | say "tests pass" when they fail | Taskquoin runs your tests itself, in a clean room | scenario "Des tests rouges déclenchent au plus deux reprises…" |
97
+ | write a test that proves nothing | RED proof: the new tests must fail without the change | scenario "Des tests qui passent sans le changement… (preuve RED)" |
98
+ | land code nobody read | two human gates, bound to the hash of what you read | scenarios on wrong, stale and replayed hashes |
99
+
100
+ What it does **not** protect against, and what it costs, is in [Why Taskquoin](docs/concepts/why-taskquoin.md). A
101
+ comparative live benchmark (Claude Code alone, Codex alone, GitHub Copilot, through Taskquoin) is planned and has
102
+ **no numbers yet**.
103
+
104
+ ## Quick start
105
+
106
+ ```bash
107
+ # 1. Install (Linux / WSL2)
108
+ sudo apt install -y bubblewrap socat
109
+ git clone <this repository> ~/taskquoin && cd ~/taskquoin
110
+ npm install --ignore-scripts
111
+ bin/taskquoin setup # puts `taskquoin` on your PATH (~/.local/bin)
112
+
113
+ # 2. Prepare your repository
114
+ cd ~/my-project # a git repository with a test command
115
+ taskquoin init # writes taskquoin.yaml for the detected stack
116
+ git add taskquoin.yaml && git commit -m "taskquoin init" # a run needs a clean tree
117
+ taskquoin doctor # certifies each agent; says where your code goes
118
+ ```
119
+
120
+ If `doctor` reports the Codex reviewer as refused on `connector.write` (the restriction is claimed by Codex but not
121
+ measured), read why in [Agents and runtimes](docs/guides/agents-and-runtimes.md), then accept that exact risk if it
122
+ fits your project:
123
+
124
+ ```bash
125
+ taskquoin accept-risk challenger connector.write --reason "Codex reviews read-only; no connector configured" --expires 2026-12-31 --as you
126
+ ```
127
+
128
+ ```bash
129
+ # 3. Run, read, approve
130
+ taskquoin run "Add a sum function" # plan → critique → waits for you
131
+ taskquoin status <run> # shows the exact approve command and hash
132
+ taskquoin show <run> plan # read the plan
133
+ taskquoin approve <run> plan --expect <hash> --as you
134
+ taskquoin show <run> diff-1 # read the exact diff (and verify-1, red-1, review-1)
135
+ taskquoin approve <run> commit --expect <hash> --as you # commit on taskquoin/<run>; merge it yourself
136
+ ```
137
+
138
+ ![Approving the plan, then the commit](docs/assets/screens/en/approve.svg)
139
+
140
+ The full walk-through, every step with its screen, is the [tutorial](docs/getting-started/first-run.md).
141
+
142
+ > [!IMPORTANT]
143
+ > A Claude Code version that Taskquoin has not measured is refused (NOT READY), by design. `doctor` tells you which
144
+ > version is measured. If the measured version is still installed, Taskquoin uses it automatically; `taskquoin upgrade`
145
+ > shows and fixes the rest ([Upgrade](docs/guides/upgrade.md)); see also [Troubleshooting](docs/guides/troubleshooting.md).
146
+
147
+ > [!WARNING]
148
+ > Your tests run in a clean room without your `HOME` and without network: a test toolchain installed under `HOME`
149
+ > (nvm, pyenv, `~/.m2`…) is not visible there. See [Verify and the RED proof](docs/guides/verify-and-red-proof.md).
150
+
151
+ ## The console
152
+
153
+ `taskquoin` alone opens an interactive console: the quoin logo, the repository context, the squad with each agent's real verdict, a
154
+ timeline of the run in your local time, `/` commands with Tab completion, and `/approve`, which shows what is bound and asks you to retype the hash. Nothing starts without a `/`
155
+ command. See [The console](docs/getting-started/console.md).
156
+
157
+ ## Dashboard
158
+
159
+ `taskquoin dashboard` (or `/dashboard` in the console) is a live, read-only screen of a run: the pipeline, the approval
160
+ that waits for you, the runs, the agents and the log, with a diff viewer that remembers what you read. No key approves:
161
+ the approval center asks you to retype the hash, then starts the usual `taskquoin approve` in a separate process.
162
+
163
+ ![The Dashboard at the commit gate](docs/assets/screens/en/dashboard.svg)
164
+
165
+ See [The Dashboard](docs/guides/dashboard.md).
166
+
167
+ ## The tutorial in your language
168
+
169
+ | | | | |
170
+ |---|---|---|---|
171
+ | [English](docs/getting-started/first-run.md) | [Français](docs/tutorial/fr.md) | [Español](docs/tutorial/es.md) | [Português (Brasil)](docs/tutorial/pt-BR.md) |
172
+ | [Deutsch](docs/tutorial/de.md) | [Italiano](docs/tutorial/it.md) | [Nederlands](docs/tutorial/nl.md) | [Polski](docs/tutorial/pl.md) |
173
+ | [Русский](docs/tutorial/ru.md) | [Українська](docs/tutorial/uk.md) | [Türkçe](docs/tutorial/tr.md) | [العربية](docs/tutorial/ar.md) |
174
+ | [فارسی](docs/tutorial/fa.md) | [עברית](docs/tutorial/he.md) | [हिन्दी](docs/tutorial/hi.md) | [Bahasa Indonesia](docs/tutorial/id.md) |
175
+ | [Tiếng Việt](docs/tutorial/vi.md) | [ไทย](docs/tutorial/th.md) | [简体中文](docs/tutorial/zh-CN.md) | [繁體中文](docs/tutorial/zh-TW.md) |
176
+ | [日本語](docs/tutorial/ja.md) | [한국어](docs/tutorial/ko.md) | | |
177
+
178
+ Each tutorial shows the screens in its own language. The console, the CLI and the agents' prose follow your
179
+ language (`TASKQUOIN_LANG`, otherwise your locale): [Languages](docs/guides/languages.md).
180
+
181
+ The console speaks your language: English, 日本語 and العربية below, and 19 more.
182
+
183
+ <p>
184
+ <img src="docs/assets/screens/en/console.svg" alt="The Taskquoin console in English" width="32%">
185
+ <img src="docs/assets/screens/ja/console.svg" alt="The Taskquoin console in Japanese" width="32%">
186
+ <img src="docs/assets/screens/ar/console.svg" alt="The Taskquoin console in Arabic" width="32%">
187
+ </p>
188
+
189
+ ## Documentation
190
+
191
+ | | |
192
+ |---|---|
193
+ | **Getting started** | [Installation](docs/getting-started/installation.md) · [Tutorial](docs/getting-started/first-run.md) · [The console](docs/getting-started/console.md) |
194
+ | **Concepts** | [Why Taskquoin](docs/concepts/why-taskquoin.md) · [Architecture](docs/concepts/architecture.md) |
195
+ | **Guides** | [Configuration](docs/guides/configuration.md) · [Agents and runtimes](docs/guides/agents-and-runtimes.md) · [The Dashboard](docs/guides/dashboard.md) · [Approvals](docs/guides/approvals.md) · [Verify and the RED proof](docs/guides/verify-and-red-proof.md) · [Security](docs/guides/security.md) · [Upgrade](docs/guides/upgrade.md) · [Skills](docs/guides/skills.md) · [Memory](docs/guides/memory.md) · [Languages](docs/guides/languages.md) · [Troubleshooting](docs/guides/troubleshooting.md) · [Best practices](docs/guides/best-practices.md) |
196
+ | **Reference** | [CLI](docs/reference/cli.md) · [Console commands](docs/reference/console-commands.md) · [Configuration](docs/reference/configuration.md) · [Runs, artifacts and events](docs/reference/runs-artifacts-events.md) · [Capabilities](docs/reference/capabilities.md) |
197
+ | **Decisions** | [ADRs](docs/adr/) · [Measured evidence](docs/reports/) · [Threat model](docs/security/threat-model.md) · [SECURITY.md](SECURITY.md) · [CHANGELOG](CHANGELOG.md) |
198
+
199
+ ## Requirements
200
+
201
+ - Node ≥ 22.18 (runs TypeScript natively) and git.
202
+ - Linux: `bubblewrap` and `socat` (sandboxes and the clean room).
203
+ - At least one coding runtime: Claude Code (signed in), or OpenCode 1.19.5 (`taskquoin connect opencode`); Codex CLI
204
+ for the default reviewer; API keys (environment variables) for any API judge you add.
205
+
206
+ ## Develop
207
+
208
+ ```bash
209
+ npm install --ignore-scripts
210
+ npm run typecheck && npm test # offline; live tests: TQ_E2E=1 npm test (uses your Claude / Codex sign-in)
211
+ npm run package # the npm package, in dist/package
212
+ node scripts/docs-screens/build.mjs <work-dir> # rebuilds every documentation screen from the real CLI
213
+ ```
214
+
215
+ Nothing is written outside the repository; Taskquoin never modifies `~/.claude` or `~/.codex`. The executable
216
+ specification of every command and of the whole chain is in `features/` (`npm run features`).
217
+
218
+ ## License
219
+
220
+ Apache-2.0 (`LICENSE`).
221
+
222
+ ## Acknowledgements
223
+
224
+ Two ideas come from [ai-craftsman-superpowers](https://github.com/BULDEE/ai-craftsman-superpowers) (Apache-2.0):
225
+ measuring what each runtime really enforces on a given machine ([ADR-0002](docs/adr/0002-enforcement-classes.md)), and
226
+ enforcing rules with hooks rather than prose ([ADR-0003](docs/adr/0003-hooks-enforce-prose-asks.md)). Taskquoin
227
+ re-implements them; no code is copied from that project. The other projects studied, and their licences, are listed in
228
+ [docs/research/licensing.md](docs/research/licensing.md).
package/SECURITY.md ADDED
@@ -0,0 +1,26 @@
1
+ # Security Policy
2
+
3
+ Taskquoin is alpha software. Please report vulnerabilities **privately** with GitHub's *Report a vulnerability* button (Security tab of this repository) — not in a public issue.
4
+
5
+ ## What Taskquoin claims — and does not
6
+ - Every restriction compiled for a runtime carries an **enforcement class** (`ENFORCED`, `BROKERED`, `ADVISORY`, `UNSUPPORTED`), measured per runtime version. `taskquoin doctor` prints the effective matrix. A mandatory restriction that is only ADVISORY on your runtime **refuses to compile**.
7
+ - Only the AI providers you configure receive code: Anthropic (Claude Code), OpenAI (Codex) and each provider listed under `providers` in `taskquoin.yaml`. `taskquoin doctor` prints that list. API judges never receive secret files, binaries or keys.
8
+ - Taskquoin does **not** make a workflow "secure". A scanner PASS or a positive review is a signal, not proof.
9
+
10
+ ## Threat model
11
+ See `docs/security/threat-model.md`. **Out of scope:** a hostile process already running as your OS user (it already has your files and credentials). Use a separate user, VM or container if you need that boundary.
12
+
13
+ ## Residual risks
14
+ - Tests are code: in Verify they can read host paths the sandbox leaves visible; a secret-*named directory* is not masked (`docs/adr/0014`).
15
+ - The RED proof is mechanical (`docs/adr/0013`): production code under `test/`/`tests/` passes as test code; a launch failure exiting with code 1 looks like a test failure; it does not prove the tests assert the requested behaviour.
16
+ - Repository commit hooks are not run by Taskquoin.
17
+ - Codex's `connector.write` cannot be measured; only the owner can accept that risk (`accept-risk`, dated, stored outside the repository).
18
+ - A `taskquoin.yaml` approved by a human can send any environment variable named in `key: env:NAME` to the provider host it lists — review `providers` like code.
19
+ - OpenCode agents (`docs/adr/0017`): no command and no network tool (measured), but the OpenCode process keeps the host network to reach its provider (hosts measured per version); its in-process rules keep its read tool off the per-run credential of its own provider; the plugin SDK it loads is installed at connect time.
20
+
21
+ ## Verifying a release
22
+ - The npm package `taskquoin` is published by `.github/workflows/release.yml`, in two jobs. `build` has no token and no secret: it checks that the tag is signed by a maintainer SSH key listed in `.github/allowed_signers` **on main** and that the tag is the commit being built, runs the full test suite and `npm audit`, and packs the tarball. `publish` runs no repository code: it publishes that tarball with **npm provenance** — the package's npmjs.com page links the exact commit and workflow run that built it.
23
+ - The signature is one layer, not the gate: whoever can push a tag also brings that tag's copy of the workflow. The release relies on settings outside this repository: the GitHub environment `npm-publish` (required reviewer, `v*` tags only) to which the npm trusted publisher is bound, a ruleset restricting who creates `v*` tags, and a protected main (it holds the signer list).
24
+ - An installed package: `npm audit signatures` does not support global installs — run it in a throwaway project (`npm init -y && npm install taskquoin@<version> && npm audit signatures`), or read `npm view taskquoin@<version> dist.attestations`.
25
+ - A tag, with the signers of main (a tag must not bring its own): `git show origin/main:.github/allowed_signers > /tmp/allowed_signers && git -c gpg.format=ssh -c gpg.ssh.allowedSignersFile=/tmp/allowed_signers verify-tag v<version>`.
26
+ - CI runs gitleaks over the whole history (`.gitleaks.toml` allows only the test canaries `CANARY-…`) and `npm audit` on pushes to main and on pull requests; no audit exception is accepted today.