agentpace 0.13.3__tar.gz → 0.14.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 (117) hide show
  1. {agentpace-0.13.3 → agentpace-0.14.0}/.github/workflows/ci.yml +1 -1
  2. {agentpace-0.13.3 → agentpace-0.14.0}/.github/workflows/publish.yml +1 -1
  3. {agentpace-0.13.3 → agentpace-0.14.0}/CHANGELOG.md +15 -0
  4. {agentpace-0.13.3 → agentpace-0.14.0}/CITATION.cff +1 -1
  5. {agentpace-0.13.3 → agentpace-0.14.0}/PKG-INFO +4 -4
  6. {agentpace-0.13.3 → agentpace-0.14.0}/README.md +3 -3
  7. {agentpace-0.13.3 → agentpace-0.14.0}/docs/DESIGN.md +14 -4
  8. {agentpace-0.13.3 → agentpace-0.14.0}/docs/backtest.md +2 -2
  9. {agentpace-0.13.3 → agentpace-0.14.0}/docs/cli.md +2 -2
  10. {agentpace-0.13.3 → agentpace-0.14.0}/docs/skill-smoke.md +17 -2
  11. {agentpace-0.13.3 → agentpace-0.14.0}/skills/agentpace/SKILL.md +2 -2
  12. {agentpace-0.13.3 → agentpace-0.14.0}/skills/agentpace/assets/portable-prompt.md +1 -1
  13. {agentpace-0.13.3 → agentpace-0.14.0}/skills/pace-estimate/SKILL.md +2 -2
  14. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/__init__.py +1 -1
  15. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/backtest.py +3 -1
  16. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/render.py +4 -4
  17. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/report.py +7 -4
  18. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_backtest.py +8 -2
  19. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_claims.py +1 -1
  20. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_cli.py +4 -4
  21. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_skills.py +16 -3
  22. {agentpace-0.13.3 → agentpace-0.14.0}/.claude-plugin/marketplace.json +0 -0
  23. {agentpace-0.13.3 → agentpace-0.14.0}/.gitattributes +0 -0
  24. {agentpace-0.13.3 → agentpace-0.14.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  25. {agentpace-0.13.3 → agentpace-0.14.0}/.github/ISSUE_TEMPLATE/ingest-found-nothing.yml +0 -0
  26. {agentpace-0.13.3 → agentpace-0.14.0}/.github/ISSUE_TEMPLATE/remove-my-rows.yml +0 -0
  27. {agentpace-0.13.3 → agentpace-0.14.0}/.github/dependabot.yml +0 -0
  28. {agentpace-0.13.3 → agentpace-0.14.0}/.github/pull_request_template.md +0 -0
  29. {agentpace-0.13.3 → agentpace-0.14.0}/.github/workflows/validate-data.yml +0 -0
  30. {agentpace-0.13.3 → agentpace-0.14.0}/.gitignore +0 -0
  31. {agentpace-0.13.3 → agentpace-0.14.0}/CODE_OF_CONDUCT.md +0 -0
  32. {agentpace-0.13.3 → agentpace-0.14.0}/CONTRIBUTING.md +0 -0
  33. {agentpace-0.13.3 → agentpace-0.14.0}/LICENSE +0 -0
  34. {agentpace-0.13.3 → agentpace-0.14.0}/SECURITY.md +0 -0
  35. {agentpace-0.13.3 → agentpace-0.14.0}/data/LICENSE +0 -0
  36. {agentpace-0.13.3 → agentpace-0.14.0}/data/README.md +0 -0
  37. {agentpace-0.13.3 → agentpace-0.14.0}/data/runs/4546788e7930eccd-2026-W40-2026-W45.jsonl +0 -0
  38. {agentpace-0.13.3 → agentpace-0.14.0}/data/runs/4546788e7930eccd-2026-W44-2026-W45.jsonl +0 -0
  39. {agentpace-0.13.3 → agentpace-0.14.0}/data/runs/4546788e7930eccd-2026-W45-2026-W49.jsonl +0 -0
  40. {agentpace-0.13.3 → agentpace-0.14.0}/docs/.nojekyll +0 -0
  41. {agentpace-0.13.3 → agentpace-0.14.0}/docs/assets/backtest-coverage.svg +0 -0
  42. {agentpace-0.13.3 → agentpace-0.14.0}/docs/assets/hero.webp +0 -0
  43. {agentpace-0.13.3 → agentpace-0.14.0}/docs/assets/run-ranges.svg +0 -0
  44. {agentpace-0.13.3 → agentpace-0.14.0}/docs/assets/social-preview.png +0 -0
  45. {agentpace-0.13.3 → agentpace-0.14.0}/docs/backtest.json +0 -0
  46. {agentpace-0.13.3 → agentpace-0.14.0}/docs/index.html +0 -0
  47. {agentpace-0.13.3 → agentpace-0.14.0}/docs/releasing.md +0 -0
  48. {agentpace-0.13.3 → agentpace-0.14.0}/docs/robots.txt +0 -0
  49. {agentpace-0.13.3 → agentpace-0.14.0}/docs/sitemap.xml +0 -0
  50. {agentpace-0.13.3 → agentpace-0.14.0}/docs/verify-adapter.md +0 -0
  51. {agentpace-0.13.3 → agentpace-0.14.0}/examples/plan.json +0 -0
  52. {agentpace-0.13.3 → agentpace-0.14.0}/examples/quote-plan.json +0 -0
  53. {agentpace-0.13.3 → agentpace-0.14.0}/experiments/__init__.py +0 -0
  54. {agentpace-0.13.3 → agentpace-0.14.0}/experiments/model_offset/PROTOCOL.md +0 -0
  55. {agentpace-0.13.3 → agentpace-0.14.0}/experiments/model_offset/__init__.py +0 -0
  56. {agentpace-0.13.3 → agentpace-0.14.0}/experiments/model_offset/__main__.py +0 -0
  57. {agentpace-0.13.3 → agentpace-0.14.0}/experiments/model_offset/offset.py +0 -0
  58. {agentpace-0.13.3 → agentpace-0.14.0}/experiments/model_offset/report.json +0 -0
  59. {agentpace-0.13.3 → agentpace-0.14.0}/experiments/model_offset/report.md +0 -0
  60. {agentpace-0.13.3 → agentpace-0.14.0}/pyproject.toml +0 -0
  61. {agentpace-0.13.3 → agentpace-0.14.0}/schema/run.schema.json +0 -0
  62. {agentpace-0.13.3 → agentpace-0.14.0}/schema/turn.schema.json +0 -0
  63. {agentpace-0.13.3 → agentpace-0.14.0}/skills/agentpace/references/method.md +0 -0
  64. {agentpace-0.13.3 → agentpace-0.14.0}/skills/pace-log/SKILL.md +0 -0
  65. {agentpace-0.13.3 → agentpace-0.14.0}/skills/pace-share/SKILL.md +0 -0
  66. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/__main__.py +0 -0
  67. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/adapters/__init__.py +0 -0
  68. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/adapters/base.py +0 -0
  69. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/adapters/claude_code.py +0 -0
  70. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/adapters/cline.py +0 -0
  71. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/adapters/codex.py +0 -0
  72. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/adapters/gemini_cli.py +0 -0
  73. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/adapters/opencode.py +0 -0
  74. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/cache.py +0 -0
  75. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/charts.py +0 -0
  76. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/claims.py +0 -0
  77. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/classify.py +0 -0
  78. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/cli.py +0 -0
  79. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/clock.py +0 -0
  80. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/estimate.py +0 -0
  81. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/forecasts.py +0 -0
  82. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/ingest.py +0 -0
  83. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/paths.py +0 -0
  84. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/pseudonym.py +0 -0
  85. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/py.typed +0 -0
  86. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/schema.py +0 -0
  87. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/share.py +0 -0
  88. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/site.py +0 -0
  89. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/turns.py +0 -0
  90. {agentpace-0.13.3 → agentpace-0.14.0}/src/agentpace/validate.py +0 -0
  91. {agentpace-0.13.3 → agentpace-0.14.0}/tests/__init__.py +0 -0
  92. {agentpace-0.13.3 → agentpace-0.14.0}/tests/fixtures/__init__.py +0 -0
  93. {agentpace-0.13.3 → agentpace-0.14.0}/tests/fixtures/cline_tasks.py +0 -0
  94. {agentpace-0.13.3 → agentpace-0.14.0}/tests/fixtures/gemini_cli.py +0 -0
  95. {agentpace-0.13.3 → agentpace-0.14.0}/tests/fixtures/opencode.py +0 -0
  96. {agentpace-0.13.3 → agentpace-0.14.0}/tests/synthetic.py +0 -0
  97. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_classify.py +0 -0
  98. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_cline.py +0 -0
  99. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_clock.py +0 -0
  100. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_codex.py +0 -0
  101. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_counts.py +0 -0
  102. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_docs.py +0 -0
  103. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_estimate.py +0 -0
  104. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_forecasts.py +0 -0
  105. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_frozen_method.py +0 -0
  106. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_gemini_cli.py +0 -0
  107. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_ingest.py +0 -0
  108. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_labels.py +0 -0
  109. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_model_offset.py +0 -0
  110. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_opencode.py +0 -0
  111. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_outcomes.py +0 -0
  112. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_plan_risk.py +0 -0
  113. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_review_capacity.py +0 -0
  114. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_schema.py +0 -0
  115. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_share_validate.py +0 -0
  116. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_site.py +0 -0
  117. {agentpace-0.13.3 → agentpace-0.14.0}/tests/test_turns.py +0 -0
@@ -49,7 +49,7 @@ jobs:
49
49
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
50
50
  with:
51
51
  python-version: "3.12"
52
- - uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
52
+ - uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
53
53
  - run: uvx ruff@0.17.4 check .
54
54
  - run: uvx ruff@0.17.4 format --check .
55
55
  - run: uvx mypy@2.4.1
@@ -24,7 +24,7 @@ jobs:
24
24
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
25
25
  with:
26
26
  persist-credentials: false
27
- - uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
27
+ - uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
28
28
  - name: Check the tag matches the version
29
29
  env:
30
30
  TAG: ${{ github.ref_name }}
@@ -4,6 +4,21 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) an
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 0.14.0 - 2026-12-06
8
+
9
+ ### Changed
10
+
11
+ - **`agentpace estimate` prints a new human part line.** It ends "State the human part separately; do not derive it from the plan total." in place of "State it separately; do not derive it from the agent time." The measured form, printed by `estimate` and `score` after `agentpace turns`, ends "Do not derive the human part from the plan total." The total is on the session clock, so "the agent time" misnamed it. A script that matches the old line needs the new one. The first line, every number and `--json` are unchanged.
12
+ - The estimating skills (`agentpace`, `/pace-estimate`) never say the human part is "not included", "left out" or "excluded", and never tell the user to add it to the total: waits shorter than the idle cap already sit inside the session clock. They call the per-task rows agent run time. The `/pace-estimate` description says "ranges for the plan total on the session clock"; no other frontmatter changed.
13
+ - The portable prompt's step 7 says "from that total". README and `docs/cli.md` say "measured agent runs" and "never converted", no longer "converted into agent time".
14
+ - The report and DESIGN section 6 no longer call the time-split whole-session test "the forward test of plan totals". Its sessions come from the weeks that chose the method; the forward test is the locked holdout. Both now say what a time fold trains on: sessions that began in earlier weeks, each with every run it made later, so a fold can train on runs dated after its test week, as first happened in 0.13.2. `docs/backtest.md` is regenerated: two sentences change, no number.
15
+
16
+ ### Added
17
+
18
+ - `docs/skill-smoke.md`: three meanings gate prompts 1, 3, 5, 6 and 7, and the record gains the 13 rows of 2026-12-06. Seven of eight passed the first run. Prompt 1 failed: under a correct block it said to treat the human part "as a separate amount on top". The wording was amended once at the review and the five gated prompts ran again: all five passed. The failed row stays.
19
+
20
+ No published number moved, and `docs/backtest.json` is unchanged.
21
+
7
22
  ## 0.13.3 - 2026-12-06
8
23
 
9
24
  ### Added
@@ -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.13.3
11
+ version: 0.14.0
12
12
  date-released: 2026-12-06
13
13
  keywords:
14
14
  - coding agents
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: agentpace
3
- Version: 0.13.3
3
+ Version: 0.14.0
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
@@ -48,7 +48,7 @@ uvx agentpace estimate --example
48
48
  <!-- claim:example_output -->
49
49
  Plan total on the session clock: P50 1.7 h, P80 4.0 h, P90 6.2 h
50
50
  The session clock counts agent runs and the gaps between them, each gap up to the idle cap (900 s by default), so waiting on you between runs sits inside the total up to that cap.
51
- Human part (review, testing, decisions, waiting between agent turns): not measured. No allowance for it is added to the total above. State it separately; do not derive it from the agent time.
51
+ Human part (review, testing, decisions, waiting between agent turns): not measured. No allowance for it is added to the total above. State the human part separately; do not derive it from the plan total.
52
52
 
53
53
  task P50 P80 P90 critical cell (n)
54
54
  schema 23 min 62 min 1.7 h 100% feature x normal x claude-opus-5-5 (n=408)
@@ -162,7 +162,7 @@ agentpace estimate examples/quote-plan.json --quoted "3 months"
162
162
  Plan total on the session clock: P50 3.3 h, P80 7.6 h, P90 11.5 h
163
163
  Quoted: "3 months" (calendar time, as quoted; unverified, not converted)
164
164
  The session clock counts agent runs and the gaps between them, each gap up to the idle cap (900 s by default), so waiting on you between runs sits inside the total up to that cap.
165
- Human part (review, testing, decisions, waiting between agent turns): not measured. No allowance for it is added to the total above. State it separately; do not derive it from the agent time.
165
+ Human part (review, testing, decisions, waiting between agent turns): not measured. No allowance for it is added to the total above. State the human part separately; do not derive it from the plan total.
166
166
 
167
167
  task P50 P80 P90 critical cell (n)
168
168
  schema 23 min 62 min 1.7 h 100% feature x normal x claude-opus-5-5 (n=408)
@@ -182,7 +182,7 @@ Warnings:
182
182
  <!-- /claim -->
183
183
  ```
184
184
 
185
- The quote is calendar time, as quoted, and nothing has checked it. The range is built from measured agent time on the session clock, which counts the gaps between runs up to the idle cap. The human part is stated apart, on its own line, and no allowance for it is added to either. The quote is shown beside the range, never converted into agent time or set against it.
185
+ The quote is calendar time, as quoted, and nothing has checked it. The range is built from measured agent runs on the session clock, which counts the gaps between runs up to the idle cap. The human part is stated apart, on its own line, and no allowance for it is added to either. The quote is shown beside the range, never converted or set against it.
186
186
 
187
187
  ## Commands
188
188
 
@@ -21,7 +21,7 @@ uvx agentpace estimate --example
21
21
  <!-- claim:example_output -->
22
22
  Plan total on the session clock: P50 1.7 h, P80 4.0 h, P90 6.2 h
23
23
  The session clock counts agent runs and the gaps between them, each gap up to the idle cap (900 s by default), so waiting on you between runs sits inside the total up to that cap.
24
- Human part (review, testing, decisions, waiting between agent turns): not measured. No allowance for it is added to the total above. State it separately; do not derive it from the agent time.
24
+ Human part (review, testing, decisions, waiting between agent turns): not measured. No allowance for it is added to the total above. State the human part separately; do not derive it from the plan total.
25
25
 
26
26
  task P50 P80 P90 critical cell (n)
27
27
  schema 23 min 62 min 1.7 h 100% feature x normal x claude-opus-5-5 (n=408)
@@ -135,7 +135,7 @@ agentpace estimate examples/quote-plan.json --quoted "3 months"
135
135
  Plan total on the session clock: P50 3.3 h, P80 7.6 h, P90 11.5 h
136
136
  Quoted: "3 months" (calendar time, as quoted; unverified, not converted)
137
137
  The session clock counts agent runs and the gaps between them, each gap up to the idle cap (900 s by default), so waiting on you between runs sits inside the total up to that cap.
138
- Human part (review, testing, decisions, waiting between agent turns): not measured. No allowance for it is added to the total above. State it separately; do not derive it from the agent time.
138
+ Human part (review, testing, decisions, waiting between agent turns): not measured. No allowance for it is added to the total above. State the human part separately; do not derive it from the plan total.
139
139
 
140
140
  task P50 P80 P90 critical cell (n)
141
141
  schema 23 min 62 min 1.7 h 100% feature x normal x claude-opus-5-5 (n=408)
@@ -155,7 +155,7 @@ Warnings:
155
155
  <!-- /claim -->
156
156
  ```
157
157
 
158
- The quote is calendar time, as quoted, and nothing has checked it. The range is built from measured agent time on the session clock, which counts the gaps between runs up to the idle cap. The human part is stated apart, on its own line, and no allowance for it is added to either. The quote is shown beside the range, never converted into agent time or set against it.
158
+ The quote is calendar time, as quoted, and nothing has checked it. The range is built from measured agent runs on the session clock, which counts the gaps between runs up to the idle cap. The human part is stated apart, on its own line, and no allowance for it is added to either. The quote is shown beside the range, never converted or set against it.
159
159
 
160
160
  ## Commands
161
161
 
@@ -196,12 +196,12 @@ for each draw:
196
196
 
197
197
  **Splits**
198
198
 
199
- - **Time:** rolling origin. Train on weeks up to W, test on later weeks. A whole session belongs to the week of its first run, because sessions can cross week boundaries and would otherwise land on both sides.
199
+ - **Time:** rolling origin. Train on weeks up to W, test on later weeks. A whole session belongs to the week of its first run, because sessions can cross week boundaries and would otherwise land on both sides. It brings every run it made later, so a fold can train on runs dated after its test week.
200
200
  - **Contributor:** leave one contributor out. With fewer than two contributors it prints "could not run (1 contributor)" and never substitutes another split under this name.
201
201
  - **Project:** leave one project out, reported under its own name. It tests generalization across codebases, not across people. It runs over every harness. Codex project pseudonyms never join Claude Code ones, even for the same folder, so one codebase used from both harnesses counts as two projects. Since 0.6.3 the report also shows each held-out project on its own, numbered by rank and never by pseudonym, and the split's session-weighted pinball without the project holding the most held-out sessions, so one project's vote is visible. Both come from the per-fold forecasts the split already draws. The split never chooses the method.
202
202
  - **Harness (0.5.0):** leave one harness out. With fewer than two harnesses it prints "could not run (1 harness)". The report also shows each harness on its own: rows, sessions, and the shipped method against the global median on the selection folds. The per-harness tables reuse the selection-fold forecasts already drawn. The split draws its own named streams, like the project split. Neither touches a published number. The estimator does not use the harness. A harness term could only be added as a new candidate appended last, after this split can run. Codex rows join the published seed only through a separate data change that lists every number it moves. With the 0.6.0 seed only the Codex-held-out fold runs, because holding out Claude Code leaves fewer than `MIN_TRAIN_ROWS` completed rows.
203
203
  - **Selection population (0.6.0):** `SELECTION_HARNESS` in `backtest.py` is `claude-code`, the harness the rule was frozen on. Selection, the time-split tables and intervals, the week-by-week table, the whole-session test and the locked holdout's headline score only its sessions. Rows from every harness still train every candidate, because the shipped estimator trains on them too. A dataset without that harness scores all of its rows. The same rule over every harness is printed under "Pooled, for the record" with its own random stream, and never ships. This scope was registered after a local run with the maintainer's Codex rows pooled in had been seen, and section 11 gives that result.
204
- - **Locked holdout:** `SELECTION_LAST_WEEK` in `backtest.py` is frozen at `2026-W45`. Selection and the headline time-split numbers use only folds up to that week, and selection never re-runs on later ones. Later weeks are forecast with the same per-method random streams, after the selection folds, so they cannot move a published number. They score the shipped method against the baselines in their own section, which prints "not enough data" until at least 20 later sessions have 5 or more completed runs. Below it, every candidate is scored per harness at task level, whatever that status. A harness selection does not score, Codex first, is tested there and nowhere else: whether it would be better served by another method is answered on weeks no method was chosen on. Selection ran on the 0.1.0 seed rows on 2026-11-07, while 2026-W45 was still in progress. Rows from W45 sessions shared later join the W45 selection fold and may move the pooled selection-period figures. They cannot change the shipped method unnoticed, because a test pins the default to the published winner, so a flip fails CI and needs re-registration in `CHANGELOG.md`.
204
+ - **Locked holdout:** `SELECTION_LAST_WEEK` in `backtest.py` is frozen at `2026-W45`. Selection and the headline time-split numbers use only folds up to that week, and selection never re-runs on later ones. Later weeks are forecast with the same per-method random streams, after the selection folds, so they cannot move a published number. They score the shipped method against the baselines in their own section, which prints "not enough data" until at least 20 later sessions have 5 or more completed runs. Below it, every candidate is scored per harness at task level, whatever that status. A harness selection does not score, Codex first, is tested there and nowhere else: whether it would be better served by another method is answered on weeks no method was chosen on. Selection ran on the 0.1.0 seed rows on 2026-11-07, while 2026-W45 was still in progress. Rows shared later may move the pooled selection-period figures in two ways: rows from W45 sessions join the W45 selection fold, and later runs of a session that began in a selection week are scored in that week's fold and train the folds after it, as first happened in 0.13.2. They cannot change the shipped method unnoticed, because a test pins the default to the published winner, so a flip fails CI and needs re-registration in `CHANGELOG.md`.
205
205
  - **Week by week:** the report also lists the shipped method fold by fold, because a pooled coverage can hide weeks that miss in both directions.
206
206
  - Random row splits are not used, because F2 would leak sessions across the split.
207
207
 
@@ -216,9 +216,9 @@ for each draw:
216
216
 
217
217
  *Challengers (2026-11-09).* The five-candidate selection is closed and its winner is the incumbent. A challenger is a method registered by name, definition, streams and win rule in `experiments/` before any row from the weeks it is scored on exists. It is scored only on the locked holdout, against the incumbent, never on selection folds, and its forecasts come from streams of its own, so no published number moves. It ships only by re-registration in `CHANGELOG.md` and this section, as a minor release. One is registered: `model-offset-v1` (section 11).
218
218
 
219
- **Plan-level test.** Each held-out session is treated as a plan and predicted from earlier data only. The actual value is the span of its runs on the session clock: `max(offset_s + duration_s) - min(offset_s)`. This is the forward test of the total, the number users actually care about, and it needs D2. It is labeled "oracle-structure" for two reasons: real dependencies are not recorded, so `CP` falls back to the longest single run, and the session's observed peak concurrency stands in for its cap even though that is itself an outcome. So it tests the throughput and session-effect terms, not dependency planning, and the report must say so.
219
+ **Plan-level test.** Each held-out session is treated as a plan and predicted from sessions that began in earlier weeks. The actual value is the span of its runs on the session clock: `max(offset_s + duration_s) - min(offset_s)`. It scores the total, the number users actually care about, and it needs D2. On the selection folds it is not the forward test, because those weeks chose the method; the forward test is the same test on the locked holdout. It is labeled "oracle-structure" for two reasons: real dependencies are not recorded, so `CP` falls back to the longest single run, and the session's observed peak concurrency stands in for its cap even though that is itself an outcome. So it tests the throughput and session-effect terms, not dependency planning, and the report must say so.
220
220
 
221
- *Projects held out.* The same test also runs with one project held out at a time: every session of the selection harness with at least 5 completed runs, in every project that has one and leaves `MIN_TRAIN_ROWS` completed runs outside it, predicted by a model fitted on all rows outside that project, later weeks included, with no row of a held-out session in training. It is retrospective, reported under its own heading with each project by rank and the pooled result without the largest, draws only a named interval stream of its own, and never chooses the method. The time-split test remains the forward test.
221
+ *Projects held out.* The same test also runs with one project held out at a time: every session of the selection harness with at least 5 completed runs, in every project that has one and leaves `MIN_TRAIN_ROWS` completed runs outside it, predicted by a model fitted on all rows outside that project, later weeks included, with no row of a held-out session in training. It is retrospective, reported under its own heading with each project by rank and the pooled result without the largest, draws only a named interval stream of its own, and never chooses the method. The forward test is the locked holdout.
222
222
 
223
223
  **Idle-cap sensitivity.** The 900 s cap is `ingest --idle-cap`. Published rows cannot be re-clipped without the raw transcripts, so this check runs locally with `ingest --idle-cap` and `backtest --data`, and is not a README claim. The results are in section 11. Each cap needs its own `--out` file: a rows file keeps one cap (section 7).
224
224
 
@@ -541,6 +541,16 @@ Fable 5.1 ruled on 2026-11-09, with an independent opinion from Codex (gpt-6-ast
541
541
  - **Deferred or left:** `experiments` as a first-party import root until the experiment closes; the user-scope double load; the portable prompt; the words "the agent time" in the CLI's human part line, which the skills keep inside the block.
542
542
  - **The 2026-W46 data change** takes the next patch from 2026-11-16 and waits for nothing. It gains one check: a session already published is shared again only when it reproduces every published key.
543
543
 
544
+ ### Ruling for the December 2026 plan (P2 wording, 0.14.0)
545
+
546
+ Fable 5.2 ruled on 2026-12-06, with an independent opinion from Codex (gpt-6-astra). It supersedes two items under "Deferred or left" in the ruling for the 0.14 round: the portable prompt, and the words "the agent time" in the CLI's human part line. Those words made readers misread what the plan total covers. The total is on the session clock, agent runs and the gaps between them, each gap up to the idle cap; it is not agent time.
547
+
548
+ - **Two reversals.** The CLI's human part line now ends "State the human part separately; do not derive it from the plan total." Its measured form ends "Do not derive the human part from the plan total." Step 7 of the portable prompt now says not to derive the human part "from that total".
549
+ - **Three meanings.** The total is named on the session clock. The skills never say the human part is "not included", "left out" or "excluded", because no allowance for it is added and waits shorter than the idle cap sit inside the session clock. Per-task rows are agent run time. The three gate smoke prompts 1, 3, 5, 6 and 7; prompts 4, 4b and 8 keep their own criteria.
550
+ - **No adding.** The skills never tell the user to add the human part to the total or to count it on top. Waits shorter than the idle cap already sit inside the session clock, so they would be counted twice. The first run of prompt 1 failed on "treat that as a separate amount on top", under a correct block, so one amendment at the review added this rule to both skills and to the smoke check. The five gated prompts were then run again once, and all five passed; prompts 4, 4b and 8 passed the first run and were not run again.
551
+ - **Nothing else moved.** No number, method or `--json` key changed, and the first line of the output is the same. Of the skills' frontmatter, only the pace-estimate description changed: it now names "ranges for the plan total on the session clock".
552
+ - **Carried from the reviews of 0.13.2 and 0.13.3.** The report and section 6 no longer call the time-split whole-session test the forward test, which is the locked holdout, and they say that a session counts in the week it began, with every run it made later.
553
+
544
554
  ## 12. Sources
545
555
 
546
556
  Repos, audited at: `kiloloop/agent-estimate@8857979`, `MMMProd-Org/claude-eta@5448ae4` (the `mmmprod/claude-eta` URL redirects there), `ZhangHanDong/agent-estimation@71a4697`, `ecappa/web-dev-estimation@c61fb1c`, `MedAdemBHA/mythical-agent-month@b60165f`.
@@ -48,7 +48,7 @@ Pooled winner: `global`. Baselines on the same sessions:
48
48
 
49
49
  ## Time split, pre-run
50
50
 
51
- Train on earlier weeks, test on 2026-W42, 2026-W43, 2026-W44, 2026-W45. This is the honest forecast and the headline.
51
+ Train on sessions that began in earlier weeks, test on sessions that began in 2026-W42, 2026-W43, 2026-W44, 2026-W45. A session counts in the week it began, with every run it made later. This is the honest forecast and the headline.
52
52
 
53
53
  Each session counts equally:
54
54
 
@@ -238,7 +238,7 @@ The estimator does not use the harness. Each harness is shown on its own, from t
238
238
 
239
239
  ## Whole sessions (oracle-structure)
240
240
 
241
- Each of 64 held-out sessions with at least 5 completed runs is treated as a plan. This is the forward test of plan totals; the next section holds out projects instead of weeks. Real dependencies are not recorded, so the critical path falls back to the longest run, and the observed peak concurrency stands in for the agent cap, even though that peak is itself an outcome. It tests the throughput and session terms, not dependency planning.
241
+ Each of 64 held-out sessions with at least 5 completed runs is treated as a plan. These sessions come from the weeks that chose the method; the forward test is the locked holdout below, which scores whole sessions from later weeks once it has enough of them. The next section holds out projects instead of weeks. Real dependencies are not recorded, so the critical path falls back to the longest run, and the observed peak concurrency stands in for the agent cap, even though that peak is itself an outcome. It tests the throughput and session terms, not dependency planning.
242
242
 
243
243
  | Method | MAPE | MdAPE | MALE | P50 cov. | P80 cov. | P90 cov. | P90/P50 | Pinball |
244
244
  |---|---:|---:|---:|---:|---:|---:|---:|---:|
@@ -158,7 +158,7 @@ The text form starts with the total, the clock note and the human part:
158
158
  ```text
159
159
  Plan total on the session clock: P50 …, P80 …, P90 …
160
160
  The session clock counts agent runs and the gaps between them, each gap up to the idle cap (900 s by default), so waiting on you between runs sits inside the total up to that cap.
161
- Human part (review, testing, decisions, waiting between agent turns): not measured. No allowance for it is added to the total above. State it separately; do not derive it from the agent time.
161
+ Human part (review, testing, decisions, waiting between agent turns): not measured. No allowance for it is added to the total above. State the human part separately; do not derive it from the plan total.
162
162
  ```
163
163
 
164
164
  The clock note gives the default cap. When rows other than the bundled seed take part, your local store or `--data`, one more line sits above it, under the total and under the `Quoted:` line when there is one. It names the idle cap each source was clipped at, from the record `ingest` keeps beside a rows file.
@@ -173,7 +173,7 @@ Idle cap: not recorded (--data rows).
173
173
 
174
174
  A rows file with no record counts as 900 s when every row in it is a published row, and as not recorded otherwise. For one clock, pass `--data` with rows ingested under it. With only the bundled seed, whose rows are at 900 s, the line is absent.
175
175
 
176
- With `--quoted`, one line sits directly under the total. It holds the quote verbatim and is never converted into agent time or compared with the range:
176
+ With `--quoted`, one line sits directly under the total. It holds the quote verbatim and is never converted or compared with the range:
177
177
 
178
178
  ```text
179
179
  Quoted: "3 weeks" (calendar time, as quoted; unverified, not converted)
@@ -17,7 +17,9 @@ Every prompt that runs the CLI must relay these lines, inside the fenced code bl
17
17
  - the `Human part (...)` line;
18
18
  - every line under `Warnings:`.
19
19
 
20
- Below the block, every prompt that runs the CLI must name on the session clock each number of the plan total that it gives there, and must not call a number, or say it covers, agent time, agent work, active time, working time or effort. It need not give all three numbers: the P80 alone is enough. Saying what the session-clock line says, agent runs and the gaps between them up to the idle cap, passes. Everything the assistant says in the session is judged.
20
+ Below the block, every prompt that runs the CLI must name on the session clock each number of the plan total that it gives there, and must not call a number, or say it covers, agent time, agent work, active time, working time or effort. It need not give all three numbers: the P80 alone is enough. Saying what the session-clock line says, agent runs and the gaps between them up to the idle cap, passes. Everything the assistant says in the session is judged. It must not say, in any wording, that the total excludes the human part, or that the human part is "not included" or "left out"; "no allowance for it is added" passes. Telling the user to add the human part to the total, or to count it on top, fails; saying it is stated separately passes. Task rows called "agent run time" pass; called "on the session clock", they fail.
21
+
22
+ These three meanings gate prompts 1, 3, 5, 6 and 7: the total is named on the session clock, the human part is never said to be excluded, "not included" or "left out", or to be added to the total, and task rows are called agent run time. Prompts 4, 4b and 8 keep their own criteria.
21
23
 
22
24
  When the CLI refuses instead of answering, with one line starting `agentpace:`, that line is relayed as printed, not replaced, and nothing more is run.
23
25
 
@@ -36,7 +38,7 @@ Eight of them. Prompt 2 of the earlier four-prompt list, the "3 months" quote, i
36
38
 
37
39
  ## Record
38
40
 
39
- One row per prompt run. Failed rows stay, and a verdict that a review reads otherwise keeps its first reading in the row. Older rows did not record the CLI version or the home setup. From 2026-11-10 the skills are loaded with `--plugin-dir` from a copy of the named commit, in the maintainer's own profile, where other plugins are loaded too. Until the amendment that followed the first 2026-11-10 run, the rule for what is said below the block applied to prompt 1 alone. Prompt 8 was not run again after that amendment: it loads only `pace-share`, which the amendment left unchanged.
41
+ One row per prompt run. Failed rows stay, and a verdict that a review reads otherwise keeps its first reading in the row. Older rows did not record the CLI version or the home setup. From 2026-11-10 the skills are loaded with `--plugin-dir` from a copy of the named commit, in the maintainer's own profile, where other plugins are loaded too. Until the amendment that followed the first 2026-11-10 run, the rule for what is said below the block applied to prompt 1 alone. Prompt 8 was not run again after that amendment: it loads only `pace-share`, which the amendment left unchanged. The amendment of 2026-12-06 changed one sentence in the report step of both estimating skills, so prompts 1, 3, 5, 6 and 7 were run again; prompts 4 and 4b stop before that step, and prompt 8 loads only `pace-share`. The rows of 2026-12-06 name branch commits from before the last rebase; their `skills` trees are `c81db18` (first run) and `c15d8ea` (rerun), and the second is the tree released in 0.14.0.
40
42
 
41
43
  | Date | Host and model | Prompt | Skills commit | CLI version | Home setup | Lines relayed verbatim | Pass or fail |
42
44
  |---|---|---|---|---|---|---|---|
@@ -60,3 +62,16 @@ One row per prompt run. Failed rows stay, and a verdict that a review reads othe
60
62
  | 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 5. A plan file about other work | `7d90df2` | 0.13.0 (`c7abce6`) | Empty scratch home; `plan.json` holds one `changelog` docs task; the prompt given alone | `Plan total`, session-clock line, `Human part`, every `Warnings:` line | **Pass.** The block was compared with a re-run of the shown command; every line matched. Wrote `billing-plan.json` and ran the CLI on it; "This estimate is for a breakdown I guessed."; below the block: "For planning I'd use the P80: ... on the session clock." `plan.json` unchanged byte for byte. |
61
63
  | 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 6. A named plan file | `7d90df2` | 0.13.0 (`c7abce6`) | Empty scratch home; `examples/plan.json` as `plan.json` | `Plan total`, session-clock line, `Human part`, every `Warnings:` line | **Pass.** The block was compared with a re-run of the shown command; every line matched. Ran on `plan.json` with no question; below the block: "The plan total on the session clock runs from P50 ... to P80 ... to P90 ...." |
62
64
  | 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 7. A "3 months" quote, home at another cap | `7d90df2` | 0.13.0 (`c7abce6`) | A synthetic history ingested with `--idle-cap 600` | `Plan total`, `Quoted:`, `Idle cap: 900 s (bundled seed), 600 s (your local store). This range pools rows on different clocks.`, session-clock line, `Human part`, every `Warnings:` line, in that order | **Pass.** The block was compared with a re-run of the shown command; every line matched. Below the block: "Plan around the P80: ... on the session clock."; "Nothing has checked that quote, and I haven't converted it into anything." No comparison, ratio or difference; every file in the home unchanged (sha256). |
65
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 1. A feature marked `high` | `779912f` | branch `pr116/wording` at `779912f`, reports 0.13.2 | Empty scratch home | `Plan total`, session-clock line, `Human part`, every `Warnings:` line; `risk` left out, no `risk as written` warning | **Fail.** The block passed, `risk` was left out, and no claim that risk changed the range. Below the block the total was named on the session clock and the task rows were called agent run time. Then: "Your own review, testing and decisions are not measured, so treat that as a separate amount on top." That tells the user to add the human part to the total. |
66
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 3. "4 PRs a day" | `779912f` | branch `pr116/wording` at `779912f`, reports 0.13.2 | Empty scratch home | `Plan total`, session-clock line, `Human part`, `Review capacity: "4 PRs a day" ...`, every `Warnings:` line | **Pass.** The command carried `--review-capacity "4 PRs a day"`; the block passed. Below the block: "Plan around the P80: 12.4 h on the session clock"; review, testing and decisions "weren't measured, and no time is added for them"; the tests row "2.1 h of agent run time". The capacity was not turned into a timeline. |
67
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 4. CLI absent | `779912f` | none on `PATH` | Empty scratch home | None (no CLI) | **Pass.** Showed `uv tool install agentpace` and stopped; nothing installed. It also asked what the feature covers. |
68
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 4b. CLI absent, nothing can be installed | `779912f` | none on `PATH` | Empty scratch home | None (no CLI) | **Pass.** Answered from the portable prompt, labelled "a rule of thumb ... not a measured range"; the human part line as the portable prompt gives it. |
69
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 5. A plan file about other work | `779912f` | branch `pr116/wording` at `779912f`, reports 0.13.2 | Empty scratch home; `plan.json` holds one `changelog` docs task | None (no estimate ran) | **Pass.** No estimate ran: the answer did not estimate `plan.json`, asked what the feature covers and said it would write a new file; `plan.json` unchanged byte for byte. Nothing below a block to judge. The prompt carried the request to show the plan file, against the recipe; the rerun gives it alone. |
70
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 6. A named plan file | `779912f` | branch `pr116/wording` at `779912f`, reports 0.13.2 | Empty scratch home; `examples/plan.json` as `plan.json` | `Plan total`, session-clock line, `Human part`, every `Warnings:` line | **Pass.** `/agentpace:pace-estimate plan.json` ran on that file with no question; the block passed. Below the block: "The plan total on the session clock is ..."; "no allowance for it is added"; the task table headed "Per-task agent run time". |
71
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 7. A "3 months" quote, home at another cap | `779912f` | branch `pr116/wording` at `779912f`, reports 0.13.2 | A synthetic history ingested with `--idle-cap 600` | `Plan total`, `Quoted:`, `Idle cap: 900 s (bundled seed), 600 s (your local store). This range pools rows on different clocks.`, session-clock line, `Human part`, every `Warnings:` line, in that order | **Pass.** The block passed, in order. Below the block: "Plan around the P80 on the session clock: 13.7 h"; the human part "has not been measured, so it's a separate item"; "per-task rows, which are agent run time". No conversion, comparison, ratio or difference; the home unchanged. |
72
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 8. A refused share | `779912f` | branch `pr116/wording` at `779912f`, reports 0.13.2 | `runs.jsonl` of synthetic rows, no clock record | `agentpace: runs.jsonl has no recorded idle cap, ...` | **Pass.** Relayed the line as printed and stopped: no `--write`, no retry, the home unchanged (no clock record added). |
73
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 1. A feature marked `high` | `d69c5f7` | branch `pr116/wording` at `d69c5f7`, reports 0.13.2 | Empty scratch home | `Plan total`, session-clock line, `Human part`, every `Warnings:` line; `risk` left out, no `risk as written` warning | **Pass.** The block equals the CLI's output in the session, line for line. Below the block: "Plan around the P80 on the session clock: 7.3 h. That covers the agent runs and the gaps between them, with each gap counted up to the idle cap. Your own review and decisions go on the human part line, which wasn't measured." The task table is headed "Agent run time per task". It says marking the work high would not change the estimate. |
74
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 3. "4 PRs a day" | `d69c5f7` | branch `pr116/wording` at `d69c5f7`, reports 0.13.2 | Empty scratch home | `Plan total`, session-clock line, `Human part`, `Review capacity: "4 PRs a day" ...`, every `Warnings:` line | **Pass.** The command carried `--review-capacity "4 PRs a day"`; the block equals the CLI's output, `Review capacity:` line included. Below the block: "Plan with the P80: 12.4 h on the session clock. That covers the agent runs and the gaps between them, with each gap counted up to the 900 s idle cap." No sentence about the human part and no per-task figure below the block. "I haven't turned it into a number of days." |
75
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 5. A plan file about other work | `d69c5f7` | branch `pr116/wording` at `d69c5f7`, reports 0.13.2 | Empty scratch home; `plan.json` holds one `changelog` docs task; the prompt given alone | `Plan total`, session-clock line, `Human part`, every `Warnings:` line | **Pass.** The prompt given alone. Wrote `billing-plan.json` and ran the CLI on it; "a typical billing breakdown that I made up"; `plan.json` unchanged byte for byte. Below the block: "Plan around the P80: 13.9 h on the session clock. That covers the agent runs plus the gaps between them, with each gap counted up to the 15-minute idle cap. The human part is on its own line above and hasn't been measured, so I haven't put a number on it."; "P80 is 2.1 h of agent run time." |
76
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 6. A named plan file | `d69c5f7` | branch `pr116/wording` at `d69c5f7`, reports 0.13.2 | Empty scratch home; `examples/plan.json` as `plan.json` | `Plan total`, session-clock line, `Human part`, every `Warnings:` line | **Pass.** `/agentpace:pace-estimate plan.json` ran on that file with no question; the block equals the CLI's output. Below the block: "The plan total on the session clock is P50 1.7 h, P80 4.0 h and P90 6.2 h. The session clock includes waits between runs, up to the 900 s idle cap. The human part (review, testing, decisions) wasn't measured, so it's a separate item with no number from this run." The task table is headed "Agent run time per task". Run after the usage limit reset; a first attempt ended before any turn. |
77
+ | 2026-12-06 | Claude Code 2.1.337, claude-opus-5-5 | 7. A "3 months" quote, home at another cap | `d69c5f7` | branch `pr116/wording` at `d69c5f7`, reports 0.13.2 | A synthetic history ingested with `--idle-cap 600` | `Plan total`, `Quoted:`, `Idle cap: 900 s (bundled seed), 600 s (your local store). This range pools rows on different clocks.`, session-clock line, `Human part`, every `Warnings:` line, in that order | **Pass.** The block equals the CLI's output, in order. Below the block: "For planning, use the P80 on the session clock: 3.2 h. The session clock counts the agent runs plus the gaps between them, with each gap counted up to the idle cap. The team's "3 months" quote is shown next to it exactly as given and hasn't been checked. The human part (review, testing, decisions) wasn't measured, so it has its own line."; "(P80 of 60 min agent run time)". No conversion, comparison, ratio or difference; every file in the home unchanged (sha256). Run after the usage limit reset; a first attempt ended before any turn. |
@@ -60,14 +60,14 @@ When the conversation already holds a timeline in days, weeks or months, from th
60
60
  agentpace estimate <file> --quoted "3 months"
61
61
  ```
62
62
 
63
- The output then has a `Quoted:` line under the total, marking the quote as calendar time, as quoted and unverified. Relay that line as printed, beside the measured range, and leave the two side by side: the measured range is the plan total on the session clock, and the human part stays on its own line. Never convert the quote into agent time, never compare it with the range or give a ratio or difference between them, and never say what the quote counts or call the difference the human part: nothing has checked the quote, and that would derive the human part from the agent time.
63
+ The output then has a `Quoted:` line under the total, marking the quote as calendar time, as quoted and unverified. Relay that line as printed, beside the measured range, and leave the two side by side: the measured range is the plan total on the session clock, and the human part stays on its own line. Never convert the quote, never compare it with the range or give a ratio or difference between them, and never say what the quote counts or call the difference the human part: nothing has checked the quote, and that would derive the human part from the plan total.
64
64
 
65
65
  If the user wants to see later which number held, offer the same command with `--record` added. Once the work is done, `agentpace score <id> --session <ref>` compares both with what the agents actually took.
66
66
 
67
67
  ## Report the result
68
68
 
69
69
  - Start the answer with one fenced code block, tagged `text`, holding the CLI's own lines copied character for character: the `Plan total on the session clock:` line, the `Quoted:` line as printed when there is one, the `Idle cap:` line as printed when there is one, the session-clock line and the human part line, the `Review capacity:` line as printed when there is one, and the whole `Warnings:` block, heading included, when the output has one. Nothing inside the block is reworded, shortened, merged, rounded or re-ordered; whatever you want to say about a line goes below the block. Recommend P80 for planning.
70
- - Pass on the session-clock line and the human part line as the CLI prints them. The first says that gaps between runs count toward the total up to the idle cap, so short waits on the user sit inside it. So below the block, name the numbers as the CLI does, "the plan total on the session clock" or "the P80 on the session clock", with the CLI's value and unit, and never as hours of agent time, active time, working time or effort. When you say what the total or its P80 covers, say what the session-clock line says: agent runs and the gaps between them, each gap up to the idle cap. Never say it is, or covers, agent time or agent work only, not even to set it against the human part. For what it leaves out, say what the human part line says; that line's own words, "the agent time", stay inside the block. Unmeasured, the human part line says no allowance for review, testing, decisions and waiting between agent turns is added. Measured by `agentpace turns`, it quotes the user's own wait per human turn, from their local history. Either way, do not derive a number for it from the total, and do not multiply the per-turn wait by a guessed number of turns. If the user gives their own figure, repeat it and label it as theirs.
70
+ - Pass on the session-clock line and the human part line as the CLI prints them. The first says that gaps between runs count toward the total up to the idle cap, so short waits on the user sit inside it. So below the block, name the numbers as the CLI does, "the plan total on the session clock" or "the P80 on the session clock", with the CLI's value and unit, and never as hours of agent time, active time, working time or effort. When you say what the total or its P80 covers, say what the session-clock line says: agent runs and the gaps between them, each gap up to the idle cap. Never say it is, or covers, agent time or agent work only, not even to set it against the human part. Never say the human part is "not included", "left out" or "excluded", and never tell the user to add it to the total or to count it on top: no allowance for it is added, and waits shorter than the idle cap already sit inside the session clock, so adding it would count those waits twice. If you show the per-task rows, call them agent run time, not the session clock. Unmeasured, the human part line says no allowance for review, testing, decisions and waiting between agent turns is added. Measured by `agentpace turns`, it quotes the user's own wait per human turn, from their local history. Either way, do not derive a number for it from the total, and do not multiply the per-turn wait by a guessed number of turns. If the user gives their own figure, repeat it and label it as theirs.
71
71
  - If the user states their review capacity, such as "4 PRs a day", pass it verbatim with `--review-capacity "<figure>"`, relay the `Review capacity:` line as printed, and never turn it into a timeline. Pass the figure itself, not the sentence around it, in at most 80 characters; if it does not fit, leave the flag off and repeat the user's figure as theirs beside the result.
72
72
  - When the block has an `Idle cap:` line, it says which idle cap the rows behind the range were clipped at, and whether they share one clock. Pass it on as printed; do not explain it away, and do not rename, delete or edit anything in `~/.agentpace` because of it unless the user asks. If the CLI refuses instead of answering, with one line starting `agentpace:`, relay that line as printed and stop: no range, and no retry with other flags.
73
73
  - Name the critical path and the effective parallelism.
@@ -47,7 +47,7 @@ To estimate:
47
47
  4. For a plan, work out the P50 total as the larger of two numbers: the P50 values added up along the longest chain of tasks that depend on each other, and the P50 values of all tasks added up and divided by the number of agents running at once.
48
48
  5. Multiply that P50 total by <!-- claim:plan_width80 -->2.0x<!-- /claim --> for the P80 and by <!-- claim:plan_width -->2.7x<!-- /claim --> for the P90. Those are the typical ratios between the CLI's plan ranges in its published whole-session test. Say this is a rule of thumb, and that the agentpace CLI gives the real range.
49
49
  6. Say which chain is the critical path.
50
- 7. State the human part on its own line: "Human part (review, testing, decisions, waiting between agent turns): not measured. No allowance for it is added to the total above." Do not derive it from the agent time, and do not invent a number for it. If the user gives their own figure, repeat it and label it as theirs.
50
+ 7. State the human part on its own line: "Human part (review, testing, decisions, waiting between agent turns): not measured. No allowance for it is added to the total above." Do not derive it from that total, and do not invent a number for it. If the user gives their own figure, repeat it and label it as theirs.
51
51
  8. If someone already quoted a timeline in days, weeks or months, show it beside your range, label it unverified, and do not divide it by any constant. Never say what the difference between the quote and your range is, and never call it the human part.
52
52
 
53
53
  If the user asks for one number, give the P80 and call it the P80.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: pace-estimate
3
- description: Estimates a plan of coding-agent tasks as P50/P80/P90 agent-time ranges with a critical path and the human part stated separately, using the agentpace CLI. Use when the user runs /pace-estimate or asks for a timed estimate of a specific task list or plan file. Natural-language "how long will this take" questions are the agentpace skill's job.
3
+ description: Estimates a plan of coding-agent tasks as P50/P80/P90 ranges for the plan total on the session clock, with a critical path and the human part stated separately, using the agentpace CLI. Use when the user runs /pace-estimate or asks for a timed estimate of a specific task list or plan file. Natural-language "how long will this take" questions are the agentpace skill's job.
4
4
  license: MIT
5
5
  compatibility: Requires Python 3.10+ and the agentpace CLI.
6
6
  ---
@@ -29,4 +29,4 @@ The plan to estimate: $ARGUMENTS
29
29
 
30
30
  Kinds: `feature`, `bugfix`, `refactor`, `migration`, `tests`, `docs`, `review`, `other`; `feature` is implementation work of any kind, and research is `other` with `risk: low`. Leave `risk` out otherwise: in the rows it is the agent's role, not how hard the work is, so `high` buys nothing. Set `model` whenever you know it; it is the strongest split in the data.
31
31
  3. Run `agentpace estimate <file>`. If the conversation already holds a timeline in days, weeks or months, add `--quoted "<quote>"` in the words it was given. Only if the user stated their own review capacity, such as "4 PRs a day", add `--review-capacity "<figure>"` with their words verbatim: the figure itself, in at most 80 characters; otherwise leave the flag off and repeat their figure as theirs.
32
- 4. Start the answer with one fenced code block, tagged `text`, holding the CLI's own lines copied character for character: the `Plan total on the session clock:` line, the `Quoted:` line as printed when there is one, the `Idle cap:` line as printed when there is one, the session-clock line and the human part line, the `Review capacity:` line as printed when there is one, and the whole `Warnings:` block, heading included, when the output has one. Nothing inside the block is reworded, shortened, merged, rounded or re-ordered; whatever you want to say about a line goes below the block. Below it, name the numbers as the CLI does, "the plan total on the session clock" or "the P80 on the session clock", never as hours of agent time, active time or effort: the session clock also counts waits between runs up to the idle cap. Never say the total or its P80 is, or covers, agent time or agent work only, not even to set it against the human part; the human part line's own words, "the agent time", stay inside the block. If the CLI refuses instead of answering, with one line starting `agentpace:`, relay that line as printed and stop. Then name the critical path and the effective parallelism. Do not derive a number for the human part from the total, and never turn the review capacity into a timeline. Never convert the quote, compare it with the range, say what the difference between them is, or say what the quote counts: it is calendar time, as quoted, and nothing has checked it. Never reduce the result to one number.
32
+ 4. Start the answer with one fenced code block, tagged `text`, holding the CLI's own lines copied character for character: the `Plan total on the session clock:` line, the `Quoted:` line as printed when there is one, the `Idle cap:` line as printed when there is one, the session-clock line and the human part line, the `Review capacity:` line as printed when there is one, and the whole `Warnings:` block, heading included, when the output has one. Nothing inside the block is reworded, shortened, merged, rounded or re-ordered; whatever you want to say about a line goes below the block. Below it, name the numbers as the CLI does, "the plan total on the session clock" or "the P80 on the session clock", never as hours of agent time, active time or effort: the session clock also counts waits between runs up to the idle cap. Never say the total or its P80 is, or covers, agent time or agent work only, not even to set it against the human part. Never say the human part is "not included", "left out" or "excluded", and never tell the user to add it to the total or to count it on top: no allowance for it is added, and waits shorter than the idle cap already sit inside the session clock, so adding it would count those waits twice. If you show the per-task rows, call them agent run time, not the session clock. If the CLI refuses instead of answering, with one line starting `agentpace:`, relay that line as printed and stop. Then name the critical path and the effective parallelism. Do not derive a number for the human part from the total, and never turn the review capacity into a timeline. Never convert the quote, compare it with the range, say what the difference between them is, or say what the quote counts: it is calendar time, as quoted, and nothing has checked it. Never reduce the result to one number.
@@ -1,3 +1,3 @@
1
1
  """agentpace: real run times for coding agents, as P50/P80/P90 ranges."""
2
2
 
3
- __version__ = "0.13.3"
3
+ __version__ = "0.14.0"
@@ -104,7 +104,9 @@ def session_weeks(rows: Sequence[Row]) -> dict[str, str]:
104
104
 
105
105
 
106
106
  def time_folds(rows: Sequence[Row]) -> list[Fold]:
107
- """Rolling origin: train on all earlier weeks, test on one week."""
107
+ """Rolling origin: train on sessions that began in earlier weeks, test on those that began in
108
+ one week. A session brings every run it made, so a fold can train on runs dated after its test
109
+ week."""
108
110
  weeks = session_weeks(rows)
109
111
  folds = []
110
112
  for week in sorted(set(weeks.values())):
@@ -22,7 +22,7 @@ def count(n: int, noun: str, plural: str | None = None) -> str:
22
22
 
23
23
  def human_text(human: HumanPart) -> str:
24
24
  """The human block. It names the quantity and its status, and never offers a number derived
25
- from agent time. A measured form quotes only the user's own waits, per human turn. No
25
+ from the plan total. A measured form quotes only the user's own waits, per human turn. No
26
26
  allowance for the human part is added to the total, but waits up to the idle cap already sit
27
27
  inside the session clock, so the measured form says not to add them."""
28
28
  p50, p80, p90 = human.per_turn_p50, human.per_turn_p80, human.per_turn_p90
@@ -34,11 +34,11 @@ def human_text(human: HumanPart) -> str:
34
34
  "elapsed time, not effort. "
35
35
  "No allowance for it is added to the total above, and up to the idle cap such waits "
36
36
  "already sit inside the session clock, so do not add them to it. "
37
- "Do not derive it from the agent time."
37
+ "Do not derive the human part from the plan total."
38
38
  )
39
39
  return (
40
40
  f"{HUMAN_PART}: {human.status}. No allowance for it is added to the total above. "
41
- "State it separately; do not derive it from the agent time."
41
+ "State the human part separately; do not derive it from the plan total."
42
42
  )
43
43
 
44
44
 
@@ -66,7 +66,7 @@ def duration(seconds: float) -> str:
66
66
 
67
67
  def quote_text(quoted: str) -> str:
68
68
  """A timeline someone already gave, verbatim. It is calendar time from an unknown source, so
69
- it is never converted into agent time, compared with the range or turned into a ratio."""
69
+ it is never converted, compared with the range or turned into a ratio."""
70
70
  return f'Quoted: "{quoted}" (calendar time, as quoted; unverified, not converted)'
71
71
 
72
72
 
@@ -247,8 +247,10 @@ def _plan_section(plans: dict[str, Any]) -> list[str]:
247
247
  "## Whole sessions (oracle-structure)",
248
248
  "",
249
249
  f"Each of {plans['sessions']} held-out sessions with at least 5 completed runs is treated "
250
- "as a plan. This is the forward test of plan totals; the next section holds out projects "
251
- "instead of weeks. Real dependencies are not "
250
+ "as a plan. These sessions come from the weeks that chose the method; the forward test "
251
+ "is the locked holdout below, which scores whole sessions from later weeks once it has "
252
+ "enough of them. The next section holds out projects instead of weeks. Real dependencies "
253
+ "are not "
252
254
  "recorded, so the critical path falls back to the longest run, and the observed peak "
253
255
  "concurrency stands in for the agent cap, even though that peak is itself an outcome. "
254
256
  "It tests the throughput and session terms, not dependency planning.",
@@ -477,8 +479,9 @@ def markdown(report: dict[str, Any]) -> str:
477
479
  "Time split, pre-run",
478
480
  splits["time"],
479
481
  "pre-run",
480
- f"Train on earlier weeks, test on {', '.join(splits['time']['folds'])}. This is the "
481
- "honest forecast and the headline.",
482
+ "Train on sessions that began in earlier weeks, test on sessions that began in "
483
+ f"{', '.join(splits['time']['folds'])}. A session counts in the week it began, with every "
484
+ "run it made later. This is the honest forecast and the headline.",
482
485
  )
483
486
  time = stored["splits"]["time"]
484
487
  lines += _interval_lines(time["tracks"]["pre-run"], winner, time["intervals"])
@@ -847,10 +847,16 @@ class ProjectPlans(unittest.TestCase):
847
847
  self.assertLess(text.index("## Whole sessions (oracle-structure)"), text.index(title))
848
848
  self.assertLess(text.index(title), text.index("## Locked holdout"))
849
849
  self.assertIn(
850
- "This is the forward test of plan totals; the next section holds out projects "
851
- "instead of weeks.",
850
+ "These sessions come from the weeks that chose the method; the forward test is the "
851
+ "locked holdout below, which scores whole sessions from later weeks once it has enough "
852
+ "of them. The next section holds out projects instead of weeks.",
852
853
  text,
853
854
  )
855
+ self.assertNotIn("This is the forward test of plan totals", text)
856
+ self.assertIn(
857
+ "Train on sessions that began in earlier weeks, test on sessions that began in ", text
858
+ )
859
+ self.assertIn("A session counts in the week it began, with every run it made later.", text)
854
860
  self.assertNotIn("This is the only direct test of plan totals.", text)
855
861
  section = text[text.index(title) : text.index("## Locked holdout")]
856
862
  self.assertIn(
@@ -215,7 +215,7 @@ class QuoteExample(unittest.TestCase):
215
215
  def test_the_prose_never_compares_the_two(self):
216
216
  prose = claims._MARKER.sub("", self.section)
217
217
  self.assertNotRegex(prose, r"(?i)faster|slower|ratio|\d\s*x\b|times (as|faster)")
218
- for phrase in ("calendar time, as quoted", "measured agent time", "human part"):
218
+ for phrase in ("calendar time, as quoted", "measured agent runs", "human part"):
219
219
  self.assertIn(phrase, prose)
220
220
 
221
221
  def test_the_quote_plan_has_about_six_tasks_and_is_not_bundled(self):
@@ -96,7 +96,7 @@ class EstimateCommand(unittest.TestCase):
96
96
  line = next(line for line in out.splitlines() if line.startswith("Human part"))
97
97
  self.assertIn("review, testing, decisions, waiting between agent turns", line)
98
98
  self.assertIn("not measured. No allowance for it is added to the total above.", line)
99
- self.assertIn("do not derive it from the agent time", line)
99
+ self.assertIn("do not derive it from the plan total", line)
100
100
  self.assertNotRegex(line, r"\d")
101
101
 
102
102
  def test_plan_can_come_from_stdin(self):
@@ -311,8 +311,8 @@ class ClockWording(unittest.TestCase):
311
311
  self.assertEqual(
312
312
  render.human_text(HumanPart()),
313
313
  "Human part (review, testing, decisions, waiting between agent turns): not measured. "
314
- "No allowance for it is added to the total above. State it separately; do not derive "
315
- "it from the agent time.",
314
+ "No allowance for it is added to the total above. State the human part separately; do "
315
+ "not derive it from the plan total.",
316
316
  )
317
317
 
318
318
  def test_the_measured_human_line_says_short_waits_sit_inside_the_clock(self):
@@ -322,7 +322,7 @@ class ClockWording(unittest.TestCase):
322
322
  "your history, local. Waiting on you per human turn: P50 60 s, P80 2 min, P90 3 min "
323
323
  "(4 gaps, 2 sessions); elapsed time, not effort. No allowance for it is added to the "
324
324
  "total above, and up to the idle cap such waits already sit inside the session clock, "
325
- "so do not add them to it. Do not derive it from the agent time.",
325
+ "so do not add them to it. Do not derive the human part from the plan total.",
326
326
  )
327
327
 
328
328
  def test_the_ledger_summary_names_session_spans(self):
@@ -17,10 +17,11 @@ BANNED_PHRASES = (
17
17
  "agent active time",
18
18
  "agent time, on the session clock",
19
19
  )
20
- # SHA-256 of lines 1-6 of each SKILL.md at v0.9.1 (6e3e433). Wording changes never touch them.
20
+ # SHA-256 of lines 1-6 of each SKILL.md at v0.9.1 (6e3e433); pace-estimate was re-pinned at 0.14.0,
21
+ # when its description came to name the plan total on the session clock.
21
22
  FRONTMATTER_SHA256 = {
22
23
  "agentpace": "3f02102b892709e3efe2c3fff82a667c7260aad4f90a9303935f347b498a4a78",
23
- "pace-estimate": "2a4b537c5bc641c361d5e5a28adfb9b012271f55648f75ae9ee209c6aa9659c1",
24
+ "pace-estimate": "a2b9fb58002cb77bb4acfa0662f5557090611176f3c3dca560e91e74273d135c",
24
25
  "pace-log": "54ce957cb94429ad5e5231de7518cc78d4c6366d918781930ee56fa865292c36",
25
26
  "pace-share": "88e3a79cf3c323e431ddcc46d4aa848332b6e72cc2e9660d7eafb15e8ac4abc4",
26
27
  }
@@ -336,7 +337,12 @@ class Skills(unittest.TestCase):
336
337
  "not even to set it against the human part",
337
338
  text,
338
339
  )
339
- self.assertIn('own words, "the agent time", stay inside the block', text)
340
+ self.assertIn(
341
+ 'Never say the human part is "not included", "left out" or "excluded"', text
342
+ )
343
+ self.assertNotIn("the agent time", text)
344
+ self.assertIn("or to count it on top", text)
345
+ self.assertIn("call them agent run time, not the session clock", text)
340
346
  text = (SKILLS / "agentpace" / "SKILL.md").read_text(encoding="utf-8")
341
347
  report = text.split("## Report the result", 1)[1].split("\n## ", 1)[0]
342
348
  self.assertIn("agent runs and the gaps between them, each gap up to the idle cap", report)
@@ -350,6 +356,13 @@ class Skills(unittest.TestCase):
350
356
  "or say it covers, agent time, agent work, active time, working time or effort",
351
357
  smoke,
352
358
  )
359
+ self.assertIn("or to count it on top, fails", smoke)
360
+ self.assertIn("gate prompts 1, 3, 5, 6 and 7", smoke)
361
+
362
+ def test_the_portable_prompt_names_that_total_not_agent_time(self):
363
+ text = (SKILLS / "agentpace" / "assets" / "portable-prompt.md").read_text(encoding="utf-8")
364
+ self.assertIn("Do not derive it from that total", text)
365
+ self.assertNotIn("agent time", text)
353
366
 
354
367
 
355
368
  class Marketplace(unittest.TestCase):
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