agentpace 0.14.0__tar.gz → 0.14.2__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 (119) hide show
  1. agentpace-0.14.2/.github/ISSUE_TEMPLATE/pilot-report.yml +91 -0
  2. {agentpace-0.14.0 → agentpace-0.14.2}/CHANGELOG.md +18 -0
  3. {agentpace-0.14.0 → agentpace-0.14.2}/CITATION.cff +1 -1
  4. {agentpace-0.14.0 → agentpace-0.14.2}/CONTRIBUTING.md +4 -0
  5. {agentpace-0.14.0 → agentpace-0.14.2}/PKG-INFO +16 -2
  6. {agentpace-0.14.0 → agentpace-0.14.2}/README.md +15 -1
  7. agentpace-0.14.2/docs/pilot.md +86 -0
  8. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/__init__.py +1 -1
  9. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/claims.py +39 -0
  10. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_claims.py +78 -0
  11. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_docs.py +52 -0
  12. {agentpace-0.14.0 → agentpace-0.14.2}/.claude-plugin/marketplace.json +0 -0
  13. {agentpace-0.14.0 → agentpace-0.14.2}/.gitattributes +0 -0
  14. {agentpace-0.14.0 → agentpace-0.14.2}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  15. {agentpace-0.14.0 → agentpace-0.14.2}/.github/ISSUE_TEMPLATE/ingest-found-nothing.yml +0 -0
  16. {agentpace-0.14.0 → agentpace-0.14.2}/.github/ISSUE_TEMPLATE/remove-my-rows.yml +0 -0
  17. {agentpace-0.14.0 → agentpace-0.14.2}/.github/dependabot.yml +0 -0
  18. {agentpace-0.14.0 → agentpace-0.14.2}/.github/pull_request_template.md +0 -0
  19. {agentpace-0.14.0 → agentpace-0.14.2}/.github/workflows/ci.yml +0 -0
  20. {agentpace-0.14.0 → agentpace-0.14.2}/.github/workflows/publish.yml +0 -0
  21. {agentpace-0.14.0 → agentpace-0.14.2}/.github/workflows/validate-data.yml +0 -0
  22. {agentpace-0.14.0 → agentpace-0.14.2}/.gitignore +0 -0
  23. {agentpace-0.14.0 → agentpace-0.14.2}/CODE_OF_CONDUCT.md +0 -0
  24. {agentpace-0.14.0 → agentpace-0.14.2}/LICENSE +0 -0
  25. {agentpace-0.14.0 → agentpace-0.14.2}/SECURITY.md +0 -0
  26. {agentpace-0.14.0 → agentpace-0.14.2}/data/LICENSE +0 -0
  27. {agentpace-0.14.0 → agentpace-0.14.2}/data/README.md +0 -0
  28. {agentpace-0.14.0 → agentpace-0.14.2}/data/runs/4546788e7930eccd-2026-W40-2026-W45.jsonl +0 -0
  29. {agentpace-0.14.0 → agentpace-0.14.2}/data/runs/4546788e7930eccd-2026-W44-2026-W45.jsonl +0 -0
  30. {agentpace-0.14.0 → agentpace-0.14.2}/data/runs/4546788e7930eccd-2026-W45-2026-W49.jsonl +0 -0
  31. {agentpace-0.14.0 → agentpace-0.14.2}/docs/.nojekyll +0 -0
  32. {agentpace-0.14.0 → agentpace-0.14.2}/docs/DESIGN.md +0 -0
  33. {agentpace-0.14.0 → agentpace-0.14.2}/docs/assets/backtest-coverage.svg +0 -0
  34. {agentpace-0.14.0 → agentpace-0.14.2}/docs/assets/hero.webp +0 -0
  35. {agentpace-0.14.0 → agentpace-0.14.2}/docs/assets/run-ranges.svg +0 -0
  36. {agentpace-0.14.0 → agentpace-0.14.2}/docs/assets/social-preview.png +0 -0
  37. {agentpace-0.14.0 → agentpace-0.14.2}/docs/backtest.json +0 -0
  38. {agentpace-0.14.0 → agentpace-0.14.2}/docs/backtest.md +0 -0
  39. {agentpace-0.14.0 → agentpace-0.14.2}/docs/cli.md +0 -0
  40. {agentpace-0.14.0 → agentpace-0.14.2}/docs/index.html +0 -0
  41. {agentpace-0.14.0 → agentpace-0.14.2}/docs/releasing.md +0 -0
  42. {agentpace-0.14.0 → agentpace-0.14.2}/docs/robots.txt +0 -0
  43. {agentpace-0.14.0 → agentpace-0.14.2}/docs/sitemap.xml +0 -0
  44. {agentpace-0.14.0 → agentpace-0.14.2}/docs/skill-smoke.md +0 -0
  45. {agentpace-0.14.0 → agentpace-0.14.2}/docs/verify-adapter.md +0 -0
  46. {agentpace-0.14.0 → agentpace-0.14.2}/examples/plan.json +0 -0
  47. {agentpace-0.14.0 → agentpace-0.14.2}/examples/quote-plan.json +0 -0
  48. {agentpace-0.14.0 → agentpace-0.14.2}/experiments/__init__.py +0 -0
  49. {agentpace-0.14.0 → agentpace-0.14.2}/experiments/model_offset/PROTOCOL.md +0 -0
  50. {agentpace-0.14.0 → agentpace-0.14.2}/experiments/model_offset/__init__.py +0 -0
  51. {agentpace-0.14.0 → agentpace-0.14.2}/experiments/model_offset/__main__.py +0 -0
  52. {agentpace-0.14.0 → agentpace-0.14.2}/experiments/model_offset/offset.py +0 -0
  53. {agentpace-0.14.0 → agentpace-0.14.2}/experiments/model_offset/report.json +0 -0
  54. {agentpace-0.14.0 → agentpace-0.14.2}/experiments/model_offset/report.md +0 -0
  55. {agentpace-0.14.0 → agentpace-0.14.2}/pyproject.toml +0 -0
  56. {agentpace-0.14.0 → agentpace-0.14.2}/schema/run.schema.json +0 -0
  57. {agentpace-0.14.0 → agentpace-0.14.2}/schema/turn.schema.json +0 -0
  58. {agentpace-0.14.0 → agentpace-0.14.2}/skills/agentpace/SKILL.md +0 -0
  59. {agentpace-0.14.0 → agentpace-0.14.2}/skills/agentpace/assets/portable-prompt.md +0 -0
  60. {agentpace-0.14.0 → agentpace-0.14.2}/skills/agentpace/references/method.md +0 -0
  61. {agentpace-0.14.0 → agentpace-0.14.2}/skills/pace-estimate/SKILL.md +0 -0
  62. {agentpace-0.14.0 → agentpace-0.14.2}/skills/pace-log/SKILL.md +0 -0
  63. {agentpace-0.14.0 → agentpace-0.14.2}/skills/pace-share/SKILL.md +0 -0
  64. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/__main__.py +0 -0
  65. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/adapters/__init__.py +0 -0
  66. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/adapters/base.py +0 -0
  67. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/adapters/claude_code.py +0 -0
  68. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/adapters/cline.py +0 -0
  69. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/adapters/codex.py +0 -0
  70. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/adapters/gemini_cli.py +0 -0
  71. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/adapters/opencode.py +0 -0
  72. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/backtest.py +0 -0
  73. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/cache.py +0 -0
  74. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/charts.py +0 -0
  75. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/classify.py +0 -0
  76. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/cli.py +0 -0
  77. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/clock.py +0 -0
  78. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/estimate.py +0 -0
  79. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/forecasts.py +0 -0
  80. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/ingest.py +0 -0
  81. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/paths.py +0 -0
  82. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/pseudonym.py +0 -0
  83. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/py.typed +0 -0
  84. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/render.py +0 -0
  85. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/report.py +0 -0
  86. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/schema.py +0 -0
  87. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/share.py +0 -0
  88. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/site.py +0 -0
  89. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/turns.py +0 -0
  90. {agentpace-0.14.0 → agentpace-0.14.2}/src/agentpace/validate.py +0 -0
  91. {agentpace-0.14.0 → agentpace-0.14.2}/tests/__init__.py +0 -0
  92. {agentpace-0.14.0 → agentpace-0.14.2}/tests/fixtures/__init__.py +0 -0
  93. {agentpace-0.14.0 → agentpace-0.14.2}/tests/fixtures/cline_tasks.py +0 -0
  94. {agentpace-0.14.0 → agentpace-0.14.2}/tests/fixtures/gemini_cli.py +0 -0
  95. {agentpace-0.14.0 → agentpace-0.14.2}/tests/fixtures/opencode.py +0 -0
  96. {agentpace-0.14.0 → agentpace-0.14.2}/tests/synthetic.py +0 -0
  97. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_backtest.py +0 -0
  98. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_classify.py +0 -0
  99. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_cli.py +0 -0
  100. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_cline.py +0 -0
  101. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_clock.py +0 -0
  102. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_codex.py +0 -0
  103. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_counts.py +0 -0
  104. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_estimate.py +0 -0
  105. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_forecasts.py +0 -0
  106. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_frozen_method.py +0 -0
  107. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_gemini_cli.py +0 -0
  108. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_ingest.py +0 -0
  109. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_labels.py +0 -0
  110. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_model_offset.py +0 -0
  111. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_opencode.py +0 -0
  112. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_outcomes.py +0 -0
  113. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_plan_risk.py +0 -0
  114. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_review_capacity.py +0 -0
  115. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_schema.py +0 -0
  116. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_share_validate.py +0 -0
  117. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_site.py +0 -0
  118. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_skills.py +0 -0
  119. {agentpace-0.14.0 → agentpace-0.14.2}/tests/test_turns.py +0 -0
@@ -0,0 +1,91 @@
1
+ name: Pilot report
2
+ description: Report your pilot cycles, including a cycle that did not help or a pilot you stopped.
3
+ title: "Pilot report: "
4
+ labels: ["pilot"]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ Thank you for taking part. The steps are in [docs/pilot.md](https://github.com/mohamedzhioua/agentpace/blob/main/docs/pilot.md). "It did not help" and stopping are results too.
10
+
11
+ **Paste only the numbers the CLI printed.** Issues are public. Leave out project, client and employer names. Never paste prompts, code, task ids, file paths, your `~/.agentpace/secret` file, or the forecast ledger (`~/.agentpace/forecasts.jsonl`).
12
+
13
+ The range is the plan total on the session clock. No allowance for the human part is added to it, so give any review, testing or decision time as your own figure, apart from the actual.
14
+ - type: input
15
+ id: version
16
+ attributes:
17
+ label: Version
18
+ description: Output of `agentpace --version`.
19
+ placeholder: agentpace 0.14.2
20
+ validations:
21
+ required: true
22
+ - type: dropdown
23
+ id: harness
24
+ attributes:
25
+ label: Harness
26
+ options:
27
+ - Claude Code
28
+ - Codex
29
+ - both
30
+ - other
31
+ validations:
32
+ required: true
33
+ - type: input
34
+ id: setup
35
+ attributes:
36
+ label: Setup time, in minutes
37
+ description: From starting the install to your first recorded forecast.
38
+ placeholder: "10"
39
+ validations:
40
+ required: true
41
+ - type: textarea
42
+ id: cycle1
43
+ attributes:
44
+ label: Cycle 1
45
+ description: The forecast's P50, P80 and P90 as printed, the actual, whether it came from `--session` or `--actual`, and the ISO week. Leave it empty if you stopped before any cycle.
46
+ value: |
47
+ Forecast (P50, P80, P90):
48
+ Actual:
49
+ Source (--session or --actual):
50
+ ISO week:
51
+ - type: textarea
52
+ id: cycle2
53
+ attributes:
54
+ label: Cycle 2
55
+ description: The same for the second cycle, in a different ISO week. Leave it empty if you stopped after cycle 1.
56
+ value: |
57
+ Forecast (P50, P80, P90):
58
+ Actual:
59
+ Source (--session or --actual):
60
+ ISO week:
61
+ - type: textarea
62
+ id: human
63
+ attributes:
64
+ label: The human part, if you timed it
65
+ description: Your own figure for review, testing and decisions after the agents finished, per cycle. Never folded into the actual.
66
+ - type: textarea
67
+ id: decision
68
+ attributes:
69
+ label: The planning decision it changed
70
+ description: Scope, how many agents, when to start, or another. If it changed none, write "none" and why.
71
+ validations:
72
+ required: true
73
+ - type: textarea
74
+ id: friction
75
+ attributes:
76
+ label: Friction
77
+ description: What got in the way, from setup to scoring.
78
+ - type: dropdown
79
+ id: stopped
80
+ attributes:
81
+ label: Did you stop?
82
+ options:
83
+ - "no"
84
+ - yes, after cycle 1
85
+ - yes, before any cycle
86
+ validations:
87
+ required: true
88
+ - type: textarea
89
+ id: stopped_why
90
+ attributes:
91
+ label: If you stopped, why
@@ -4,6 +4,24 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) an
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 0.14.2 - 2026-12-06
8
+
9
+ ### Added
10
+
11
+ - A pilot kit, to test the forecasts on other people's work. `docs/pilot.md` gives the steps: setup in three commands for one harness, then two cycles in two ISO weeks by 2027-01-02, each a recorded forecast, the work and the actual (`score --session`, or `score --actual` when the session cannot be scored). When attesting, time from the first agent start to the last agent finish, a pause longer than 15 minutes counting as 15 minutes: the session clock at its 900 s idle cap. The human part is reported apart, as the tester's own figure.
12
+ - An issue form, "Pilot report": version, harness, setup time, each cycle's forecast against its actual and whether that came from `--session` or `--actual`, the planning decision the range changed or "none", friction, and whether the tester stopped. Stopping and "it did not help" are results.
13
+ - README and CONTRIBUTING point to the pilot; sign-up is issue #68.
14
+
15
+ agentpace sends nothing: the report is a public issue the tester writes. No command, output or published number changed.
16
+
17
+ ## 0.14.1 - 2026-12-06
18
+
19
+ ### Added
20
+
21
+ - README: the Limitations bullet on failed runs gains a generated table (claim `incomplete_breakdown`) that splits each harness's not-completed runs four ways: failed or unknown outcome, each with no tool call or with tool activity. Each group shows its runs and its shortest, median and longest duration; an empty group shows 0 runs and `-`. It says how runs ended, never why. The groups add up to `not_completed_by_harness`; tests check that, and `claims --check` covers the table.
22
+ - Today: claude-code: failed 0 zero-tool, 5 with tools (3 min, 23 min, 38 min); unknown 1 zero-tool (3 s), 20 with tools (4 s, 15 min, 77 min). codex: failed 10 zero-tool (3 s, 4 s, 6 s), 27 with tools (43 s, 9 min, 2.0 h); unknown 0 zero-tool, 2 with tools (4 min, 4 min, 5 min).
23
+ - No forecast, estimate output, `--json` key, row or backtest number changes.
24
+
7
25
  ## 0.14.0 - 2026-12-06
8
26
 
9
27
  ### Changed
@@ -8,7 +8,7 @@ authors:
8
8
  repository-code: https://github.com/mohamedzhioua/agentpace
9
9
  url: https://mohamedzhioua.github.io/agentpace/
10
10
  license: MIT
11
- version: 0.14.0
11
+ version: 0.14.2
12
12
  date-released: 2026-12-06
13
13
  keywords:
14
14
  - coding agents
@@ -27,6 +27,10 @@ You supply the file. The maintainer does the rest:
27
27
 
28
28
  Rows from an experimental adapter (Gemini CLI, OpenCode, Cline) fail "Validate data" until that adapter is verified. See [Verify an experimental adapter](#verify-an-experimental-adapter).
29
29
 
30
+ ## Try the pilot
31
+
32
+ The pilot tests the forecasts on your own work: two forecast, work and actual cycles in different weeks, then a short report. agentpace sends nothing; the report is a public issue you write. It needs no data pull request. [docs/pilot.md](docs/pilot.md) gives the steps.
33
+
30
34
  ## Label your runs
31
35
 
32
36
  Metadata cannot tell a feature from a bug fix. Labels can: without them, bug fixes and refactors look like any other implementation run, so the `bugfix` and `refactor` cells stay thin until people label runs. Run `agentpace runs` to find a reference, then `agentpace label <ref> --kind bugfix`. Do this before `agentpace share`.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: agentpace
3
- Version: 0.14.0
3
+ Version: 0.14.2
4
4
  Summary: Stop estimating agent work in human weeks. agentpace measures how long coding agents actually take: P50/P80/P90 ranges from real Claude Code and Codex runs, the human part stated apart, never derived. Open CC0 dataset, zero-dependency Python CLI, agent skill.
5
5
  Project-URL: Homepage, https://mohamedzhioua.github.io/agentpace/
6
6
  Project-URL: Repository, https://github.com/mohamedzhioua/agentpace
@@ -118,6 +118,8 @@ Ask an assistant how long a feature will take and it answers in human-team time,
118
118
 
119
119
  These are <!-- claim:completed -->5,028<!-- /claim --> completed agent runs: Claude Code subagent runs and Codex turns. Half finished within <!-- claim:overall_p50 -->2 min<!-- /claim -->, and one in ten took more than <!-- claim:overall_p90 -->22 min<!-- /claim -->. All of them come from one person so far, so read [Limitations](#limitations) before trusting any of this, and consider [contributing your runs](#contribute-your-runs): [issue #2](https://github.com/mohamedzhioua/agentpace/issues/2) is the standing call.
120
120
 
121
+ Whether the range helps anyone else plan is an open question. The [pilot](https://github.com/mohamedzhioua/agentpace/blob/main/docs/pilot.md) tests it on your own work: forecast, do the work, check the actual, twice. agentpace sends nothing. Sign up on [issue #68](https://github.com/mohamedzhioua/agentpace/issues/68).
122
+
121
123
  ## Does it fit your setup?
122
124
 
123
125
  | You want to | Works with today |
@@ -322,7 +324,19 @@ Each of these does something better than agentpace:
322
324
  - **Pooled by kind, risk and model only.** A cell with fewer than 30 runs leans on broader cells, with a warning. Repository size is not recorded, and `size` is an edit count measured after the run, so neither can segment the published runs. Long integration work has no cell of its own. `risk` in the rows is the agent's role (review and research agents `low`, migration agents `high`, all else `normal`), and a plan's `risk` is read the same way, so marking a task `high` does not lengthen its range.
323
325
  - **Two harnesses, still one person.** The published rows hold Claude Code subagent runs and, since 0.6.0, Codex turns, all from the same contributor. Codex is scored on its own, never in the headline. Each Codex exec session is a single turn, so the session effect and the parallelism factor learn nothing from Codex, and a Codex plan borrows Claude Code's session structure. Gemini CLI, OpenCode and Cline have experimental adapters: built from each tool's source, not yet verified on real sessions, with no published rows (`validate` rejects them until each adapter is verified; [how to verify one](docs/verify-adapter.md)), and problems go in an [issue](https://github.com/mohamedzhioua/agentpace/issues). Other harnesses have no adapter.
324
326
  - **No human allowance, and short waits sit inside the clock.** The plan total is a forecast on the session clock, which counts agent runs and the gaps between them, each gap up to the idle cap (900 s in the published rows). So a wait on you shorter than that sits inside the total, a longer one is clipped at the cap, and no allowance for review, testing or decisions is added. Every estimate says so on its own lines and never derives the human part from agent time. `agentpace turns` measures your own wait per human turn from your main-session timestamps and keeps it on your machine. That is elapsed time, not effort, shown beside the range and never added to it.
325
- - **Failed runs are under-counted.** Only runs with a clear completion signal train the estimator, so P90 may run low. Recorded runs that did not complete (failed or unknown), by harness: <!-- claim:not_completed_by_harness -->claude-code 26 of 4,826 (0.5%), codex 39 of 267 (14.6%)<!-- /claim -->. Those are harness outcomes, not task acceptance, and every estimate prints the counts for the rows it loaded.
327
+ - **Failed runs are under-counted.** Only runs with a clear completion signal train the estimator, so P90 may run low. Recorded runs that did not complete (failed or unknown), by harness: <!-- claim:not_completed_by_harness -->claude-code 26 of 4,826 (0.5%), codex 39 of 267 (14.6%)<!-- /claim -->. Those are harness outcomes, not task acceptance, and every estimate prints the counts for the rows it loaded. The table below splits those runs by outcome and by tool activity, with the shortest, median and longest duration in each group. It is descriptive, not a diagnosis: a row keeps the outcome, never the reason, and the error text is never copied.
328
+ <!-- claim:incomplete_breakdown -->
329
+ | Harness | Group | Runs | Min | Median | Max |
330
+ |---|---|---:|---:|---:|---:|
331
+ | claude-code | zero-tool failures | 0 | - | - | - |
332
+ | claude-code | failures with tool activity | 5 | 3 min | 23 min | 38 min |
333
+ | claude-code | unknown outcome, zero-tool | 1 | 3 s | 3 s | 3 s |
334
+ | claude-code | unknown outcome, with tool activity | 20 | 4 s | 15 min | 77 min |
335
+ | codex | zero-tool failures | 10 | 3 s | 4 s | 6 s |
336
+ | codex | failures with tool activity | 27 | 43 s | 9 min | 2.0 h |
337
+ | codex | unknown outcome, zero-tool | 0 | - | - | - |
338
+ | codex | unknown outcome, with tool activity | 2 | 4 min | 4 min | 5 min |
339
+ <!-- /claim -->
326
340
  - **Size is not used by default.** Stored size is measured after a run, so it would leak the answer into the forecast.
327
341
  - **The transcript format is undocumented.** It may change, and Claude Code removes old transcripts, so run `agentpace ingest` regularly.
328
342
  - **Dependencies are untested.** The whole-session test cannot see real dependencies.
@@ -91,6 +91,8 @@ Ask an assistant how long a feature will take and it answers in human-team time,
91
91
 
92
92
  These are <!-- claim:completed -->5,028<!-- /claim --> completed agent runs: Claude Code subagent runs and Codex turns. Half finished within <!-- claim:overall_p50 -->2 min<!-- /claim -->, and one in ten took more than <!-- claim:overall_p90 -->22 min<!-- /claim -->. All of them come from one person so far, so read [Limitations](#limitations) before trusting any of this, and consider [contributing your runs](#contribute-your-runs): [issue #2](https://github.com/mohamedzhioua/agentpace/issues/2) is the standing call.
93
93
 
94
+ Whether the range helps anyone else plan is an open question. The [pilot](https://github.com/mohamedzhioua/agentpace/blob/main/docs/pilot.md) tests it on your own work: forecast, do the work, check the actual, twice. agentpace sends nothing. Sign up on [issue #68](https://github.com/mohamedzhioua/agentpace/issues/68).
95
+
94
96
  ## Does it fit your setup?
95
97
 
96
98
  | You want to | Works with today |
@@ -295,7 +297,19 @@ Each of these does something better than agentpace:
295
297
  - **Pooled by kind, risk and model only.** A cell with fewer than 30 runs leans on broader cells, with a warning. Repository size is not recorded, and `size` is an edit count measured after the run, so neither can segment the published runs. Long integration work has no cell of its own. `risk` in the rows is the agent's role (review and research agents `low`, migration agents `high`, all else `normal`), and a plan's `risk` is read the same way, so marking a task `high` does not lengthen its range.
296
298
  - **Two harnesses, still one person.** The published rows hold Claude Code subagent runs and, since 0.6.0, Codex turns, all from the same contributor. Codex is scored on its own, never in the headline. Each Codex exec session is a single turn, so the session effect and the parallelism factor learn nothing from Codex, and a Codex plan borrows Claude Code's session structure. Gemini CLI, OpenCode and Cline have experimental adapters: built from each tool's source, not yet verified on real sessions, with no published rows (`validate` rejects them until each adapter is verified; [how to verify one](docs/verify-adapter.md)), and problems go in an [issue](https://github.com/mohamedzhioua/agentpace/issues). Other harnesses have no adapter.
297
299
  - **No human allowance, and short waits sit inside the clock.** The plan total is a forecast on the session clock, which counts agent runs and the gaps between them, each gap up to the idle cap (900 s in the published rows). So a wait on you shorter than that sits inside the total, a longer one is clipped at the cap, and no allowance for review, testing or decisions is added. Every estimate says so on its own lines and never derives the human part from agent time. `agentpace turns` measures your own wait per human turn from your main-session timestamps and keeps it on your machine. That is elapsed time, not effort, shown beside the range and never added to it.
298
- - **Failed runs are under-counted.** Only runs with a clear completion signal train the estimator, so P90 may run low. Recorded runs that did not complete (failed or unknown), by harness: <!-- claim:not_completed_by_harness -->claude-code 26 of 4,826 (0.5%), codex 39 of 267 (14.6%)<!-- /claim -->. Those are harness outcomes, not task acceptance, and every estimate prints the counts for the rows it loaded.
300
+ - **Failed runs are under-counted.** Only runs with a clear completion signal train the estimator, so P90 may run low. Recorded runs that did not complete (failed or unknown), by harness: <!-- claim:not_completed_by_harness -->claude-code 26 of 4,826 (0.5%), codex 39 of 267 (14.6%)<!-- /claim -->. Those are harness outcomes, not task acceptance, and every estimate prints the counts for the rows it loaded. The table below splits those runs by outcome and by tool activity, with the shortest, median and longest duration in each group. It is descriptive, not a diagnosis: a row keeps the outcome, never the reason, and the error text is never copied.
301
+ <!-- claim:incomplete_breakdown -->
302
+ | Harness | Group | Runs | Min | Median | Max |
303
+ |---|---|---:|---:|---:|---:|
304
+ | claude-code | zero-tool failures | 0 | - | - | - |
305
+ | claude-code | failures with tool activity | 5 | 3 min | 23 min | 38 min |
306
+ | claude-code | unknown outcome, zero-tool | 1 | 3 s | 3 s | 3 s |
307
+ | claude-code | unknown outcome, with tool activity | 20 | 4 s | 15 min | 77 min |
308
+ | codex | zero-tool failures | 10 | 3 s | 4 s | 6 s |
309
+ | codex | failures with tool activity | 27 | 43 s | 9 min | 2.0 h |
310
+ | codex | unknown outcome, zero-tool | 0 | - | - | - |
311
+ | codex | unknown outcome, with tool activity | 2 | 4 min | 4 min | 5 min |
312
+ <!-- /claim -->
299
313
  - **Size is not used by default.** Stored size is measured after a run, so it would leak the answer into the forecast.
300
314
  - **The transcript format is undocumented.** It may change, and Claude Code removes old transcripts, so run `agentpace ingest` regularly.
301
315
  - **Dependencies are untested.** The whole-session test cannot see real dependencies.
@@ -0,0 +1,86 @@
1
+ # The pilot
2
+
3
+ agentpace gives a P50/P80/P90 range for a plan of coding-agent work. Every published run behind it comes from one person so far. This pilot asks whether the range helps anyone else plan their own work.
4
+
5
+ Sign up on [issue #68](https://github.com/mohamedzhioua/agentpace/issues/68).
6
+
7
+ ## What it is
8
+
9
+ - **Two cycles, in two different weeks, by 2027-01-02.** A cycle is a forecast, the work, then the actual. Then you send one short report.
10
+ - **agentpace sends nothing; the report is a public issue you write.** Forecasts, scores and rows stay in `~/.agentpace`. You report only the numbers the CLI printed.
11
+ - **Contributing runs is a separate step, and optional.** It goes through `/pace-share`, which previews every row first and writes a file only after you say yes ([the skill](../skills/pace-share/SKILL.md), and [Contribute your runs](../CONTRIBUTING.md#contribute-your-runs)). The pilot does not need it.
12
+ - **"It did not help" is a result.** So is stopping after one cycle, or before any. Report it and say why.
13
+
14
+ ## Setup
15
+
16
+ Three commands for one harness.
17
+
18
+ ```bash
19
+ uv tool install agentpace
20
+ agentpace ingest
21
+ # Codex: agentpace ingest --source codex
22
+ npx skills add mohamedzhioua/agentpace
23
+ ```
24
+
25
+ 1. Install the CLI. `pipx install agentpace` works too. An older install upgrades with `uv tool upgrade agentpace`.
26
+ 2. Ingest your history. `agentpace ingest` reads Claude Code subagent runs. For Codex, run `agentpace ingest --source codex`; if you use both, run both. It copies out timestamps, model ids and counts, never content.
27
+ 3. Optional: the skills, so your agent can run the CLI for you. In Claude Code you can install the plugin instead, `/plugin install agentpace --marketplace mohamedzhioua/agentpace`. Install one route, not both. See [In your agent](../README.md#in-your-agent).
28
+
29
+ To log each Claude Code subagent run as it finishes, you can add the opt-in hook from [`/pace-log`](../skills/pace-log/SKILL.md). Without it, run `agentpace ingest` after the work.
30
+
31
+ ## One cycle
32
+
33
+ 1. **Write the plan as a task list**, before you start. It is a small JSON file in the [plan format](cli.md#plan-json): task ids, their kinds and their dependencies, and how many agents run at once. It holds no durations.
34
+ 2. **Record a forecast.**
35
+
36
+ ```bash
37
+ agentpace estimate plan.json --record
38
+ ```
39
+
40
+ It prints the range, then `recorded forecast <id> in <path>` on stderr. Note the id. If someone already gave a timeline for this work, pass it on as given: `agentpace estimate plan.json --record --quoted "2 weeks"`. It is shown beside the range as quoted and kept with the forecast.
41
+ 3. **Do the work** as you normally would, with Claude Code, Codex or both, in a session started after you recorded the forecast. Note the first agent's start, the last one's finish and any pause over 15 minutes, in case it cannot be scored.
42
+ 4. **Put the session in the store.** Run `agentpace ingest` (`--source codex` for Codex), unless the hook already did.
43
+ 5. **Find the session.** `agentpace runs` lists your latest runs with their references. Any run reference from the session you worked in will do.
44
+ 6. **Score the forecast.**
45
+
46
+ ```bash
47
+ agentpace score <id> --session <ref>
48
+ ```
49
+
50
+ The actual is the span of that session's completed runs on the session clock. It fits only when that one session held all of this plan's work and nothing else. It is refused when the session has fewer than 2 completed runs, began before the forecast, or has no cached start to prove it began after. When the session cannot be scored this way, time the work yourself and attest it:
51
+
52
+ ```bash
53
+ agentpace score <id> --actual "95 min"
54
+ ```
55
+
56
+ Use `--actual` for a session with one run, a single Codex turn, work spread over several sessions, or work the store did not log, such as work in Claude Code's main conversation with no subagent. The duration is a number and a unit: `min`, `h`, `d`, `w` or `mo`. Scoring the same id again records a new score, and the latest one counts.
57
+
58
+ ### What to time when attesting with `--actual`
59
+
60
+ Time from the first agent start to the last agent finish, counting no pause beyond 15 minutes. A pause longer than 15 minutes counts as 15 minutes. That is the session clock and its 900 s idle cap, the same clock the plan total on the session clock is measured on.
61
+
62
+ It is not calendar time. Review, testing and decisions after the agents finish are the human part. The range adds no allowance for it. Report it separately, in the report, as your own figure. Never fold it into the actual.
63
+
64
+ ## The second cycle
65
+
66
+ Do the same with another plan in a different ISO week. `date +%G-W%V` prints the current one on macOS and Linux.
67
+
68
+ Then run `agentpace score` with no id. It shows how your scored forecasts held up, and says when there are too few to rate. After two cycles it says five are needed to rate them; that is expected.
69
+
70
+ ## Report
71
+
72
+ Open a [pilot report](https://github.com/mohamedzhioua/agentpace/issues/new?template=pilot-report.yml). If you stopped after one cycle, or before any, the form still fits.
73
+
74
+ For each cycle it asks:
75
+
76
+ - the forecast as printed: the P50, P80 and P90 of the plan total on the session clock;
77
+ - the actual, and where it came from: `--session` or `--actual`;
78
+ - the ISO week.
79
+
80
+ It also asks for your setup time, the planning decision the range changed (scope, how many agents, when to start), or "none" and why, what got in the way, and whether you stopped.
81
+
82
+ **Paste only the numbers the CLI printed.** Never paste prompts, code, task ids, file paths, your `~/.agentpace/secret` file, or the forecast ledger `~/.agentpace/forecasts.jsonl`. The ledger holds your plans; it stays on your machine.
83
+
84
+ ## Words
85
+
86
+ The range is the plan total on the session clock: agent runs and the gaps between them, each gap up to the idle cap. The per-task rows are agent run time. No allowance for the human part is added to the total. Please use the same words in the report, so every report reads the numbers the same way.
@@ -1,3 +1,3 @@
1
1
  """agentpace: real run times for coding agents, as P50/P80/P90 ranges."""
2
2
 
3
- __version__ = "0.14.0"
3
+ __version__ = "0.14.2"
@@ -69,6 +69,44 @@ def _not_completed_by_harness(rows: Sequence[Row]) -> str:
69
69
  return ", ".join(parts)
70
70
 
71
71
 
72
+ # The not-completed groups, in table order: outcome, whether the run made any tool call, label.
73
+ _INCOMPLETE_GROUPS = (
74
+ ("failed", False, "zero-tool failures"),
75
+ ("failed", True, "failures with tool activity"),
76
+ ("unknown", False, "unknown outcome, zero-tool"),
77
+ ("unknown", True, "unknown outcome, with tool activity"),
78
+ )
79
+
80
+
81
+ def _incomplete_breakdown(rows: Sequence[Row]) -> str:
82
+ """The runs `_not_completed_by_harness` counts, split by outcome and tool activity.
83
+
84
+ Descriptive only: a group says how a run ended and whether it called a tool, never why. Every
85
+ harness lists all four groups, so they add up to its failed and unknown runs, and an empty group
86
+ shows 0 runs and `-` for each duration. Indented to sit inside the README's Limitations bullet.
87
+ """
88
+ lines = [
89
+ "| Harness | Group | Runs | Min | Median | Max |",
90
+ "|---|---|---:|---:|---:|---:|",
91
+ ]
92
+ for harness in est.outcome_summary(rows).by_harness:
93
+ for outcome, tools, label in _INCOMPLETE_GROUPS:
94
+ values = sorted(
95
+ row["duration_s"]
96
+ for row in rows
97
+ if row["harness"] == harness.harness
98
+ and row["outcome"] == outcome
99
+ and (row["tool_calls"] > 0) == tools
100
+ )
101
+ if values:
102
+ spread = (values[0], est.quantile(values, 0.5), values[-1])
103
+ cells = " | ".join(render.duration(value) for value in spread)
104
+ else:
105
+ cells = "- | - | -"
106
+ lines.append(f"| {harness.harness} | {label} | {len(values):,} | {cells} |")
107
+ return "\n" + "\n".join(f" {line}" for line in lines) + "\n "
108
+
109
+
72
110
  # The timeline the README's quote example re-answers, passed as `--quoted` exactly as given.
73
111
  QUOTE_EXAMPLE = "3 months"
74
112
 
@@ -237,6 +275,7 @@ def values(
237
275
  "contributor_split": contributor,
238
276
  "loss_count": str(len(report["losses"])),
239
277
  "not_completed_by_harness": _not_completed_by_harness(rows),
278
+ "incomplete_breakdown": _incomplete_breakdown(rows),
240
279
  "cell_table": _cell_table(rows),
241
280
  "example_output": _example_output(rows, plan_path),
242
281
  "quote_example_output": _example_output(rows, quote_plan_path, QUOTE_EXAMPLE),
@@ -293,6 +293,84 @@ class NotCompletedByHarness(unittest.TestCase):
293
293
  self.assertNotRegex(unmarked, rf"(?<![\d.]){re.escape(share)}")
294
294
 
295
295
 
296
+ def _breakdown_cells(table: str) -> dict[tuple[str, str], list[str]]:
297
+ """The body rows of a generated not-completed breakdown, keyed by harness and group."""
298
+ cells = {}
299
+ for line in table.strip().splitlines()[2:]:
300
+ harness, group, *rest = (part.strip() for part in line.strip().strip("|").split("|"))
301
+ cells[(harness, group)] = rest
302
+ return cells
303
+
304
+
305
+ FAILED_GROUPS = ("zero-tool failures", "failures with tool activity")
306
+ UNKNOWN_GROUPS = ("unknown outcome, zero-tool", "unknown outcome, with tool activity")
307
+
308
+
309
+ class IncompleteBreakdown(unittest.TestCase):
310
+ """The not-completed runs split by outcome and tool activity, descriptive and never a cause."""
311
+
312
+ @classmethod
313
+ def setUpClass(cls):
314
+ cls.readme = (REPO / "README.md").read_text(encoding="utf-8")
315
+ cls.rows = schema.read_dataset([paths.seed_dir()])
316
+ cls.value = claims.values(
317
+ cls.rows, json.loads((REPO / "docs" / "backtest.json").read_text(encoding="utf-8"))
318
+ )["incomplete_breakdown"]
319
+
320
+ def test_the_groups_add_up_to_each_harness_not_completed_total(self):
321
+ cells = _breakdown_cells(self.value)
322
+ summary = est.outcome_summary(self.rows).by_harness
323
+ self.assertTrue(summary)
324
+ for harness in summary:
325
+ with self.subTest(harness=harness.harness):
326
+ failed = sum(int(cells[(harness.harness, g)][0]) for g in FAILED_GROUPS)
327
+ unknown = sum(int(cells[(harness.harness, g)][0]) for g in UNKNOWN_GROUPS)
328
+ self.assertEqual(failed, harness.failed)
329
+ self.assertEqual(unknown, harness.unknown)
330
+ self.assertEqual(len(cells), 4 * len(summary))
331
+
332
+ def test_each_group_gets_its_count_and_min_median_max(self):
333
+ rows = [
334
+ synthetic.row(harness="codex", outcome="failed", tool_calls=0, duration_s=5),
335
+ synthetic.row(harness="codex", outcome="failed", tool_calls=0, duration_s=3),
336
+ synthetic.row(harness="codex", outcome="failed", tool_calls=0, duration_s=4),
337
+ synthetic.row(harness="codex", outcome="failed", tool_calls=4, duration_s=600),
338
+ synthetic.row(harness="codex", outcome="failed", tool_calls=9, duration_s=1200),
339
+ synthetic.row(harness="codex", outcome="unknown", tool_calls=2, duration_s=60),
340
+ synthetic.row(harness="codex", outcome="completed", tool_calls=0, duration_s=7),
341
+ synthetic.row(harness="codex", outcome="completed", tool_calls=3, duration_s=9000),
342
+ ]
343
+ cells = _breakdown_cells(claims._incomplete_breakdown(rows))
344
+ self.assertEqual(cells[("codex", "zero-tool failures")], ["3", "3 s", "4 s", "5 s"])
345
+ self.assertEqual(
346
+ cells[("codex", "failures with tool activity")], ["2", "10 min", "15 min", "20 min"]
347
+ )
348
+ self.assertEqual(
349
+ cells[("codex", "unknown outcome, with tool activity")], ["1", "60 s", "60 s", "60 s"]
350
+ )
351
+
352
+ def test_an_empty_group_shows_no_runs_and_no_durations(self):
353
+ rows = [
354
+ synthetic.row(harness="codex", outcome="failed", tool_calls=0, duration_s=5),
355
+ synthetic.row(harness="claude-code", outcome="completed"),
356
+ ]
357
+ cells = _breakdown_cells(claims._incomplete_breakdown(rows))
358
+ self.assertEqual(cells[("codex", "unknown outcome, zero-tool")], ["0", "-", "-", "-"])
359
+ for group in (*FAILED_GROUPS, *UNKNOWN_GROUPS):
360
+ self.assertEqual(cells[("claude-code", group)], ["0", "-", "-", "-"], group)
361
+ self.assertEqual(_breakdown_cells(claims._incomplete_breakdown([])), {})
362
+
363
+ def test_the_failed_runs_bullet_carries_the_marker_and_no_cause(self):
364
+ lines = self.readme.splitlines()
365
+ bullet = "- **Failed runs are under-counted.**"
366
+ at = next(i for i, line in enumerate(lines) if line.startswith(bullet))
367
+ self.assertIn("not a diagnosis", lines[at])
368
+ self.assertNotIn("provider", lines[at])
369
+ self.assertEqual(lines[at + 1], " <!-- claim:incomplete_breakdown -->")
370
+ # The figures sit in the table; the sentence after the counts holds none.
371
+ self.assertNotRegex(lines[at].rsplit("<!-- /claim -->", 1)[1], r"\d")
372
+
373
+
296
374
  PROJECT_PLAN_CLAIMS = (
297
375
  "project_plan_sessions",
298
376
  "project_plan_projects",
@@ -6,6 +6,7 @@ from pathlib import Path
6
6
 
7
7
  from agentpace import cli
8
8
  from agentpace.estimate import PlanRange
9
+ from tests.test_skills import BANNED_PHRASES
9
10
 
10
11
  REPO = Path(__file__).resolve().parent.parent
11
12
  CLI_DOC = REPO / "docs" / "cli.md"
@@ -70,5 +71,56 @@ class VerificationGuide(unittest.TestCase):
70
71
  self.assertTrue((page.parent / target).exists(), target)
71
72
 
72
73
 
74
+ class PilotKit(unittest.TestCase):
75
+ PAGE = REPO / "docs" / "pilot.md"
76
+ FORM = REPO / ".github" / "ISSUE_TEMPLATE" / "pilot-report.yml"
77
+
78
+ def test_contributing_links_the_pilot(self):
79
+ text = (REPO / "CONTRIBUTING.md").read_text(encoding="utf-8")
80
+ self.assertIn("(docs/pilot.md)", text)
81
+
82
+ def test_relative_links_resolve(self):
83
+ text = self.PAGE.read_text(encoding="utf-8")
84
+ for target in re.findall(r"\]\(([^)#]+)(?:#[^)]*)?\)", text):
85
+ if "://" not in target:
86
+ self.assertTrue((self.PAGE.parent / target).exists(), target)
87
+
88
+ def test_it_names_the_attest_rule_and_both_sources(self):
89
+ text = self.PAGE.read_text(encoding="utf-8")
90
+ self.assertIn("from the first agent start to the last agent finish", text.lower())
91
+ self.assertIn("no pause beyond 15 minutes", text)
92
+ self.assertIn("900 s idle cap", text)
93
+ self.assertIn("--session", text)
94
+ self.assertIn("--actual", text)
95
+
96
+ def test_it_carries_no_banned_wording(self):
97
+ ruled = ("agent time", "active time", "not included", "left out", "excluded")
98
+ for path in (self.PAGE, self.FORM):
99
+ text = path.read_text(encoding="utf-8").lower()
100
+ for phrase in (*BANNED_PHRASES, *ruled):
101
+ with self.subTest(path=path.name, phrase=phrase):
102
+ self.assertNotIn(phrase.lower(), text)
103
+
104
+ def test_the_form_names_its_fields_and_warns(self):
105
+ text = self.FORM.read_text(encoding="utf-8")
106
+ self.assertIn('title: "Pilot report: "', text)
107
+ fields = ("version", "harness", "setup", "cycle1", "cycle2", "human", "decision")
108
+ for field in (*fields, "friction", "stopped", "stopped_why"):
109
+ with self.subTest(field=field):
110
+ self.assertRegex(text, rf"(?m)^ id: {field}$")
111
+ # Unquoted, YAML would read the option as false.
112
+ self.assertRegex(text, r'(?m)^ - "no"$')
113
+ self.assertIn("Issues are public.", text)
114
+
115
+ def test_both_never_lists_name_the_same_things(self):
116
+ never = ("prompts", "code", "task ids", "file paths")
117
+ files = ("~/.agentpace/secret", "forecasts.jsonl")
118
+ for path in (self.PAGE, self.FORM):
119
+ text = path.read_text(encoding="utf-8")
120
+ for item in (*never, *files):
121
+ with self.subTest(path=path.name, item=item):
122
+ self.assertIn(item, text)
123
+
124
+
73
125
  if __name__ == "__main__":
74
126
  unittest.main()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes