agentpace 0.13.0__tar.gz → 0.13.1__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.13.0 → agentpace-0.13.1}/CHANGELOG.md +15 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/CITATION.cff +1 -1
- {agentpace-0.13.0 → agentpace-0.13.1}/PKG-INFO +1 -1
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/DESIGN.md +2 -2
- agentpace-0.13.1/docs/skill-smoke.md +62 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/skills/agentpace/SKILL.md +7 -6
- {agentpace-0.13.0 → agentpace-0.13.1}/skills/pace-estimate/SKILL.md +2 -2
- {agentpace-0.13.0 → agentpace-0.13.1}/skills/pace-log/SKILL.md +1 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/skills/pace-share/SKILL.md +5 -4
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/__init__.py +1 -1
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_skills.py +99 -1
- agentpace-0.13.0/docs/skill-smoke.md +0 -34
- {agentpace-0.13.0 → agentpace-0.13.1}/.claude-plugin/marketplace.json +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/.gitattributes +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/.github/ISSUE_TEMPLATE/ingest-found-nothing.yml +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/.github/ISSUE_TEMPLATE/remove-my-rows.yml +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/.github/dependabot.yml +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/.github/pull_request_template.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/.github/workflows/ci.yml +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/.github/workflows/publish.yml +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/.github/workflows/validate-data.yml +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/.gitignore +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/CODE_OF_CONDUCT.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/CONTRIBUTING.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/LICENSE +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/README.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/SECURITY.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/data/LICENSE +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/data/README.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/data/runs/4546788e7930eccd-2026-W40-2026-W45.jsonl +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/data/runs/4546788e7930eccd-2026-W44-2026-W45.jsonl +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/.nojekyll +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/assets/backtest-coverage.svg +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/assets/hero.webp +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/assets/run-ranges.svg +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/assets/social-preview.png +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/backtest.json +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/backtest.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/cli.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/index.html +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/releasing.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/robots.txt +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/sitemap.xml +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/docs/verify-adapter.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/examples/plan.json +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/examples/quote-plan.json +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/experiments/__init__.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/experiments/model_offset/PROTOCOL.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/experiments/model_offset/__init__.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/experiments/model_offset/__main__.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/experiments/model_offset/offset.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/experiments/model_offset/report.json +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/experiments/model_offset/report.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/pyproject.toml +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/schema/run.schema.json +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/schema/turn.schema.json +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/skills/agentpace/assets/portable-prompt.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/skills/agentpace/references/method.md +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/__main__.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/adapters/__init__.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/adapters/base.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/adapters/claude_code.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/adapters/cline.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/adapters/codex.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/adapters/gemini_cli.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/adapters/opencode.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/backtest.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/cache.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/charts.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/claims.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/classify.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/cli.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/clock.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/estimate.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/forecasts.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/ingest.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/paths.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/pseudonym.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/py.typed +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/render.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/report.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/schema.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/share.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/site.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/turns.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/src/agentpace/validate.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/__init__.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/fixtures/__init__.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/fixtures/cline_tasks.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/fixtures/gemini_cli.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/fixtures/opencode.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/synthetic.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_backtest.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_claims.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_classify.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_cli.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_cline.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_clock.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_codex.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_counts.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_docs.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_estimate.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_forecasts.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_frozen_method.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_gemini_cli.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_ingest.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_labels.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_model_offset.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_opencode.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_outcomes.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_plan_risk.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_review_capacity.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_schema.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_share_validate.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_site.py +0 -0
- {agentpace-0.13.0 → agentpace-0.13.1}/tests/test_turns.py +0 -0
|
@@ -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.13.1 - 2026-11-10
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- The estimating skills (`agentpace`, `/pace-estimate`) name the range, below the CLI's lines, as the plan total or the P80 on the session clock, never as hours of agent time, active time or effort, and never say it covers agent time or agent work only: the session clock also counts the gaps between runs up to the idle cap.
|
|
12
|
+
- They write the plan to a new file and run the estimator on that file, and use an existing plan file only when the user names it or the conversation has made it the plan. A `plan.json` that happens to be in the folder is neither estimated as the answer nor overwritten, and `/pace-estimate` with no input asks which plan to estimate. The example commands read `agentpace estimate <file>`.
|
|
13
|
+
- They relay the `Idle cap:` line as printed when the CLI prints one, and relay a refusal, one line starting `agentpace:`, as printed and stop.
|
|
14
|
+
- `/pace-log` leaves `--idle-cap` alone unless asked, and `/pace-share` stops at any refusal. Neither renames, deletes or edits anything in `~/.agentpace` unless asked.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `docs/skill-smoke.md` names eight prompts, up from four, and its record gains rows for the review capacity, the absent CLI, plan selection, the cap line and a refused share, run on 2026-11-10 with Claude Code 2.1.321 and the 0.13.0 CLI. The first run of prompt 1 failed: below the block the answer said the P80 "covers agent time only". The wording was amended once at the review, the rule for what is said below the block now applies to every prompt that runs the CLI, and the seven prompts that load a changed skill were run again. Six passed. The seventh, the absent CLI where nothing can be installed, answered from the portable prompt and called its result "a rough estimate, not a measured one" without the words "rule of thumb". It was recorded as a fail and read as a pass at the review, because the answer says the result is rough and is not the CLI's range; the document now states that reading, and the first reading stays in the row. The failed row of prompt 1 stays in the record.
|
|
19
|
+
|
|
20
|
+
No published number moved.
|
|
21
|
+
|
|
7
22
|
## 0.13.0 - 2026-11-10
|
|
8
23
|
|
|
9
24
|
### Fixed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: agentpace
|
|
3
|
-
Version: 0.13.
|
|
3
|
+
Version: 0.13.1
|
|
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
|
|
@@ -537,8 +537,8 @@ Fable 5.1 ruled on 2026-11-09, with an independent opinion from Codex (gpt-6-ast
|
|
|
537
537
|
- **Stores from before 0.13.0.** A store with rows and no record counts as 900 s when every row in it is a published row, and as not recorded otherwise. A not-recorded store still takes default-cap ingests, because the hook is silent and a refusal would lose runs, and still feeds estimates, labelled; `share` refuses it until it is rebuilt by renaming it and ingesting again.
|
|
538
538
|
- **Declined:** a digest of the rows in the record, which would turn a label or an older CLI's default-cap ingest into an invalid store; refusing estimates that pool two clocks; a clock field in the forecast ledger; an automatic rebuild; a detector of mixed stores, which flags a clean one.
|
|
539
539
|
- **Whole sessions with projects held out (0.12.11).** The plan-level test also runs leave-one-project-out, over every Claude Code session with 5 or more completed runs, trained on every run outside the project, later weeks included. It is retrospective, draws one named interval stream, never chooses the method, and its baseline wins join "Where agentpace loses". On the 0.12.10 seed coverage held and the pinball gap to a sum of medians was no longer wholly above zero; the README says so in claims. `backtest --check` now covers `backtest.md` too.
|
|
540
|
-
- **Skills.** They name the range the plan total on the session clock, never hours of agent time; use a plan file only when the user names it; relay the cap line and any refusal as printed; and leave the store alone when the CLI refuses. Eight smoke prompts are recorded in `docs/skill-smoke.md`.
|
|
541
|
-
- **Deferred or left:** `experiments` as a first-party import root until the experiment closes; the user-scope double load; the portable prompt.
|
|
540
|
+
- **Skills (0.13.1).** They name the range the plan total on the session clock, never hours of agent time, and never say it covers agent time or agent work only; use a plan file only when the user names it; relay the cap line and any refusal as printed; and leave the store alone when the CLI refuses. Eight smoke prompts are recorded in `docs/skill-smoke.md`. The first run of prompt 1 failed on a sentence that named the P80 correctly and then said it "covers agent time only", so one amendment at the review extended the rule from the name of a number to what it is said to cover, and the smoke check applies it to every prompt that runs the CLI. On the rerun the absent-CLI answer called its result a rough estimate and not the tool's range, without the words "rule of thumb"; the review read the label by what it says, and the smoke document states that reading.
|
|
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
544
|
## 12. Sources
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Skill smoke check
|
|
2
|
+
|
|
3
|
+
A manual check that an assistant following the skills passes on the CLI's lines as printed. Run it after a change to a skill, in a real session with the skills installed, and add one row per prompt to the record below. It is not a claim and holds no data number.
|
|
4
|
+
|
|
5
|
+
## How to compare
|
|
6
|
+
|
|
7
|
+
1. Give the assistant the prompt in a fresh session.
|
|
8
|
+
2. Ask it to show the plan file it wrote and the exact command it ran.
|
|
9
|
+
3. Run that command yourself, on the same plan, with the same flags and the same `AGENTPACE_HOME`. The seed is fixed, so the same plan and data print the same lines.
|
|
10
|
+
4. Put the CLI's output and the assistant's answer side by side. Each line listed below must appear in the answer character for character, numbers, units and quote marks included. A paraphrase, a rounded number or two lines merged into one fails.
|
|
11
|
+
|
|
12
|
+
Every prompt that runs the CLI must relay these lines, inside the fenced code block the skill asks for:
|
|
13
|
+
|
|
14
|
+
- the `Plan total on the session clock:` line;
|
|
15
|
+
- the `Idle cap:` line when the CLI printed one;
|
|
16
|
+
- the session-clock line (`The session clock counts agent runs and the gaps between them, ...`);
|
|
17
|
+
- the `Human part (...)` line;
|
|
18
|
+
- every line under `Warnings:`.
|
|
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.
|
|
21
|
+
|
|
22
|
+
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
|
+
|
|
24
|
+
## The prompts
|
|
25
|
+
|
|
26
|
+
Eight of them. Prompt 2 of the earlier four-prompt list, the "3 months" quote, is run as prompt 7; the numbers of the others are kept, so the record's older rows still name the right prompt.
|
|
27
|
+
|
|
28
|
+
- **1. A feature marked `high`.** Empty home. "How long will the billing API take? It is high risk, and it needs a review after." The plan should leave `risk` out of the feature. If it writes `"risk": "high"` anyway, the `risk as written was not used for <id> (high -> normal)` warning must be relayed as printed, and the answer must not say the risk changed the range. Passes when the block passes and, below it, the total is named on the session clock and no number is called agent time, active time or effort.
|
|
29
|
+
- **3. "4 PRs a day" review capacity.** "How long will the billing feature take? I can review 4 PRs a day." The command carries `--review-capacity "4 PRs a day"`. Passes when the `Review capacity: "4 PRs a day"` line is relayed as printed and the answer does not turn it into a timeline.
|
|
30
|
+
- **4. CLI absent.** Take `agentpace` off `PATH` and ask "How long will the billing feature take?" Passes when the answer shows `uv tool install agentpace` and stops, and nothing is installed.
|
|
31
|
+
- **4b. CLI absent, nothing can be installed.** Take `agentpace` off `PATH` and ask "How long will the billing feature take? I cannot install anything on this machine." Passes when the answer comes from the portable prompt and is labelled a rule of thumb: in those words or in others, it says that the result is rough and that it is not the CLI's range. There are no CLI lines to compare.
|
|
32
|
+
- **5. A plan file about other work.** Put a `plan.json` in the folder that describes other work, one `docs` task named `changelog`: `{"tasks": [{"id": "changelog", "kind": "docs"}]}`. Ask "How long will the billing feature take?" Give the prompt alone: asking in it for the plan file the assistant wrote would suggest writing one, so read the file and the command from the session's tool calls. Passes when that file's estimate is not presented as the billing feature's, the answer either asks which plan to use or writes its own plan to a new file and says what it assumed, any command it ran names the file it wrote and not `plan.json`, and `plan.json` is unchanged byte for byte.
|
|
33
|
+
- **6. A named plan file.** Copy `examples/plan.json` into the folder as `plan.json` and run `/pace-estimate plan.json`. Passes when it runs on that file with no question and the block passes.
|
|
34
|
+
- **7. A "3 months" quote, in a home filled at another idle cap.** Fill the scratch home with `agentpace ingest <history> --idle-cap 600`, then ask "The team quoted 3 months for the billing feature. How long would it take with agents?" The command carries `--quoted "3 months"`. Passes when the block holds, in order, the total, the `Quoted: "3 months"` line, `Idle cap: 900 s (bundled seed), 600 s (your local store). This range pools rows on different clocks.`, the session-clock line and the human part line; the answer does not convert the quote, compare it with the range, give a ratio or difference, or call the difference the human part; and nothing in the home changes.
|
|
35
|
+
- **8. A refused share.** A scratch home whose `runs.jsonl` holds rows that are not published rows, for example from `tests/synthetic.py`, and no `runs.jsonl.clock.json` beside it. Do not copy seed rows into it: a store of published rows counts as 900 s, and `share` would not refuse. Run `/pace-share`. Passes when the answer relays the line `share` printed, `agentpace: runs.jsonl has no recorded idle cap, ...`, as printed, and stops: no `--write`, no renamed or deleted file, no retry.
|
|
36
|
+
|
|
37
|
+
## Record
|
|
38
|
+
|
|
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.
|
|
40
|
+
|
|
41
|
+
| Date | Host and model | Prompt | Skills commit | CLI version | Home setup | Lines relayed verbatim | Pass or fail |
|
|
42
|
+
|---|---|---|---|---|---|---|---|
|
|
43
|
+
| 2026-11-09 | Claude Code 2.1.319, claude-opus-5-5 | 1. A feature marked `high` | `47245ae` | not recorded | not recorded | Session-clock line only | **Fail.** Before the fenced-block rule. The plan total was reworded, the human part line was cut short, and the warnings were paraphrased under a heading that said they were as printed. `risk` was left out of the plan, so no `risk as written` warning; no claim that risk changed the range. |
|
|
44
|
+
| 2026-11-09 | Claude Code 2.1.319, claude-opus-5-5 | 2. A "3 months" quote | `47245ae` | not recorded | not recorded | `Quoted:`, session-clock line, `Human part` | **Fail.** The plan total was reworded and the warnings paraphrased under a heading that said they were as printed. No conversion, comparison, ratio or difference drawn from the quote. |
|
|
45
|
+
| 2026-11-09 | Claude Code 2.1.319, claude-opus-5-5 | 1. A feature marked `high` | `331bc7d` | not recorded | not recorded | None | **Not run.** The session called `agentpace` through PowerShell, which the run's tool list did not allow, so no estimate ran. A harness problem, not a skill result; rerun below with PowerShell allowed. |
|
|
46
|
+
| 2026-11-09 | Claude Code 2.1.319, claude-opus-5-5 | 2. A "3 months" quote | `331bc7d` | not recorded | not recorded | `Plan total`, `Quoted:`, session-clock line, `Human part`, every `Warnings:` line | **Pass.** All inside one `text` block; the maintainer re-ran the shown command on the shown plan with the same flags and home, and every line matched. No conversion, comparison, ratio or difference drawn from the quote. |
|
|
47
|
+
| 2026-11-09 | Claude Code 2.1.319, claude-opus-5-5 | 1. A feature marked `high` | `331bc7d` | not recorded | not recorded | `Plan total`, session-clock line, `Human part`, every `Warnings:` line; `risk` left out, no `risk as written` warning | **Pass.** All inside one `text` block; the maintainer re-ran the shown command on the shown plan with the same flags and home, and every line matched. The answer says marking the work high would not change the estimate. |
|
|
48
|
+
| 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 1. A feature marked `high` | `97333da` | 0.13.0 (`c7abce6`) | 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 (the maintainer re-ran the shown command; every line matched), and no claim that risk changed the range. Below the block the answer says of the P80 on the session clock: "That figure covers agent time only." |
|
|
49
|
+
| 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 3. "4 PRs a day" | `97333da` | 0.13.0 (`c7abce6`) | 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 answer did not turn it into a timeline. |
|
|
50
|
+
| 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 4. CLI absent | `97333da` | none on `PATH` | Empty scratch home | None (no CLI) | **Pass.** Showed `uv tool install agentpace` and stopped; nothing installed. |
|
|
51
|
+
| 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 4b. CLI absent, nothing can be installed | `97333da` | none on `PATH` | Empty scratch home | None (no CLI) | **Pass.** Answered from the portable prompt, labelled a rule of thumb. |
|
|
52
|
+
| 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 5. A plan file about other work | `97333da` | 0.13.0 (`c7abce6`) | Empty scratch home; `plan.json` holds one `changelog` docs task | `Plan total`, session-clock line, `Human part`, every `Warnings:` line | **Pass.** Wrote `billing-plan.json`, ran the CLI on it, said what it assumed; `plan.json` unchanged byte for byte. |
|
|
53
|
+
| 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 6. A named plan file | `97333da` | 0.13.0 (`c7abce6`) | 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. |
|
|
54
|
+
| 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 7. A "3 months" quote, home at another cap | `97333da` | 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.** No conversion, comparison, ratio or difference; every file in the home unchanged (sha256). Below the block the answer says of the P80: "That figure covers agent work only", which the rule added after this run would fail. |
|
|
55
|
+
| 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 8. A refused share | `97333da` | 0.13.0 (`c7abce6`) | `runs.jsonl` of synthetic rows, no clock record | `agentpace: runs.jsonl has no recorded idle cap, ...` | **Pass.** `/agentpace:pace-share` relayed the line as printed and stopped: no `--write`, no retry, the home unchanged. |
|
|
56
|
+
| 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 1. A feature marked `high` | `7d90df2` | 0.13.0 (`c7abce6`) | Empty scratch home | `Plan total`, session-clock line, `Human part`, every `Warnings:` line; `risk` left out, no `risk as written` warning | **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. That covers the agent runs and the gaps between them, with each gap counted up to the idle cap." It says marking the work high would not change the estimate. |
|
|
57
|
+
| 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 3. "4 PRs a day" | `7d90df2` | 0.13.0 (`c7abce6`) | Empty scratch home | `Plan total`, session-clock line, `Human part`, `Review capacity: "4 PRs a day" ...`, every `Warnings:` line | **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." The capacity was not turned into a timeline. |
|
|
58
|
+
| 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 4. CLI absent | `7d90df2` | none on `PATH` | Empty scratch home | None (no CLI) | **Pass.** Showed `uv tool install agentpace` and stopped; nothing installed. |
|
|
59
|
+
| 2026-11-10 | Claude Code 2.1.321, claude-opus-5-5 | 4b. CLI absent, nothing can be installed | `7d90df2` | none on `PATH` | Empty scratch home | None (no CLI) | **Pass, as read at the review.** First recorded as a fail, because the answer never says "rule of thumb". It came from the portable prompt, called itself "a rough estimate, not a measured one" and headed its result "rough, not the tool's real range": it says the result is rough and is not the CLI's range, which is what the label is for. |
|
|
60
|
+
| 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
|
+
| 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
|
+
| 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). |
|
|
@@ -28,7 +28,7 @@ uv tool install agentpace
|
|
|
28
28
|
1. Assume agents do the implementation unless the user says otherwise. If it is unclear and the answer would change, ask once.
|
|
29
29
|
2. Break the work into tasks an agent would run as separate runs.
|
|
30
30
|
3. Give each task an `id` and a `kind`, plus `depends_on` when it must wait for another task. Set `model` to the model that will run it when you know it, and `agent_cap` to the number of agents that will run at once. Leave `risk` out, except for research (below).
|
|
31
|
-
4. Write the plan to a file and run the estimator.
|
|
31
|
+
4. Write the plan to a new file and run the estimator on that file. Use an existing plan file instead only when the user names it or this conversation has already made it the plan for this work. A file that just happens to be in the folder, `plan.json` included, is not evidence that it describes the request: never estimate it as the answer and never overwrite it. If it might be the plan they mean, ask which to use before running anything. In the commands below, `<file>` is the file you wrote, or the one the user named.
|
|
32
32
|
|
|
33
33
|
```json
|
|
34
34
|
{
|
|
@@ -44,7 +44,7 @@ uv tool install agentpace
|
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
```text
|
|
47
|
-
agentpace estimate
|
|
47
|
+
agentpace estimate <file>
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
- Kinds: `feature`, `bugfix`, `refactor`, `migration`, `tests`, `docs`, `review`, `other`, as the data records them: `feature` is implementation work of any kind, `review` a read-only review, `other` anything else.
|
|
@@ -57,18 +57,19 @@ agentpace estimate plan.json
|
|
|
57
57
|
When the conversation already holds a timeline in days, weeks or months, from the user, a document or an earlier answer, estimate the plan anyway, and pass the quote verbatim, in the words it was given:
|
|
58
58
|
|
|
59
59
|
```text
|
|
60
|
-
agentpace estimate
|
|
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
|
|
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.
|
|
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
|
-
- 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 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. 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
|
|
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.
|
|
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
|
+
- 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.
|
|
72
73
|
- Name the critical path and the effective parallelism.
|
|
73
74
|
- Pass every warning on, as printed. One names a cell with no or few recorded runs and says what the range could not use (the kind, the risk level or the model) and where it leaned instead; one says a written risk or size was not used; one says parallelism was assumed.
|
|
74
75
|
- Do not state a single number, even when pressed. If someone needs one figure to plan around, give the P80 and call it the P80.
|
|
@@ -14,7 +14,7 @@ compatibility: Requires Python 3.10+ and the agentpace CLI.
|
|
|
14
14
|
The plan to estimate: $ARGUMENTS
|
|
15
15
|
|
|
16
16
|
1. Run `agentpace --version`. If it fails, show this command and stop, because installing is the user's call: `uv tool install agentpace`
|
|
17
|
-
2. If the
|
|
17
|
+
2. If the user named a JSON plan file, use it as given. If there is no input, ask which plan or task list to estimate: a plan file that happens to be in the folder, `plan.json` included, is not the answer. Otherwise break the work into tasks and write a plan to a new file, never over an existing one, with this shape:
|
|
18
18
|
|
|
19
19
|
```json
|
|
20
20
|
{
|
|
@@ -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 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. Then name the critical path and the effective parallelism. Do not derive a number for the human part from the
|
|
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.
|
|
@@ -16,6 +16,7 @@ Input, if any: $ARGUMENTS
|
|
|
16
16
|
1. Run `agentpace --version`. If it fails, show this command and stop, because installing is the user's call: `uv tool install agentpace`
|
|
17
17
|
2. Pick the source, and tell the user which one you are ingesting. `agentpace ingest` reads Claude Code subagent runs, the default. For another harness, add `--source` with one of `claude-code`, `codex`, `gemini-cli`, `opencode` or `cline`. It reads timestamps, model ids, token and tool counts only, and keeps rows in `~/.agentpace`. Nothing leaves this machine.
|
|
18
18
|
- `gemini-cli`, `opencode` and `cline` are experimental: each adapter was built from the tool's source and is not yet verified on real sessions, and `agentpace validate` rejects their rows, so a data pull request with them stays red until the adapter is verified. Say so when you use one, and pass on the note `ingest` prints. Anyone who wants to verify one can follow [docs/verify-adapter.md](https://github.com/mohamedzhioua/agentpace/blob/main/docs/verify-adapter.md).
|
|
19
|
+
- Leave `--idle-cap` alone unless the user asks for another cap. A store keeps the one cap it was filled with, and `ingest` refuses a different one for that store. The published dataset uses the default, so rows ingested at another cap cannot be shared. If `ingest` refuses, or says the store's cap is not the default or not recorded, pass its line on as printed and stop there: do not rename, delete or edit anything in `~/.agentpace`, and do not retry with other flags, unless the user asks.
|
|
19
20
|
3. Run `agentpace runs --last 10` and show the list.
|
|
20
21
|
4. If the user gave a kind or risk, apply it. `agentpace label last --kind bugfix` labels the latest run, and a reference from the list labels any other. If `label last` refuses because it cannot tell which run is last, do not guess: show the user the list from step 3 and label the reference they pick. Kinds: `feature`, `bugfix`, `refactor`, `migration`, `tests`, `docs`, `review`, `other`. Risks: `low`, `normal`, `high`.
|
|
21
22
|
|
|
@@ -15,7 +15,8 @@ Sharing is opt-in. Do nothing here unless the user asked for it.
|
|
|
15
15
|
|
|
16
16
|
1. Run `agentpace --version`. If it fails, show this command and stop, because installing is the user's call: `uv tool install agentpace`
|
|
17
17
|
2. Run `agentpace share --dry-run`. It prints the exact rows and what they reveal, and writes nothing.
|
|
18
|
-
3. If it
|
|
19
|
-
4.
|
|
20
|
-
5.
|
|
21
|
-
6.
|
|
18
|
+
3. If it refuses instead of printing rows, with one line starting `agentpace:`, pass that line on as printed and stop: do not go on to `--write`. When the refusal is about the store's idle cap (not the default, not recorded, or a record that cannot be read), rebuilding the store is the user's call: do not rename, delete or edit anything in `~/.agentpace` unless they ask.
|
|
19
|
+
4. If it prints `nothing new to share`, every local run is already published; say so and stop.
|
|
20
|
+
5. Tell the user how many rows there are, and pass on the notice in full. Offer to show the rows.
|
|
21
|
+
6. Stop and ask. Run `agentpace share --write` only after the user says yes to writing the file. It writes into `data/runs` under the current folder, and only inside a clone of the agentpace repo is that the real dataset: there, rows already published are left out and `agentpace validate data/runs` checks the file against every other. Run it from their clone, as CONTRIBUTING describes.
|
|
22
|
+
7. `--write` sends nothing. Never run the printed git commands yourself unless the user asks, because pushing publishes the rows, and they cannot be fully recalled after that.
|
|
@@ -164,7 +164,7 @@ class Skills(unittest.TestCase):
|
|
|
164
164
|
def test_the_skill_passes_a_quote_through_and_relays_the_quoted_line(self):
|
|
165
165
|
text = (SKILLS / "agentpace" / "SKILL.md").read_text(encoding="utf-8")
|
|
166
166
|
section = text.split("## Re-answer a human quote", 1)[1].split("\n## ", 1)[0]
|
|
167
|
-
self.assertIn('agentpace estimate
|
|
167
|
+
self.assertIn('agentpace estimate <file> --quoted "3 months"', section)
|
|
168
168
|
self.assertIn("verbatim", section)
|
|
169
169
|
self.assertIn("Relay that line as printed", section)
|
|
170
170
|
self.assertIn("`Quoted:`", section)
|
|
@@ -253,6 +253,104 @@ class Skills(unittest.TestCase):
|
|
|
253
253
|
self.assertIn("the whole `Warnings:` block, heading included", text)
|
|
254
254
|
self.assertIn("Nothing inside the block is reworded", text)
|
|
255
255
|
|
|
256
|
+
def test_the_block_holds_the_idle_cap_line_in_cli_order(self):
|
|
257
|
+
idle_cap = "the `Idle cap:` line as printed when there is one"
|
|
258
|
+
chain = (
|
|
259
|
+
"the `Quoted:` line as printed when there is one, "
|
|
260
|
+
f"{idle_cap}, "
|
|
261
|
+
"the session-clock line and the human part line"
|
|
262
|
+
)
|
|
263
|
+
for name in ("agentpace", "pace-estimate"):
|
|
264
|
+
with self.subTest(skill=name):
|
|
265
|
+
text = (SKILLS / name / "SKILL.md").read_text(encoding="utf-8")
|
|
266
|
+
start = text.index("one fenced code block, tagged `text`")
|
|
267
|
+
end = text.index("Nothing inside the block is reworded", start)
|
|
268
|
+
self.assertIn(chain, text[start:end])
|
|
269
|
+
self.assertEqual(text.count(idle_cap), 1)
|
|
270
|
+
|
|
271
|
+
def test_the_skills_name_the_total_on_the_session_clock_and_relay_refusals(self):
|
|
272
|
+
for name in ("agentpace", "pace-estimate"):
|
|
273
|
+
with self.subTest(skill=name):
|
|
274
|
+
text = (SKILLS / name / "SKILL.md").read_text(encoding="utf-8")
|
|
275
|
+
self.assertIn("the plan total on the session clock", text)
|
|
276
|
+
self.assertIn("never as hours of agent time", text)
|
|
277
|
+
self.assertIn("relay that line as printed and stop", text)
|
|
278
|
+
|
|
279
|
+
def test_the_skill_uses_a_plan_file_only_when_it_is_the_plan(self):
|
|
280
|
+
text = (SKILLS / "agentpace" / "SKILL.md").read_text(encoding="utf-8")
|
|
281
|
+
self.assertIn("is not evidence that it describes the request", text)
|
|
282
|
+
self.assertIn("never overwrite it", text)
|
|
283
|
+
self.assertNotIn("the only agent time is the measured range", text)
|
|
284
|
+
self.assertNotIn("agentpace estimate plan.json", text)
|
|
285
|
+
self.assertIn("`<file>` is the file you wrote, or the one the user named", text)
|
|
286
|
+
|
|
287
|
+
def test_pace_estimate_asks_when_there_is_no_input(self):
|
|
288
|
+
text = (SKILLS / "pace-estimate" / "SKILL.md").read_text(encoding="utf-8")
|
|
289
|
+
self.assertIn("ask which plan or task list to estimate", text)
|
|
290
|
+
|
|
291
|
+
def test_pace_log_leaves_the_idle_cap_alone(self):
|
|
292
|
+
text = (SKILLS / "pace-log" / "SKILL.md").read_text(encoding="utf-8")
|
|
293
|
+
self.assertIn("Leave `--idle-cap` alone", text)
|
|
294
|
+
self.assertIn("refuses a different one for that store", text)
|
|
295
|
+
self.assertNotIn("refuses any other", text)
|
|
296
|
+
|
|
297
|
+
def test_pace_share_leaves_a_refused_store_to_the_user(self):
|
|
298
|
+
text = (SKILLS / "pace-share" / "SKILL.md").read_text(encoding="utf-8")
|
|
299
|
+
self.assertIn("rebuilding the store is the user's call", text)
|
|
300
|
+
self.assertIn("If it refuses instead of printing rows", text)
|
|
301
|
+
self.assertIn("do not go on to `--write`", text)
|
|
302
|
+
self.assertIn("a record that cannot be read", text)
|
|
303
|
+
|
|
304
|
+
def test_the_smoke_check_names_eight_prompts_and_the_idle_cap_line(self):
|
|
305
|
+
text = (REPO / "docs" / "skill-smoke.md").read_text(encoding="utf-8")
|
|
306
|
+
section = text.split("## The prompts", 1)[1].split("\n## ", 1)[0]
|
|
307
|
+
labels = re.findall(r"^- \*\*(\d+b?)\. ", section, re.MULTILINE)
|
|
308
|
+
self.assertEqual(labels, ["1", "3", "4", "4b", "5", "6", "7", "8"])
|
|
309
|
+
self.assertIn("the `Idle cap:` line when the CLI printed one", text)
|
|
310
|
+
self.assertIn("Idle cap:", section)
|
|
311
|
+
items = dict(re.findall(r"^- \*\*(\d+b?)\. (.*)$", section, re.MULTILINE))
|
|
312
|
+
self.assertIn("names the file it wrote and not `plan.json`", items["5"])
|
|
313
|
+
self.assertIn("unchanged byte for byte", items["5"])
|
|
314
|
+
self.assertIn("--idle-cap 600", items["7"])
|
|
315
|
+
self.assertIn(
|
|
316
|
+
"`Idle cap: 900 s (bundled seed), 600 s (your local store). "
|
|
317
|
+
"This range pools rows on different clocks.`",
|
|
318
|
+
items["7"],
|
|
319
|
+
)
|
|
320
|
+
self.assertIn("nothing in the home changes", items["7"])
|
|
321
|
+
self.assertIn("not published rows", items["8"])
|
|
322
|
+
self.assertIn("agentpace: runs.jsonl has no recorded idle cap", items["8"])
|
|
323
|
+
self.assertIn("no `--write`", items["8"])
|
|
324
|
+
self.assertIn("the P80 alone is enough", text)
|
|
325
|
+
self.assertIn(
|
|
326
|
+
"it says that the result is rough and that it is not the CLI's range",
|
|
327
|
+
items["4b"],
|
|
328
|
+
)
|
|
329
|
+
|
|
330
|
+
def test_the_skills_never_say_the_total_covers_agent_time_only(self):
|
|
331
|
+
for name in ("agentpace", "pace-estimate"):
|
|
332
|
+
with self.subTest(skill=name):
|
|
333
|
+
text = (SKILLS / name / "SKILL.md").read_text(encoding="utf-8")
|
|
334
|
+
self.assertIn(
|
|
335
|
+
"is, or covers, agent time or agent work only, "
|
|
336
|
+
"not even to set it against the human part",
|
|
337
|
+
text,
|
|
338
|
+
)
|
|
339
|
+
self.assertIn('own words, "the agent time", stay inside the block', text)
|
|
340
|
+
text = (SKILLS / "agentpace" / "SKILL.md").read_text(encoding="utf-8")
|
|
341
|
+
report = text.split("## Report the result", 1)[1].split("\n## ", 1)[0]
|
|
342
|
+
self.assertIn("agent runs and the gaps between them, each gap up to the idle cap", report)
|
|
343
|
+
self.assertIn("do not derive a number for it from the total", report)
|
|
344
|
+
self.assertNotIn("from the agent time", report)
|
|
345
|
+
estimate = (SKILLS / "pace-estimate" / "SKILL.md").read_text(encoding="utf-8")
|
|
346
|
+
self.assertIn("Do not derive a number for the human part from the total", estimate)
|
|
347
|
+
self.assertNotIn("from the agent time", estimate)
|
|
348
|
+
smoke = (REPO / "docs" / "skill-smoke.md").read_text(encoding="utf-8")
|
|
349
|
+
self.assertIn(
|
|
350
|
+
"or say it covers, agent time, agent work, active time, working time or effort",
|
|
351
|
+
smoke,
|
|
352
|
+
)
|
|
353
|
+
|
|
256
354
|
|
|
257
355
|
class Marketplace(unittest.TestCase):
|
|
258
356
|
def setUp(self):
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# Skill smoke check
|
|
2
|
-
|
|
3
|
-
A manual check that an assistant following the skills passes on the CLI's lines as printed. Run it after a change to a skill, in a real session with the skills installed, and add one row per prompt to the record below. It is not a claim and holds no data number.
|
|
4
|
-
|
|
5
|
-
## How to compare
|
|
6
|
-
|
|
7
|
-
1. Give the assistant the prompt in a fresh session.
|
|
8
|
-
2. Ask it to show the plan file it wrote and the exact command it ran.
|
|
9
|
-
3. Run that command yourself, on the same plan, with the same flags and the same `AGENTPACE_HOME`. The seed is fixed, so the same plan and data print the same lines.
|
|
10
|
-
4. Put the CLI's output and the assistant's answer side by side. Each line listed below must appear in the answer character for character, numbers, units and quote marks included. A paraphrase, a rounded number or two lines merged into one fails.
|
|
11
|
-
|
|
12
|
-
Every prompt that runs the CLI must relay these lines, inside the fenced code block the skill asks for:
|
|
13
|
-
|
|
14
|
-
- the `Plan total on the session clock:` line;
|
|
15
|
-
- the session-clock line (`The session clock counts agent runs and the gaps between them, ...`);
|
|
16
|
-
- the `Human part (...)` line;
|
|
17
|
-
- every line under `Warnings:`.
|
|
18
|
-
|
|
19
|
-
## The four prompts
|
|
20
|
-
|
|
21
|
-
1. **A feature marked `high`.** "How long will the billing API take? It is high risk, and it needs a review after." The plan should leave `risk` out of the feature. If it writes `"risk": "high"` anyway, the `risk as written was not used for <id> (high -> normal)` warning must be relayed as printed, and the answer must not say the risk changed the range.
|
|
22
|
-
2. **A "3 months" quote.** "The team quoted 3 months for the billing feature. How long would it take with agents?" The command carries `--quoted "3 months"`. The `Quoted: "3 months"` line must be relayed as printed, beside the range. The answer must not convert the quote, compare it with the range, give a ratio or difference, or call the difference the human part.
|
|
23
|
-
3. **"4 PRs a day" review capacity.** "How long will the billing feature take? I can review 4 PRs a day." The command carries `--review-capacity "4 PRs a day"`. The `Review capacity: "4 PRs a day"` line must be relayed as printed, and the answer must not turn it into a timeline.
|
|
24
|
-
4. **CLI absent.** Take `agentpace` off `PATH` and ask "How long will the billing feature take?" The answer shows `uv tool install agentpace` and stops; nothing is installed. If the user then declines to install, the answer comes from the portable prompt and is labelled a rule of thumb. There are no CLI lines to compare.
|
|
25
|
-
|
|
26
|
-
## Record
|
|
27
|
-
|
|
28
|
-
| Date | Host and model | Prompt | Lines relayed verbatim | Notes |
|
|
29
|
-
|---|---|---|---|---|
|
|
30
|
-
| 2026-11-09 | Claude Code 2.1.319, claude-opus-5-5 | 1. A feature marked `high` | Session-clock line only | **Fail.** Skills at `47245ae`, before the fenced-block rule. The plan total was reworded, the human part line was cut short, and the warnings were paraphrased under a heading that said they were as printed. `risk` was left out of the plan, so no `risk as written` warning; no claim that risk changed the range. |
|
|
31
|
-
| 2026-11-09 | Claude Code 2.1.319, claude-opus-5-5 | 2. A "3 months" quote | `Quoted:`, session-clock line, `Human part` | **Fail.** Skills at `47245ae`. The plan total was reworded and the warnings paraphrased under a heading that said they were as printed. No conversion, comparison, ratio or difference drawn from the quote. |
|
|
32
|
-
| 2026-11-09 | Claude Code 2.1.319, claude-opus-5-5 | 1. A feature marked `high` | None | **Not run.** Skills at `331bc7d`. The session called `agentpace` through PowerShell, which the run's tool list did not allow, so no estimate ran. A harness problem, not a skill result; rerun below with PowerShell allowed. |
|
|
33
|
-
| 2026-11-09 | Claude Code 2.1.319, claude-opus-5-5 | 2. A "3 months" quote | `Plan total`, `Quoted:`, session-clock line, `Human part`, every `Warnings:` line | **Pass.** Skills at `331bc7d`. All inside one `text` block; the maintainer re-ran the shown command on the shown plan with the same flags and home, and every line matched. No conversion, comparison, ratio or difference drawn from the quote. |
|
|
34
|
-
| 2026-11-09 | Claude Code 2.1.319, claude-opus-5-5 | 1. A feature marked `high` | `Plan total`, session-clock line, `Human part`, every `Warnings:` line; `risk` left out, no `risk as written` warning | **Pass.** Skills at `331bc7d`. All inside one `text` block; the maintainer re-ran the shown command on the shown plan with the same flags and home, and every line matched. The answer says marking the work high would not change the estimate. |
|
|
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
|