carter-ai 0.22.0__tar.gz

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 (576) hide show
  1. carter_ai-0.22.0/.gitignore +53 -0
  2. carter_ai-0.22.0/.gitleaksignore +22 -0
  3. carter_ai-0.22.0/LICENSE +674 -0
  4. carter_ai-0.22.0/PKG-INFO +159 -0
  5. carter_ai-0.22.0/README.md +122 -0
  6. carter_ai-0.22.0/SECURITY.md +64 -0
  7. carter_ai-0.22.0/carter/__init__.py +22 -0
  8. carter_ai-0.22.0/carter/_yaml.py +14 -0
  9. carter_ai-0.22.0/carter/aplus/__init__.py +6 -0
  10. carter_ai-0.22.0/carter/aplus/findings.py +53 -0
  11. carter_ai-0.22.0/carter/aplus/push.py +242 -0
  12. carter_ai-0.22.0/carter/aplus/rangecalc.py +130 -0
  13. carter_ai-0.22.0/carter/aplus/repocfg.py +190 -0
  14. carter_ai-0.22.0/carter/aplus/run.py +218 -0
  15. carter_ai-0.22.0/carter/aplus/sigcheck.py +160 -0
  16. carter_ai-0.22.0/carter/aplus/sshcfg.py +146 -0
  17. carter_ai-0.22.0/carter/aplus_cli.py +41 -0
  18. carter_ai-0.22.0/carter/broker/__init__.py +26 -0
  19. carter_ai-0.22.0/carter/broker/argv.py +125 -0
  20. carter_ai-0.22.0/carter/broker/audit.py +141 -0
  21. carter_ai-0.22.0/carter/broker/checks.py +80 -0
  22. carter_ai-0.22.0/carter/broker/counter.py +139 -0
  23. carter_ai-0.22.0/carter/broker/env.py +175 -0
  24. carter_ai-0.22.0/carter/broker/execute.py +241 -0
  25. carter_ai-0.22.0/carter/broker/plan.py +248 -0
  26. carter_ai-0.22.0/carter/broker_cli.py +192 -0
  27. carter_ai-0.22.0/carter/checkitems.py +41 -0
  28. carter_ai-0.22.0/carter/ci/__init__.py +14 -0
  29. carter_ai-0.22.0/carter/ci/check.py +240 -0
  30. carter_ai-0.22.0/carter/ci/install.py +111 -0
  31. carter_ai-0.22.0/carter/ci/review.py +441 -0
  32. carter_ai-0.22.0/carter/ci/template.py +98 -0
  33. carter_ai-0.22.0/carter/ci_cli.py +86 -0
  34. carter_ai-0.22.0/carter/cli.py +692 -0
  35. carter_ai-0.22.0/carter/cliguard.py +115 -0
  36. carter_ai-0.22.0/carter/commit_cli.py +70 -0
  37. carter_ai-0.22.0/carter/config.py +641 -0
  38. carter_ai-0.22.0/carter/gate/__init__.py +53 -0
  39. carter_ai-0.22.0/carter/gate/__main__.py +72 -0
  40. carter_ai-0.22.0/carter/gate/aliases.py +170 -0
  41. carter_ai-0.22.0/carter/gate/build.py +94 -0
  42. carter_ai-0.22.0/carter/gate/data.py +98 -0
  43. carter_ai-0.22.0/carter/gate/envrules.py +112 -0
  44. carter_ai-0.22.0/carter/gate/others.py +184 -0
  45. carter_ai-0.22.0/carter/gate/paths.py +221 -0
  46. carter_ai-0.22.0/carter/gate/quoting.py +56 -0
  47. carter_ai-0.22.0/carter/gate/rules.py +151 -0
  48. carter_ai-0.22.0/carter/gate/tokenize.py +319 -0
  49. carter_ai-0.22.0/carter/gate/unwrap.py +273 -0
  50. carter_ai-0.22.0/carter/gate/verbs.py +306 -0
  51. carter_ai-0.22.0/carter/gate/words.py +113 -0
  52. carter_ai-0.22.0/carter/gate/wrappers.py +81 -0
  53. carter_ai-0.22.0/carter/gate_cli.py +39 -0
  54. carter_ai-0.22.0/carter/ghtoken.py +447 -0
  55. carter_ai-0.22.0/carter/ghtoken_cli.py +74 -0
  56. carter_ai-0.22.0/carter/guard/__init__.py +5 -0
  57. carter_ai-0.22.0/carter/guard/agent_rules.py +77 -0
  58. carter_ai-0.22.0/carter/guard/alias.py +39 -0
  59. carter_ai-0.22.0/carter/guard/cli.py +157 -0
  60. carter_ai-0.22.0/carter/guard/configwrite.py +201 -0
  61. carter_ai-0.22.0/carter/guard/consent.py +280 -0
  62. carter_ai-0.22.0/carter/guard/engine.py +774 -0
  63. carter_ai-0.22.0/carter/guard/gitconfig.py +503 -0
  64. carter_ai-0.22.0/carter/guard/hooks.py +298 -0
  65. carter_ai-0.22.0/carter/guard/mirror_io.py +149 -0
  66. carter_ai-0.22.0/carter/guard/optout.py +80 -0
  67. carter_ai-0.22.0/carter/guard/permissions.py +150 -0
  68. carter_ai-0.22.0/carter/guard/plugin.py +268 -0
  69. carter_ai-0.22.0/carter/guard/policies.py +198 -0
  70. carter_ai-0.22.0/carter/guard/probe.py +248 -0
  71. carter_ai-0.22.0/carter/guard/repohooks.py +261 -0
  72. carter_ai-0.22.0/carter/guard/report.py +40 -0
  73. carter_ai-0.22.0/carter/guard/state.py +251 -0
  74. carter_ai-0.22.0/carter/guard/status.py +150 -0
  75. carter_ai-0.22.0/carter/guard/templates/carter-guard.sh +213 -0
  76. carter_ai-0.22.0/carter/guard/update_mirror.py +75 -0
  77. carter_ai-0.22.0/carter/guard/wiring.py +86 -0
  78. carter_ai-0.22.0/carter/harness.py +429 -0
  79. carter_ai-0.22.0/carter/home.py +56 -0
  80. carter_ai-0.22.0/carter/hostcheck.py +474 -0
  81. carter_ai-0.22.0/carter/hostcheck_broker.py +281 -0
  82. carter_ai-0.22.0/carter/hostcheck_g2.py +339 -0
  83. carter_ai-0.22.0/carter/hostcheck_id.py +320 -0
  84. carter_ai-0.22.0/carter/human_items.py +103 -0
  85. carter_ai-0.22.0/carter/identity/__init__.py +87 -0
  86. carter_ai-0.22.0/carter/identity/agent.py +191 -0
  87. carter_ai-0.22.0/carter/identity/agent_paths.py +125 -0
  88. carter_ai-0.22.0/carter/identity/agent_probe.py +96 -0
  89. carter_ai-0.22.0/carter/identity/agent_proc.py +189 -0
  90. carter_ai-0.22.0/carter/identity/agent_setup.py +122 -0
  91. carter_ai-0.22.0/carter/identity/blocks.py +77 -0
  92. carter_ai-0.22.0/carter/identity/coauthor.py +153 -0
  93. carter_ai-0.22.0/carter/identity/coauthor_link.py +161 -0
  94. carter_ai-0.22.0/carter/identity/commit.py +213 -0
  95. carter_ai-0.22.0/carter/identity/config.py +192 -0
  96. carter_ai-0.22.0/carter/identity/env.py +97 -0
  97. carter_ai-0.22.0/carter/identity/errors.json +63 -0
  98. carter_ai-0.22.0/carter/identity/errors.py +136 -0
  99. carter_ai-0.22.0/carter/identity/g2_rules.json +95 -0
  100. carter_ai-0.22.0/carter/identity/github.py +129 -0
  101. carter_ai-0.22.0/carter/identity/github_http.py +137 -0
  102. carter_ai-0.22.0/carter/identity/isolation.py +155 -0
  103. carter_ai-0.22.0/carter/identity/isolation_apply.py +80 -0
  104. carter_ai-0.22.0/carter/identity/isolation_schema.py +129 -0
  105. carter_ai-0.22.0/carter/identity/mirror.py +205 -0
  106. carter_ai-0.22.0/carter/identity/mode.py +67 -0
  107. carter_ai-0.22.0/carter/identity/payload.py +212 -0
  108. carter_ai-0.22.0/carter/identity/pin.py +83 -0
  109. carter_ai-0.22.0/carter/identity/policyset.py +142 -0
  110. carter_ai-0.22.0/carter/identity/pollution.py +84 -0
  111. carter_ai-0.22.0/carter/identity/resolve.py +243 -0
  112. carter_ai-0.22.0/carter/identity/rules.py +193 -0
  113. carter_ai-0.22.0/carter/identity/schema.py +158 -0
  114. carter_ai-0.22.0/carter/identity/scrub.py +30 -0
  115. carter_ai-0.22.0/carter/identity/shim.py +165 -0
  116. carter_ai-0.22.0/carter/identity/templates/carter-ssh-sign.sh +76 -0
  117. carter_ai-0.22.0/carter/identity/trailer.py +28 -0
  118. carter_ai-0.22.0/carter/identity/workspace.py +18 -0
  119. carter_ai-0.22.0/carter/identity/writer.py +161 -0
  120. carter_ai-0.22.0/carter/identity_add.py +431 -0
  121. carter_ai-0.22.0/carter/identity_cli.py +334 -0
  122. carter_ai-0.22.0/carter/identity_remove.py +173 -0
  123. carter_ai-0.22.0/carter/identity_show.py +246 -0
  124. carter_ai-0.22.0/carter/identity_verify.py +288 -0
  125. carter_ai-0.22.0/carter/install/__init__.py +8 -0
  126. carter_ai-0.22.0/carter/install/atomic.py +50 -0
  127. carter_ai-0.22.0/carter/install/backups.py +83 -0
  128. carter_ai-0.22.0/carter/install/components.py +370 -0
  129. carter_ai-0.22.0/carter/install/console.py +54 -0
  130. carter_ai-0.22.0/carter/install/files.py +166 -0
  131. carter_ai-0.22.0/carter/install/jsonc.py +102 -0
  132. carter_ai-0.22.0/carter/install/mcp.py +207 -0
  133. carter_ai-0.22.0/carter/install/orchestrator.py +160 -0
  134. carter_ai-0.22.0/carter/install/ownership.py +22 -0
  135. carter_ai-0.22.0/carter/install/paths.py +116 -0
  136. carter_ai-0.22.0/carter/install/prereqs.py +149 -0
  137. carter_ai-0.22.0/carter/install/reports.py +156 -0
  138. carter_ai-0.22.0/carter/install/uninstall.py +459 -0
  139. carter_ai-0.22.0/carter/ops/__init__.py +0 -0
  140. carter_ai-0.22.0/carter/ops/carter_ops.py +320 -0
  141. carter_ai-0.22.0/carter/ops/config.py +107 -0
  142. carter_ai-0.22.0/carter/plans.py +423 -0
  143. carter_ai-0.22.0/carter/plugin/broker.ts +144 -0
  144. carter_ai-0.22.0/carter/plugin/core.ts +715 -0
  145. carter_ai-0.22.0/carter/plugin/index.ts +61 -0
  146. carter_ai-0.22.0/carter/resources.py +45 -0
  147. carter_ai-0.22.0/carter/scaffold.py +256 -0
  148. carter_ai-0.22.0/carter/serverenv.py +96 -0
  149. carter_ai-0.22.0/carter/state.py +233 -0
  150. carter_ai-0.22.0/carter/terminal.py +78 -0
  151. carter_ai-0.22.0/carter/ui.py +345 -0
  152. carter_ai-0.22.0/carter/unknownkeys.py +179 -0
  153. carter_ai-0.22.0/docs/README.md +55 -0
  154. carter_ai-0.22.0/docs/contributing/development.md +150 -0
  155. carter_ai-0.22.0/docs/contributing/testing.md +113 -0
  156. carter_ai-0.22.0/docs/guides/ci-review.md +102 -0
  157. carter_ai-0.22.0/docs/guides/cost-and-models.md +122 -0
  158. carter_ai-0.22.0/docs/guides/first-workspace.md +137 -0
  159. carter_ai-0.22.0/docs/guides/identity-and-signing.md +375 -0
  160. carter_ai-0.22.0/docs/guides/install.md +308 -0
  161. carter_ai-0.22.0/docs/guides/mcp-servers.md +159 -0
  162. carter_ai-0.22.0/docs/guides/memory-and-plans.md +148 -0
  163. carter_ai-0.22.0/docs/guides/safety-and-permissions.md +199 -0
  164. carter_ai-0.22.0/docs/guides/using-carter.md +138 -0
  165. carter_ai-0.22.0/docs/guides/write-operations.md +248 -0
  166. carter_ai-0.22.0/docs/reference/cli.md +773 -0
  167. carter_ai-0.22.0/docs/reference/configuration.md +288 -0
  168. carter_ai-0.22.0/docs/reference/files-and-paths.md +87 -0
  169. carter_ai-0.22.0/docs/reference/frontmatter.md +145 -0
  170. carter_ai-0.22.0/docs/reference/permissions.md +148 -0
  171. carter_ai-0.22.0/docs/troubleshooting.md +150 -0
  172. carter_ai-0.22.0/evals/README.md +125 -0
  173. carter_ai-0.22.0/evals/__init__.py +1 -0
  174. carter_ai-0.22.0/evals/adherence.py +126 -0
  175. carter_ai-0.22.0/evals/conftest.py +100 -0
  176. carter_ai-0.22.0/evals/fixtures/implementer_adherence_sonnet.json +11 -0
  177. carter_ai-0.22.0/evals/fixtures/narrator_adherence_sonnet.json +10 -0
  178. carter_ai-0.22.0/evals/fixtures/pm_adherence_sonnet.json +10 -0
  179. carter_ai-0.22.0/evals/metrics.py +120 -0
  180. carter_ai-0.22.0/evals/pytest.ini +3 -0
  181. carter_ai-0.22.0/evals/scenarios/carter_ops.yaml +345 -0
  182. carter_ai-0.22.0/evals/scenarios/implementer_adherence.yaml +79 -0
  183. carter_ai-0.22.0/evals/scenarios/narrator_adherence.yaml +105 -0
  184. carter_ai-0.22.0/evals/scenarios/pm_adherence.yaml +68 -0
  185. carter_ai-0.22.0/evals/scenarios/routing.yaml +85 -0
  186. carter_ai-0.22.0/evals/scenarios/skills.yaml +110 -0
  187. carter_ai-0.22.0/evals/test_adherence.py +313 -0
  188. carter_ai-0.22.0/evals/test_adherence_live.py +132 -0
  189. carter_ai-0.22.0/evals/test_live.py +428 -0
  190. carter_ai-0.22.0/evals/test_metrics.py +119 -0
  191. carter_ai-0.22.0/evals/test_ops_scenarios.py +446 -0
  192. carter_ai-0.22.0/evals/test_routing.py +143 -0
  193. carter_ai-0.22.0/evals/test_skills.py +227 -0
  194. carter_ai-0.22.0/knowledge/debugging.md +12 -0
  195. carter_ai-0.22.0/knowledge/decisions.md +12 -0
  196. carter_ai-0.22.0/knowledge/infrastructure.md +11 -0
  197. carter_ai-0.22.0/knowledge/mistakes.md +12 -0
  198. carter_ai-0.22.0/knowledge/patterns.md +12 -0
  199. carter_ai-0.22.0/knowledge/project-history.md +11 -0
  200. carter_ai-0.22.0/mcp/opencode/atlassian.json +6 -0
  201. carter_ai-0.22.0/mcp/opencode/github.json +21 -0
  202. carter_ai-0.22.0/mcp/opencode/terraform.json +19 -0
  203. carter_ai-0.22.0/pyproject.toml +200 -0
  204. carter_ai-0.22.0/scripts/check-dist.sh +80 -0
  205. carter_ai-0.22.0/skills/carter-adr/SKILL.md +99 -0
  206. carter_ai-0.22.0/skills/carter-atlassian/SKILL.md +264 -0
  207. carter_ai-0.22.0/skills/carter-code-review/SKILL.md +178 -0
  208. carter_ai-0.22.0/skills/carter-design-review/SKILL.md +79 -0
  209. carter_ai-0.22.0/skills/carter-diagram/SKILL.md +57 -0
  210. carter_ai-0.22.0/skills/carter-distill/SKILL.md +62 -0
  211. carter_ai-0.22.0/skills/carter-docs/SKILL.md +161 -0
  212. carter_ai-0.22.0/skills/carter-explain/SKILL.md +51 -0
  213. carter_ai-0.22.0/skills/carter-golang/SKILL.md +150 -0
  214. carter_ai-0.22.0/skills/carter-golang/apis.md +231 -0
  215. carter_ai-0.22.0/skills/carter-golang/concurrency.md +206 -0
  216. carter_ai-0.22.0/skills/carter-golang/errors-safety.md +200 -0
  217. carter_ai-0.22.0/skills/carter-golang/networking.md +330 -0
  218. carter_ai-0.22.0/skills/carter-golang/performance.md +158 -0
  219. carter_ai-0.22.0/skills/carter-golang/testing-qa.md +216 -0
  220. carter_ai-0.22.0/skills/carter-ir-runbook/SKILL.md +91 -0
  221. carter_ai-0.22.0/skills/carter-mistakes/SKILL.md +52 -0
  222. carter_ai-0.22.0/skills/carter-ops/SKILL.md +428 -0
  223. carter_ai-0.22.0/skills/carter-packer/SKILL.md +221 -0
  224. carter_ai-0.22.0/skills/carter-packer/aws.md +136 -0
  225. carter_ai-0.22.0/skills/carter-packer/azure.md +130 -0
  226. carter_ai-0.22.0/skills/carter-packer/hcp.md +133 -0
  227. carter_ai-0.22.0/skills/carter-packer/windows.md +151 -0
  228. carter_ai-0.22.0/skills/carter-pentest/SKILL.md +97 -0
  229. carter_ai-0.22.0/skills/carter-pipeline/SKILL.md +201 -0
  230. carter_ai-0.22.0/skills/carter-pipeline/actions.md +280 -0
  231. carter_ai-0.22.0/skills/carter-pipeline/github-cli.md +161 -0
  232. carter_ai-0.22.0/skills/carter-pipeline/strategies.md +117 -0
  233. carter_ai-0.22.0/skills/carter-plan/SKILL.md +135 -0
  234. carter_ai-0.22.0/skills/carter-python/SKILL.md +224 -0
  235. carter_ai-0.22.0/skills/carter-reflect/SKILL.md +56 -0
  236. carter_ai-0.22.0/skills/carter-research/SKILL.md +79 -0
  237. carter_ai-0.22.0/skills/carter-rfc/SKILL.md +161 -0
  238. carter_ai-0.22.0/skills/carter-risk/SKILL.md +80 -0
  239. carter_ai-0.22.0/skills/carter-secure-review/SKILL.md +82 -0
  240. carter_ai-0.22.0/skills/carter-story/SKILL.md +85 -0
  241. carter_ai-0.22.0/skills/carter-terraform/SKILL.md +273 -0
  242. carter_ai-0.22.0/skills/carter-terraform/import.md +264 -0
  243. carter_ai-0.22.0/skills/carter-terraform/modules.md +268 -0
  244. carter_ai-0.22.0/skills/carter-terraform/stacks.md +286 -0
  245. carter_ai-0.22.0/skills/carter-terraform/testing.md +307 -0
  246. carter_ai-0.22.0/skills/carter-test-first/SKILL.md +59 -0
  247. carter_ai-0.22.0/skills/carter-threat-model/SKILL.md +72 -0
  248. carter_ai-0.22.0/skills/carter-vuln-triage/SKILL.md +75 -0
  249. carter_ai-0.22.0/templates/agents/carter-architect.md.j2 +99 -0
  250. carter_ai-0.22.0/templates/agents/carter-devops.md.j2 +90 -0
  251. carter_ai-0.22.0/templates/agents/carter-engineer.md.j2 +160 -0
  252. carter_ai-0.22.0/templates/agents/carter-learner.md.j2 +73 -0
  253. carter_ai-0.22.0/templates/agents/carter-maestro.md.j2 +284 -0
  254. carter_ai-0.22.0/templates/agents/carter-narrator.md.j2 +132 -0
  255. carter_ai-0.22.0/templates/agents/carter-pm.md.j2 +79 -0
  256. carter_ai-0.22.0/templates/agents/carter-security.md.j2 +89 -0
  257. carter_ai-0.22.0/templates/base_agent.md.j2 +39 -0
  258. carter_ai-0.22.0/templates/ci/carter-review.yml.tmpl +78 -0
  259. carter_ai-0.22.0/templates/instructions/AGENTS.md.j2 +73 -0
  260. carter_ai-0.22.0/tests/aplus/__init__.py +0 -0
  261. carter_ai-0.22.0/tests/aplus/conftest.py +51 -0
  262. carter_ai-0.22.0/tests/aplus/helpers.py +34 -0
  263. carter_ai-0.22.0/tests/aplus/test_push.py +452 -0
  264. carter_ai-0.22.0/tests/aplus/test_push_integration.py +225 -0
  265. carter_ai-0.22.0/tests/aplus/test_rangecalc.py +223 -0
  266. carter_ai-0.22.0/tests/aplus/test_repocfg.py +343 -0
  267. carter_ai-0.22.0/tests/aplus/test_run.py +129 -0
  268. carter_ai-0.22.0/tests/aplus/test_sigcheck.py +329 -0
  269. carter_ai-0.22.0/tests/aplus/test_sshcfg.py +235 -0
  270. carter_ai-0.22.0/tests/broker/__init__.py +0 -0
  271. carter_ai-0.22.0/tests/broker/fakes.py +169 -0
  272. carter_ai-0.22.0/tests/broker/test_argv.py +237 -0
  273. carter_ai-0.22.0/tests/broker/test_audit.py +114 -0
  274. carter_ai-0.22.0/tests/broker/test_checks.py +243 -0
  275. carter_ai-0.22.0/tests/broker/test_cli.py +252 -0
  276. carter_ai-0.22.0/tests/broker/test_counter.py +85 -0
  277. carter_ai-0.22.0/tests/broker/test_env.py +223 -0
  278. carter_ai-0.22.0/tests/broker/test_no_home_key.py +63 -0
  279. carter_ai-0.22.0/tests/broker/test_push_child.py +312 -0
  280. carter_ai-0.22.0/tests/broker/test_push_exec.py +294 -0
  281. carter_ai-0.22.0/tests/broker/test_push_plan.py +333 -0
  282. carter_ai-0.22.0/tests/broker/test_ssh_g_live.py +63 -0
  283. carter_ai-0.22.0/tests/broker/world.py +159 -0
  284. carter_ai-0.22.0/tests/ci/conftest.py +12 -0
  285. carter_ai-0.22.0/tests/ci/helpers.py +21 -0
  286. carter_ai-0.22.0/tests/ci/test_review_driver.py +612 -0
  287. carter_ai-0.22.0/tests/ci/test_wf_check.py +350 -0
  288. carter_ai-0.22.0/tests/ci/test_wf_install.py +231 -0
  289. carter_ai-0.22.0/tests/ci/test_wf_template.py +160 -0
  290. carter_ai-0.22.0/tests/conftest.py +555 -0
  291. carter_ai-0.22.0/tests/data/b_hostile_argv.json +973 -0
  292. carter_ai-0.22.0/tests/data/gate_corpus.yaml +2226 -0
  293. carter_ai-0.22.0/tests/data/gate_workflow_allow.yaml +121 -0
  294. carter_ai-0.22.0/tests/data/gate_workflow_rejected.yaml +33 -0
  295. carter_ai-0.22.0/tests/data/github/commit-unknown-key.json +34 -0
  296. carter_ai-0.22.0/tests/data/github/commit-unsigned.json +34 -0
  297. carter_ai-0.22.0/tests/data/github/commit-verified.json +34 -0
  298. carter_ai-0.22.0/tests/data/github/err-403-rate.json +4 -0
  299. carter_ai-0.22.0/tests/data/github/err-403-secondary.json +4 -0
  300. carter_ai-0.22.0/tests/data/github/err-404.json +5 -0
  301. carter_ai-0.22.0/tests/data/github/err-5xx.json +3 -0
  302. carter_ai-0.22.0/tests/data/github/keys-empty.txt +1 -0
  303. carter_ai-0.22.0/tests/data/github/keys-with.txt +2 -0
  304. carter_ai-0.22.0/tests/data/github/keys-without.txt +1 -0
  305. carter_ai-0.22.0/tests/data/github/signing-keys-comment.json +8 -0
  306. carter_ai-0.22.0/tests/data/github/signing-keys-empty.json +1 -0
  307. carter_ai-0.22.0/tests/data/github/signing-keys-match.json +8 -0
  308. carter_ai-0.22.0/tests/data/github/signing-keys-nomatch.json +8 -0
  309. carter_ai-0.22.0/tests/data/github/signing-keys-two.json +14 -0
  310. carter_ai-0.22.0/tests/data/github/truncated.json +1 -0
  311. carter_ai-0.22.0/tests/data/github/user-bot.json +35 -0
  312. carter_ai-0.22.0/tests/data/github/user-emails.json +5 -0
  313. carter_ai-0.22.0/tests/data/github/user-org.json +35 -0
  314. carter_ai-0.22.0/tests/data/github/user.json +35 -0
  315. carter_ai-0.22.0/tests/data/hook_matrix.json +2157 -0
  316. carter_ai-0.22.0/tests/data/human_identity_vectors.json +235 -0
  317. carter_ai-0.22.0/tests/data/opencode-2.1.4-debug-agents-cold.json +1 -0
  318. carter_ai-0.22.0/tests/data/opencode-2.1.4-debug-agents-denies.json +850 -0
  319. carter_ai-0.22.0/tests/data/opencode-2.1.4-debug-agents.json +833 -0
  320. carter_ai-0.22.0/tests/data/opencode-2.1.4-debug-config-agent-dropped.json +50 -0
  321. carter_ai-0.22.0/tests/data/opencode-2.1.4-debug-config-broken.json +6 -0
  322. carter_ai-0.22.0/tests/data/opencode-2.1.4-debug-config-invalid-statements.json +27 -0
  323. carter_ai-0.22.0/tests/data/opencode-2.1.4-debug-config-project.json +55 -0
  324. carter_ai-0.22.0/tests/data/opencode-2.1.4-debug-config.json +39 -0
  325. carter_ai-0.22.0/tests/data/opencode-config-shape.jsonc +16 -0
  326. carter_ai-0.22.0/tests/data/plugin_vectors.json +3524 -0
  327. carter_ai-0.22.0/tests/data/ssh_g/index.json +74 -0
  328. carter_ai-0.22.0/tests/data/ssh_g/openssh-10.2-include-proxy.txt +86 -0
  329. carter_ai-0.22.0/tests/data/ssh_g/openssh-10.2-knownhostscommand.txt +87 -0
  330. carter_ai-0.22.0/tests/data/ssh_g/openssh-10.2-localcommand-not-permitted.txt +87 -0
  331. carter_ai-0.22.0/tests/data/ssh_g/openssh-10.2-localcommand-permitted.txt +87 -0
  332. carter_ai-0.22.0/tests/data/ssh_g/openssh-10.2-match-host-final.txt +87 -0
  333. carter_ai-0.22.0/tests/data/ssh_g/openssh-10.2-permitlocalcommand-only.txt +86 -0
  334. carter_ai-0.22.0/tests/data/ssh_g/openssh-10.2-plain.txt +86 -0
  335. carter_ai-0.22.0/tests/data/ssh_g/openssh-10.2-proxycommand.txt +87 -0
  336. carter_ai-0.22.0/tests/data/ssh_g/openssh-10.2-proxyjump.txt +87 -0
  337. carter_ai-0.22.0/tests/data/ssh_g/openssh-10.2-sendenv-forward.txt +87 -0
  338. carter_ai-0.22.0/tests/data/ssh_g/openssh-10.2-ssh-askpass.txt +87 -0
  339. carter_ai-0.22.0/tests/data/ssh_g/openssh-10.2-star-host-proxy.txt +86 -0
  340. carter_ai-0.22.0/tests/data/ssh_g/synthetic-apple-localcommand.txt +90 -0
  341. carter_ai-0.22.0/tests/data/ssh_g/synthetic-apple-plain.txt +88 -0
  342. carter_ai-0.22.0/tests/data/workflows/README.md +3 -0
  343. carter_ai-0.22.0/tests/data/workflows/bad-pull-request-target.yml +15 -0
  344. carter_ai-0.22.0/tests/data/workflows/bad-self-hosted.yml +17 -0
  345. carter_ai-0.22.0/tests/data/workflows/bad-workflow-run.yml +19 -0
  346. carter_ai-0.22.0/tests/data/workflows/good-minimal.yml +20 -0
  347. carter_ai-0.22.0/tests/docs_support.py +58 -0
  348. carter_ai-0.22.0/tests/e2e/__init__.py +0 -0
  349. carter_ai-0.22.0/tests/e2e/btools.py +335 -0
  350. carter_ai-0.22.0/tests/e2e/conftest.py +101 -0
  351. carter_ai-0.22.0/tests/e2e/g2.py +141 -0
  352. carter_ai-0.22.0/tests/e2e/harness.py +550 -0
  353. carter_ai-0.22.0/tests/e2e/mock_llm.py +257 -0
  354. carter_ai-0.22.0/tests/e2e/run.sh +50 -0
  355. carter_ai-0.22.0/tests/e2e/test_ci_review_e2e.py +332 -0
  356. carter_ai-0.22.0/tests/e2e/test_g2_contract.py +195 -0
  357. carter_ai-0.22.0/tests/e2e/test_g2_install.py +147 -0
  358. carter_ai-0.22.0/tests/e2e/test_harness_e2e.py +59 -0
  359. carter_ai-0.22.0/tests/e2e/test_harness_unit.py +275 -0
  360. carter_ai-0.22.0/tests/e2e/test_m2_integration.py +217 -0
  361. carter_ai-0.22.0/tests/e2e/test_plugin_smoke.py +205 -0
  362. carter_ai-0.22.0/tests/e2e/test_push_tool_contract.py +635 -0
  363. carter_ai-0.22.0/tests/e2e/test_role_author_contract.py +289 -0
  364. carter_ai-0.22.0/tests/e2e/test_scope_contract.py +151 -0
  365. carter_ai-0.22.0/tests/e2e/test_signing_contract.py +533 -0
  366. carter_ai-0.22.0/tests/gate/__init__.py +0 -0
  367. carter_ai-0.22.0/tests/gate/corpus.py +59 -0
  368. carter_ai-0.22.0/tests/gate/helpers.py +10 -0
  369. carter_ai-0.22.0/tests/gate/test_aliases.py +135 -0
  370. carter_ai-0.22.0/tests/gate/test_budget.py +169 -0
  371. carter_ai-0.22.0/tests/gate/test_corpus.py +77 -0
  372. carter_ai-0.22.0/tests/gate/test_corpus_frozen.py +25 -0
  373. carter_ai-0.22.0/tests/gate/test_data_parity.py +102 -0
  374. carter_ai-0.22.0/tests/gate/test_imports.py +227 -0
  375. carter_ai-0.22.0/tests/gate/test_limits.py +65 -0
  376. carter_ai-0.22.0/tests/gate/test_main.py +153 -0
  377. carter_ai-0.22.0/tests/gate/test_paths.py +323 -0
  378. carter_ai-0.22.0/tests/gate/test_rules_env.py +275 -0
  379. carter_ai-0.22.0/tests/gate/test_rules_git.py +321 -0
  380. carter_ai-0.22.0/tests/gate/test_rules_indirect.py +101 -0
  381. carter_ai-0.22.0/tests/gate/test_rules_other.py +362 -0
  382. carter_ai-0.22.0/tests/gate/test_tokenizer.py +304 -0
  383. carter_ai-0.22.0/tests/gh_api.py +199 -0
  384. carter_ai-0.22.0/tests/guard/__init__.py +0 -0
  385. carter_ai-0.22.0/tests/guard/conftest.py +58 -0
  386. carter_ai-0.22.0/tests/guard/helpers.py +110 -0
  387. carter_ai-0.22.0/tests/guard/test_agent_permissions.py +284 -0
  388. carter_ai-0.22.0/tests/guard/test_alias_group.py +170 -0
  389. carter_ai-0.22.0/tests/guard/test_carter_guard.py +341 -0
  390. carter_ai-0.22.0/tests/guard/test_carter_guard_commit_events.py +692 -0
  391. carter_ai-0.22.0/tests/guard/test_carter_guard_role_author.py +505 -0
  392. carter_ai-0.22.0/tests/guard/test_carter_scope.py +393 -0
  393. carter_ai-0.22.0/tests/guard/test_cli.py +684 -0
  394. carter_ai-0.22.0/tests/guard/test_consent.py +276 -0
  395. carter_ai-0.22.0/tests/guard/test_consent_hooks_rev2.py +188 -0
  396. carter_ai-0.22.0/tests/guard/test_consent_rev2.py +226 -0
  397. carter_ai-0.22.0/tests/guard/test_consent_rev3.py +256 -0
  398. carter_ai-0.22.0/tests/guard/test_declined_guard.py +125 -0
  399. carter_ai-0.22.0/tests/guard/test_git_behaviour_isolation.py +521 -0
  400. carter_ai-0.22.0/tests/guard/test_git_behaviour_role_author.py +538 -0
  401. carter_ai-0.22.0/tests/guard/test_git_behaviour_signing.py +1251 -0
  402. carter_ai-0.22.0/tests/guard/test_gitconfig.py +651 -0
  403. carter_ai-0.22.0/tests/guard/test_gitconfig_scope.py +329 -0
  404. carter_ai-0.22.0/tests/guard/test_guard_log_move.py +100 -0
  405. carter_ai-0.22.0/tests/guard/test_hook_matrix.py +391 -0
  406. carter_ai-0.22.0/tests/guard/test_hooks_group.py +345 -0
  407. carter_ai-0.22.0/tests/guard/test_hostcheck.py +416 -0
  408. carter_ai-0.22.0/tests/guard/test_hostcheck_agents.py +140 -0
  409. carter_ai-0.22.0/tests/guard/test_hostcheck_broker.py +248 -0
  410. carter_ai-0.22.0/tests/guard/test_hostcheck_file_mode.py +66 -0
  411. carter_ai-0.22.0/tests/guard/test_hostcheck_identity.py +469 -0
  412. carter_ai-0.22.0/tests/guard/test_hostcheck_parallel.py +108 -0
  413. carter_ai-0.22.0/tests/guard/test_hostcheck_plugin.py +311 -0
  414. carter_ai-0.22.0/tests/guard/test_hostcheck_role_author.py +246 -0
  415. carter_ai-0.22.0/tests/guard/test_isolation_git.py +409 -0
  416. carter_ai-0.22.0/tests/guard/test_mirror_git.py +326 -0
  417. carter_ai-0.22.0/tests/guard/test_names.py +784 -0
  418. carter_ai-0.22.0/tests/guard/test_never_blocks_human.py +205 -0
  419. carter_ai-0.22.0/tests/guard/test_never_blocks_human_plugin.py +150 -0
  420. carter_ai-0.22.0/tests/guard/test_old_git_signing.py +55 -0
  421. carter_ai-0.22.0/tests/guard/test_optouts.py +325 -0
  422. carter_ai-0.22.0/tests/guard/test_plugin_install.py +205 -0
  423. carter_ai-0.22.0/tests/guard/test_policy_writer.py +638 -0
  424. carter_ai-0.22.0/tests/guard/test_pollution_check.py +128 -0
  425. carter_ai-0.22.0/tests/guard/test_prepush_e2e.py +267 -0
  426. carter_ai-0.22.0/tests/guard/test_probe.py +285 -0
  427. carter_ai-0.22.0/tests/guard/test_remove_identity.py +344 -0
  428. carter_ai-0.22.0/tests/guard/test_remove_plugin.py +223 -0
  429. carter_ai-0.22.0/tests/guard/test_repohooks.py +490 -0
  430. carter_ai-0.22.0/tests/guard/test_repohooks_commit_hooks.py +129 -0
  431. carter_ai-0.22.0/tests/guard/test_state.py +410 -0
  432. carter_ai-0.22.0/tests/guard/test_state_commit_with_guards.py +121 -0
  433. carter_ai-0.22.0/tests/guard/test_status_reset_b.py +63 -0
  434. carter_ai-0.22.0/tests/guard/test_wiring.py +331 -0
  435. carter_ai-0.22.0/tests/host_guard.py +153 -0
  436. carter_ai-0.22.0/tests/identity/__init__.py +0 -0
  437. carter_ai-0.22.0/tests/identity/test_agent.py +594 -0
  438. carter_ai-0.22.0/tests/identity/test_agent_proc_without_ps.py +71 -0
  439. carter_ai-0.22.0/tests/identity/test_agent_tooling.py +262 -0
  440. carter_ai-0.22.0/tests/identity/test_coauthor.py +113 -0
  441. carter_ai-0.22.0/tests/identity/test_coauthor_link.py +335 -0
  442. carter_ai-0.22.0/tests/identity/test_commit.py +580 -0
  443. carter_ai-0.22.0/tests/identity/test_config.py +328 -0
  444. carter_ai-0.22.0/tests/identity/test_env_entry.py +380 -0
  445. carter_ai-0.22.0/tests/identity/test_errors.py +230 -0
  446. carter_ai-0.22.0/tests/identity/test_g2_rules.py +301 -0
  447. carter_ai-0.22.0/tests/identity/test_github.py +275 -0
  448. carter_ai-0.22.0/tests/identity/test_identity_add.py +630 -0
  449. carter_ai-0.22.0/tests/identity/test_identity_remove.py +241 -0
  450. carter_ai-0.22.0/tests/identity/test_isolation.py +325 -0
  451. carter_ai-0.22.0/tests/identity/test_mirror.py +141 -0
  452. carter_ai-0.22.0/tests/identity/test_mode.py +160 -0
  453. carter_ai-0.22.0/tests/identity/test_payload.py +419 -0
  454. carter_ai-0.22.0/tests/identity/test_plugin_vectors.py +56 -0
  455. carter_ai-0.22.0/tests/identity/test_policyset.py +392 -0
  456. carter_ai-0.22.0/tests/identity/test_pollution.py +72 -0
  457. carter_ai-0.22.0/tests/identity/test_resolve.py +392 -0
  458. carter_ai-0.22.0/tests/identity/test_role_b_commands.py +308 -0
  459. carter_ai-0.22.0/tests/identity/test_role_resolution.py +174 -0
  460. carter_ai-0.22.0/tests/identity/test_schema_frozen.py +108 -0
  461. carter_ai-0.22.0/tests/identity/test_scrub.py +81 -0
  462. carter_ai-0.22.0/tests/identity/test_shim.py +700 -0
  463. carter_ai-0.22.0/tests/identity/test_show_verify.py +389 -0
  464. carter_ai-0.22.0/tests/identity/test_stdlib_only.py +48 -0
  465. carter_ai-0.22.0/tests/identity/test_unlock_cli.py +396 -0
  466. carter_ai-0.22.0/tests/identity/test_verify_commit.py +107 -0
  467. carter_ai-0.22.0/tests/identity/test_writer.py +524 -0
  468. carter_ai-0.22.0/tests/identity/vectors.py +24 -0
  469. carter_ai-0.22.0/tests/lifecycle/__init__.py +0 -0
  470. carter_ai-0.22.0/tests/lifecycle/conftest.py +21 -0
  471. carter_ai-0.22.0/tests/lifecycle/helpers.py +39 -0
  472. carter_ai-0.22.0/tests/lifecycle/test_data_safety.py +125 -0
  473. carter_ai-0.22.0/tests/lifecycle/test_lifecycle.py +263 -0
  474. carter_ai-0.22.0/tests/ops/test_config_identity.py +351 -0
  475. carter_ai-0.22.0/tests/ops/test_operations.py +492 -0
  476. carter_ai-0.22.0/tests/plugin/adapter.test.ts +330 -0
  477. carter_ai-0.22.0/tests/plugin/broker.test.ts +321 -0
  478. carter_ai-0.22.0/tests/plugin/helpers.ts +125 -0
  479. carter_ai-0.22.0/tests/plugin/isolation.test.ts +215 -0
  480. carter_ai-0.22.0/tests/plugin/roundtrip.mjs +13 -0
  481. carter_ai-0.22.0/tests/plugin/scope.test.ts +259 -0
  482. carter_ai-0.22.0/tests/plugin/selftest.test.ts +301 -0
  483. carter_ai-0.22.0/tests/plugin/signing.test.ts +231 -0
  484. carter_ai-0.22.0/tests/plugin/tagging.test.ts +81 -0
  485. carter_ai-0.22.0/tests/plugin/tier.test.ts +125 -0
  486. carter_ai-0.22.0/tests/rows.py +36 -0
  487. carter_ai-0.22.0/tests/sentinels.py +33 -0
  488. carter_ai-0.22.0/tests/snapshots/__init__.py +0 -0
  489. carter_ai-0.22.0/tests/snapshots/conftest.py +15 -0
  490. carter_ai-0.22.0/tests/snapshots/golden/install-clean.ascii.txt +11 -0
  491. carter_ai-0.22.0/tests/snapshots/golden/install-clean.color.ansi +11 -0
  492. carter_ai-0.22.0/tests/snapshots/golden/install-clean.nocolor.ansi +11 -0
  493. carter_ai-0.22.0/tests/snapshots/golden/install-clean.pipe.txt +11 -0
  494. carter_ai-0.22.0/tests/snapshots/golden/install-edited.ascii.txt +12 -0
  495. carter_ai-0.22.0/tests/snapshots/golden/install-edited.color.ansi +12 -0
  496. carter_ai-0.22.0/tests/snapshots/golden/install-edited.nocolor.ansi +12 -0
  497. carter_ai-0.22.0/tests/snapshots/golden/install-edited.pipe.txt +12 -0
  498. carter_ai-0.22.0/tests/snapshots/golden/install-edited.w60.txt +13 -0
  499. carter_ai-0.22.0/tests/snapshots/golden/install-rerun.ascii.txt +9 -0
  500. carter_ai-0.22.0/tests/snapshots/golden/install-rerun.color.ansi +9 -0
  501. carter_ai-0.22.0/tests/snapshots/golden/install-rerun.nocolor.ansi +9 -0
  502. carter_ai-0.22.0/tests/snapshots/golden/install-rerun.pipe.txt +9 -0
  503. carter_ai-0.22.0/tests/snapshots/golden/uninstall-clean.ascii.txt +13 -0
  504. carter_ai-0.22.0/tests/snapshots/golden/uninstall-clean.color.ansi +13 -0
  505. carter_ai-0.22.0/tests/snapshots/golden/uninstall-clean.nocolor.ansi +13 -0
  506. carter_ai-0.22.0/tests/snapshots/golden/uninstall-clean.pipe.txt +13 -0
  507. carter_ai-0.22.0/tests/snapshots/golden/uninstall-full.ascii.txt +33 -0
  508. carter_ai-0.22.0/tests/snapshots/golden/uninstall-full.color.ansi +33 -0
  509. carter_ai-0.22.0/tests/snapshots/golden/uninstall-full.nocolor.ansi +33 -0
  510. carter_ai-0.22.0/tests/snapshots/golden/uninstall-full.pipe.txt +33 -0
  511. carter_ai-0.22.0/tests/snapshots/golden/uninstall-full.routed.txt +33 -0
  512. carter_ai-0.22.0/tests/snapshots/golden/uninstall-full.w60.txt +42 -0
  513. carter_ai-0.22.0/tests/snapshots/golden/uninstall-noop.ascii.txt +4 -0
  514. carter_ai-0.22.0/tests/snapshots/golden/uninstall-noop.color.ansi +4 -0
  515. carter_ai-0.22.0/tests/snapshots/golden/uninstall-noop.nocolor.ansi +4 -0
  516. carter_ai-0.22.0/tests/snapshots/golden/uninstall-noop.pipe.txt +4 -0
  517. carter_ai-0.22.0/tests/snapshots/scenarios.py +116 -0
  518. carter_ai-0.22.0/tests/snapshots/term.py +57 -0
  519. carter_ai-0.22.0/tests/snapshots/test_reports.py +87 -0
  520. carter_ai-0.22.0/tests/ssh_rig.py +441 -0
  521. carter_ai-0.22.0/tests/test_ascii_output.py +86 -0
  522. carter_ai-0.22.0/tests/test_atomic.py +70 -0
  523. carter_ai-0.22.0/tests/test_backups.py +401 -0
  524. carter_ai-0.22.0/tests/test_check_output.py +97 -0
  525. carter_ai-0.22.0/tests/test_ci_workflow.py +508 -0
  526. carter_ai-0.22.0/tests/test_cli_surface.py +52 -0
  527. carter_ai-0.22.0/tests/test_commit_cli.py +264 -0
  528. carter_ai-0.22.0/tests/test_config.py +664 -0
  529. carter_ai-0.22.0/tests/test_dispatch.py +53 -0
  530. carter_ai-0.22.0/tests/test_docs_ci_review.py +128 -0
  531. carter_ai-0.22.0/tests/test_docs_guards.py +158 -0
  532. carter_ai-0.22.0/tests/test_docs_identity.py +190 -0
  533. carter_ai-0.22.0/tests/test_docs_links.py +186 -0
  534. carter_ai-0.22.0/tests/test_docs_push_and_prs.py +200 -0
  535. carter_ai-0.22.0/tests/test_docs_reference.py +240 -0
  536. carter_ai-0.22.0/tests/test_gh_fixtures.py +180 -0
  537. carter_ai-0.22.0/tests/test_ghtoken.py +760 -0
  538. carter_ai-0.22.0/tests/test_harness.py +484 -0
  539. carter_ai-0.22.0/tests/test_harness_contract.py +270 -0
  540. carter_ai-0.22.0/tests/test_help.py +115 -0
  541. carter_ai-0.22.0/tests/test_hermetic.py +587 -0
  542. carter_ai-0.22.0/tests/test_hermetic_ssh.py +371 -0
  543. carter_ai-0.22.0/tests/test_home.py +135 -0
  544. carter_ai-0.22.0/tests/test_install.py +1263 -0
  545. carter_ai-0.22.0/tests/test_install_credentials.py +64 -0
  546. carter_ai-0.22.0/tests/test_install_opencode.py +428 -0
  547. carter_ai-0.22.0/tests/test_install_reports.py +143 -0
  548. carter_ai-0.22.0/tests/test_models.py +194 -0
  549. carter_ai-0.22.0/tests/test_no_internal_ids.py +126 -0
  550. carter_ai-0.22.0/tests/test_no_leaked_output.py +76 -0
  551. carter_ai-0.22.0/tests/test_no_token_literals.py +79 -0
  552. carter_ai-0.22.0/tests/test_ops_routing.py +43 -0
  553. carter_ai-0.22.0/tests/test_parity.py +676 -0
  554. carter_ai-0.22.0/tests/test_plain_tier_wording.py +135 -0
  555. carter_ai-0.22.0/tests/test_plans.py +811 -0
  556. carter_ai-0.22.0/tests/test_plugin_entry_roundtrip.py +334 -0
  557. carter_ai-0.22.0/tests/test_plugin_hygiene.py +210 -0
  558. carter_ai-0.22.0/tests/test_plugin_parity.py +218 -0
  559. carter_ai-0.22.0/tests/test_plugin_runner.py +48 -0
  560. carter_ai-0.22.0/tests/test_policy_lint.py +371 -0
  561. carter_ai-0.22.0/tests/test_pull_requests.py +165 -0
  562. carter_ai-0.22.0/tests/test_repo_hygiene.py +61 -0
  563. carter_ai-0.22.0/tests/test_scaffold.py +1199 -0
  564. carter_ai-0.22.0/tests/test_skill_hygiene.py +493 -0
  565. carter_ai-0.22.0/tests/test_startup.py +74 -0
  566. carter_ai-0.22.0/tests/test_state.py +494 -0
  567. carter_ai-0.22.0/tests/test_terminal.py +175 -0
  568. carter_ai-0.22.0/tests/test_ui.py +193 -0
  569. carter_ai-0.22.0/tests/test_ui_report.py +181 -0
  570. carter_ai-0.22.0/tests/test_uninstall.py +744 -0
  571. carter_ai-0.22.0/tests/test_unknown_keys.py +371 -0
  572. carter_ai-0.22.0/tests/test_update_pin.py +423 -0
  573. carter_ai-0.22.0/tests/test_version.py +53 -0
  574. carter_ai-0.22.0/tests/test_wheel_contents.py +78 -0
  575. carter_ai-0.22.0/tests/test_yaml_loader.py +35 -0
  576. carter_ai-0.22.0/uv.lock +599 -0
@@ -0,0 +1,53 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.egg-info/
6
+ dist/
7
+ build/
8
+ *.egg
9
+
10
+ # Build artifact: the wheel's force-include (pyproject [tool.hatch.build.targets.wheel])
11
+ # maps the top-level agents/skills/templates/... into carter/_data/ AT BUILD TIME, and a
12
+ # dev editable-install populates it locally. It must NOT be tracked — a committed
13
+ # carter/_data/ shadows the force-include (wheel-build path collision) AND makes
14
+ # resources.py resolve to a half-populated dir on a clean checkout (the
15
+ # editable-install gotcha).
16
+ /carter/_data/
17
+
18
+ # Virtual environments
19
+ .venv/
20
+ venv/
21
+
22
+ # Tool caches / test + coverage output
23
+ .pytest_cache/
24
+ .mypy_cache/
25
+ .ruff_cache/
26
+ .coverage
27
+ htmlcov/
28
+
29
+ # Live-eval metrics output (EVAL_METRICS_OUT in evals-live.yml)
30
+ eval-metrics.json
31
+
32
+ # IDE
33
+ .idea/
34
+ *.swp
35
+ *.swo
36
+ *~
37
+
38
+ # OS
39
+ .DS_Store
40
+ Thumbs.db
41
+
42
+ # Environment variables (never commit real credentials)
43
+ .env
44
+
45
+ # Project scratch / pre-build notes (kept on disk, out of git)
46
+ /notes/
47
+
48
+ # Private Carter workspace state (versioned in its own nested .carter/.git)
49
+ /.carter/
50
+
51
+ # Architecture decision records and RFCs are maintainer-local in this repo (not versioned)
52
+ /docs/adr/
53
+ /docs/rfcs/
@@ -0,0 +1,22 @@
1
+ # Gitleaks findings that were checked by hand and are not secrets (9 in total, from the scan of
2
+ # the full history). One commit-bound fingerprint per finding (<commit>:<file>:<rule>:<line>), not
3
+ # a path allowlist: a real secret added to the same files, or the same text in another commit,
4
+ # is still reported. A new entry needs the same check and a line saying what it is.
5
+
6
+ # tests/e2e/test_ci_review_e2e.py:24 - `KEY` is a made-up sentinel for the review-driver e2e test.
7
+ e4c1e6525bea0e90f28d2a19f993481a376e152c:tests/e2e/test_ci_review_e2e.py:generic-api-key:24
8
+ 210a7f53790c9b0b63fe383be78326eeb8ea0a27:tests/e2e/test_ci_review_e2e.py:generic-api-key:24
9
+
10
+ # tests/identity/test_identity_add.py - a private-key header literal with no key body, as test input.
11
+ e4c1e6525bea0e90f28d2a19f993481a376e152c:tests/identity/test_identity_add.py:private-key:290
12
+ c60fd0a2a9ca84701f6c55e737b4eca63248bb29:tests/identity/test_identity_add.py:private-key:279
13
+
14
+ # tests/aplus/test_secretscan.py - PEM headers and one high-entropy sample used as input to
15
+ # Carter's own secret scanner test (lines 68 and 71: headers; line 88: the sample).
16
+ 00f23af0986db86848c69b1b0dae5cbc10de8663:tests/aplus/test_secretscan.py:private-key:68
17
+ 00f23af0986db86848c69b1b0dae5cbc10de8663:tests/aplus/test_secretscan.py:private-key:71
18
+ 00f23af0986db86848c69b1b0dae5cbc10de8663:tests/aplus/test_secretscan.py:generic-api-key:88
19
+
20
+ # evals/scenarios/narrator_adherence.yaml:32 - a fake `ghp_` token the narrator scenario must redact.
21
+ 00f23af0986db86848c69b1b0dae5cbc10de8663:evals/scenarios/narrator_adherence.yaml:generic-api-key:32
22
+ a21289c3b8f8591896ea4a212cad12c2f24204b5:evals/scenarios/narrator_adherence.yaml:generic-api-key:32