agentpace 0.14.1__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.
- agentpace-0.14.2/.github/ISSUE_TEMPLATE/pilot-report.yml +91 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/CHANGELOG.md +10 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/CITATION.cff +1 -1
- {agentpace-0.14.1 → agentpace-0.14.2}/CONTRIBUTING.md +4 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/PKG-INFO +3 -1
- {agentpace-0.14.1 → agentpace-0.14.2}/README.md +2 -0
- agentpace-0.14.2/docs/pilot.md +86 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/__init__.py +1 -1
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_docs.py +52 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/.claude-plugin/marketplace.json +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/.gitattributes +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/.github/ISSUE_TEMPLATE/ingest-found-nothing.yml +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/.github/ISSUE_TEMPLATE/remove-my-rows.yml +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/.github/dependabot.yml +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/.github/pull_request_template.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/.github/workflows/ci.yml +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/.github/workflows/publish.yml +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/.github/workflows/validate-data.yml +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/.gitignore +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/CODE_OF_CONDUCT.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/LICENSE +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/SECURITY.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/data/LICENSE +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/data/README.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/data/runs/4546788e7930eccd-2026-W40-2026-W45.jsonl +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/data/runs/4546788e7930eccd-2026-W44-2026-W45.jsonl +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/data/runs/4546788e7930eccd-2026-W45-2026-W49.jsonl +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/.nojekyll +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/DESIGN.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/assets/backtest-coverage.svg +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/assets/hero.webp +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/assets/run-ranges.svg +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/assets/social-preview.png +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/backtest.json +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/backtest.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/cli.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/index.html +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/releasing.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/robots.txt +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/sitemap.xml +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/skill-smoke.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/docs/verify-adapter.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/examples/plan.json +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/examples/quote-plan.json +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/experiments/__init__.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/experiments/model_offset/PROTOCOL.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/experiments/model_offset/__init__.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/experiments/model_offset/__main__.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/experiments/model_offset/offset.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/experiments/model_offset/report.json +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/experiments/model_offset/report.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/pyproject.toml +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/schema/run.schema.json +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/schema/turn.schema.json +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/skills/agentpace/SKILL.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/skills/agentpace/assets/portable-prompt.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/skills/agentpace/references/method.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/skills/pace-estimate/SKILL.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/skills/pace-log/SKILL.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/skills/pace-share/SKILL.md +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/__main__.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/adapters/__init__.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/adapters/base.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/adapters/claude_code.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/adapters/cline.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/adapters/codex.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/adapters/gemini_cli.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/adapters/opencode.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/backtest.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/cache.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/charts.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/claims.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/classify.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/cli.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/clock.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/estimate.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/forecasts.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/ingest.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/paths.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/pseudonym.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/py.typed +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/render.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/report.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/schema.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/share.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/site.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/turns.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/src/agentpace/validate.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/__init__.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/fixtures/__init__.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/fixtures/cline_tasks.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/fixtures/gemini_cli.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/fixtures/opencode.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/synthetic.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_backtest.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_claims.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_classify.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_cli.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_cline.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_clock.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_codex.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_counts.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_estimate.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_forecasts.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_frozen_method.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_gemini_cli.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_ingest.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_labels.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_model_offset.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_opencode.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_outcomes.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_plan_risk.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_review_capacity.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_schema.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_share_validate.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_site.py +0 -0
- {agentpace-0.14.1 → agentpace-0.14.2}/tests/test_skills.py +0 -0
- {agentpace-0.14.1 → 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,16 @@ 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
|
+
|
|
7
17
|
## 0.14.1 - 2026-12-06
|
|
8
18
|
|
|
9
19
|
### Added
|
|
@@ -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.
|
|
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 |
|
|
@@ -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 |
|
|
@@ -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.
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|