agentpace 0.12.4__tar.gz → 0.12.6__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.12.6/.claude-plugin/marketplace.json +12 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/CHANGELOG.md +23 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/CITATION.cff +1 -1
- {agentpace-0.12.4 → agentpace-0.12.6}/PKG-INFO +1 -1
- agentpace-0.12.6/docs/skill-smoke.md +34 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/skills/agentpace/SKILL.md +14 -11
- {agentpace-0.12.4 → agentpace-0.12.6}/skills/pace-estimate/SKILL.md +4 -3
- {agentpace-0.12.4 → agentpace-0.12.6}/skills/pace-share/SKILL.md +4 -3
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/__init__.py +1 -1
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_skills.py +86 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/.gitattributes +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/.github/ISSUE_TEMPLATE/ingest-found-nothing.yml +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/.github/ISSUE_TEMPLATE/remove-my-rows.yml +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/.github/dependabot.yml +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/.github/pull_request_template.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/.github/workflows/ci.yml +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/.github/workflows/publish.yml +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/.github/workflows/validate-data.yml +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/.gitignore +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/CODE_OF_CONDUCT.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/CONTRIBUTING.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/LICENSE +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/README.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/SECURITY.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/data/LICENSE +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/data/README.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/data/runs/4546788e7930eccd-2026-W40-2026-W45.jsonl +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/data/runs/4546788e7930eccd-2026-W44-2026-W45.jsonl +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/.nojekyll +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/DESIGN.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/assets/backtest-coverage.svg +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/assets/hero.webp +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/assets/run-ranges.svg +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/assets/social-preview.png +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/backtest.json +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/backtest.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/cli.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/index.html +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/releasing.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/robots.txt +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/sitemap.xml +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/docs/verify-adapter.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/examples/plan.json +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/examples/quote-plan.json +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/experiments/model_offset/PROTOCOL.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/pyproject.toml +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/schema/run.schema.json +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/schema/turn.schema.json +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/skills/agentpace/assets/portable-prompt.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/skills/agentpace/references/method.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/skills/pace-log/SKILL.md +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/__main__.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/adapters/__init__.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/adapters/base.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/adapters/claude_code.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/adapters/cline.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/adapters/codex.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/adapters/gemini_cli.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/adapters/opencode.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/backtest.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/cache.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/charts.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/claims.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/classify.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/cli.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/estimate.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/forecasts.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/ingest.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/paths.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/pseudonym.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/py.typed +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/render.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/report.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/schema.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/share.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/site.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/turns.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/src/agentpace/validate.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/__init__.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/fixtures/__init__.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/fixtures/cline_tasks.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/fixtures/gemini_cli.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/fixtures/opencode.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/synthetic.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_backtest.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_claims.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_classify.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_cli.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_cline.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_codex.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_counts.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_docs.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_estimate.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_forecasts.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_frozen_method.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_gemini_cli.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_ingest.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_labels.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_opencode.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_outcomes.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_plan_risk.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_review_capacity.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_schema.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_share_validate.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_site.py +0 -0
- {agentpace-0.12.4 → agentpace-0.12.6}/tests/test_turns.py +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agentpace",
|
|
3
|
+
"owner": { "name": "mohamedzhioua" },
|
|
4
|
+
"description": "The agentpace plugin: estimates of coding-agent work from measured agent runs.",
|
|
5
|
+
"plugins": [
|
|
6
|
+
{
|
|
7
|
+
"name": "agentpace",
|
|
8
|
+
"source": "./",
|
|
9
|
+
"description": "Estimates how long software work will take when coding agents do it, from measured agent runs: P50/P80/P90 ranges with the human part stated apart. Four skills; needs the agentpace Python CLI on PATH."
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -4,6 +4,29 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) an
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 0.12.6 - 2026-11-09
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- The estimating skills open every answer with one fenced block that holds the CLI's own lines, copied character for character: the plan total, the `Quoted:` line, the session-clock line, the human part line, the `Review capacity:` line and every warning. A smoke run showed that an answer told to pass the lines on "as printed" still reworded them; in the reruns, with the block, it did not.
|
|
12
|
+
- The skills' sample plans leave `risk` out except for research (`other` with `risk: low`), and step 3 no longer asks for a risk.
|
|
13
|
+
- Without the CLI, the `agentpace` skill shows the install command and stops; if the user would rather not install it, it answers from the portable prompt and labels the result a rule of thumb.
|
|
14
|
+
- The quote rules are one positive contract plus the prohibitions, and `/pace-share` says what "nothing new to share" means and that `--write` runs inside a clone of the repository.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `docs/skill-smoke.md`: four smoke prompts, the lines each answer must relay verbatim, and a dated record of the runs, failures included.
|
|
19
|
+
|
|
20
|
+
No published number moved.
|
|
21
|
+
|
|
22
|
+
## 0.12.5 - 2026-11-09
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- `.claude-plugin/marketplace.json`, so the repository can serve as a Claude Code plugin marketplace. It lists one plugin served from the repository root, with no bundled hook. Not yet documented: the install route is advertised after a real install is checked.
|
|
27
|
+
|
|
28
|
+
No published number moved.
|
|
29
|
+
|
|
7
30
|
## 0.12.4 - 2026-11-09
|
|
8
31
|
|
|
9
32
|
### Fixed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: agentpace
|
|
3
|
-
Version: 0.12.
|
|
3
|
+
Version: 0.12.6
|
|
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
|
|
@@ -0,0 +1,34 @@
|
|
|
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. |
|
|
@@ -17,19 +17,17 @@ This skill triggers on natural-language questions. `/pace-estimate` is the expli
|
|
|
17
17
|
|
|
18
18
|
## Check the tool
|
|
19
19
|
|
|
20
|
-
Run `agentpace --version`. If that fails,
|
|
20
|
+
Run `agentpace --version`. If that fails, show the install command below and stop there: installing is the user's call, so do not install anything without being asked. If they would rather not install it, answer from [assets/portable-prompt.md](assets/portable-prompt.md) and label the result a rule of thumb.
|
|
21
21
|
|
|
22
22
|
```text
|
|
23
23
|
uv tool install agentpace
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
If they do not want to install anything, use [assets/portable-prompt.md](assets/portable-prompt.md) instead.
|
|
27
|
-
|
|
28
26
|
## Estimate
|
|
29
27
|
|
|
30
28
|
1. Assume agents do the implementation unless the user says otherwise. If it is unclear and the answer would change, ask once.
|
|
31
29
|
2. Break the work into tasks an agent would run as separate runs.
|
|
32
|
-
3. Give each task an `id
|
|
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).
|
|
33
31
|
4. Write the plan to a file and run the estimator.
|
|
34
32
|
|
|
35
33
|
```json
|
|
@@ -37,9 +35,10 @@ If they do not want to install anything, use [assets/portable-prompt.md](assets/
|
|
|
37
35
|
"agent_cap": 3,
|
|
38
36
|
"model": "claude-opus-5-5",
|
|
39
37
|
"tasks": [
|
|
40
|
-
{ "id": "
|
|
41
|
-
{ "id": "
|
|
42
|
-
{ "id": "
|
|
38
|
+
{ "id": "survey", "kind": "other", "risk": "low" },
|
|
39
|
+
{ "id": "schema", "kind": "feature", "depends_on": ["survey"] },
|
|
40
|
+
{ "id": "api", "kind": "feature", "depends_on": ["schema"] },
|
|
41
|
+
{ "id": "review", "kind": "review", "depends_on": ["api"] }
|
|
43
42
|
]
|
|
44
43
|
}
|
|
45
44
|
```
|
|
@@ -48,7 +47,10 @@ If they do not want to install anything, use [assets/portable-prompt.md](assets/
|
|
|
48
47
|
agentpace estimate plan.json
|
|
49
48
|
```
|
|
50
49
|
|
|
51
|
-
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
|
|
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.
|
|
51
|
+
- Risk: leave it out. In the rows it is the agent's role, not how hard or how reversible the work is, so `high` buys nothing, and the output says when a written risk was not used. The one exception is research: `other` with `risk: low`, a recorded cell.
|
|
52
|
+
- Model: set `model` whenever you know which model will run the task; it is the strongest split in the data.
|
|
53
|
+
- `bugfix`, `refactor` and `migration` have few or no seed runs: an estimate with them leans on broader runs, up to all runs, and says so; pass that on rather than relabel the work.
|
|
52
54
|
|
|
53
55
|
## Re-answer a human quote
|
|
54
56
|
|
|
@@ -58,14 +60,15 @@ When the conversation already holds a timeline in days, weeks or months, from th
|
|
|
58
60
|
agentpace estimate plan.json --quoted "3 months"
|
|
59
61
|
```
|
|
60
62
|
|
|
61
|
-
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
|
|
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 only agent time is the measured range, 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.
|
|
62
64
|
|
|
63
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.
|
|
64
66
|
|
|
65
67
|
## Report the result
|
|
66
68
|
|
|
67
|
-
-
|
|
68
|
-
- 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 agent time, 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.
|
|
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 agent time, 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
|
+
- 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.
|
|
69
72
|
- Name the critical path and the effective parallelism.
|
|
70
73
|
- 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.
|
|
71
74
|
- 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.
|
|
@@ -19,13 +19,14 @@ The plan to estimate: $ARGUMENTS
|
|
|
19
19
|
```json
|
|
20
20
|
{
|
|
21
21
|
"agent_cap": 3,
|
|
22
|
+
"model": "claude-opus-5-5",
|
|
22
23
|
"tasks": [
|
|
23
|
-
{ "id": "api", "kind": "feature"
|
|
24
|
-
{ "id": "review", "kind": "review", "
|
|
24
|
+
{ "id": "api", "kind": "feature" },
|
|
25
|
+
{ "id": "review", "kind": "review", "depends_on": ["api"] }
|
|
25
26
|
]
|
|
26
27
|
}
|
|
27
28
|
```
|
|
28
29
|
|
|
29
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.
|
|
30
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.
|
|
31
|
-
4.
|
|
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 agent time, 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.
|
|
@@ -15,6 +15,7 @@ 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.
|
|
19
|
-
4.
|
|
20
|
-
5.
|
|
18
|
+
3. If it prints `nothing new to share`, every local run is already published; say so and stop.
|
|
19
|
+
4. Tell the user how many rows there are, and pass on the notice in full. Offer to show the rows.
|
|
20
|
+
5. 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.
|
|
21
|
+
6. `--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.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import hashlib
|
|
2
|
+
import json
|
|
2
3
|
import re
|
|
3
4
|
import unittest
|
|
4
5
|
from pathlib import Path
|
|
@@ -86,6 +87,7 @@ class Repository(unittest.TestCase):
|
|
|
86
87
|
REPO / "data" / "README.md",
|
|
87
88
|
REPO / "docs" / "cli.md",
|
|
88
89
|
REPO / "docs" / "releasing.md",
|
|
90
|
+
REPO / "docs" / "skill-smoke.md",
|
|
89
91
|
REPO / "docs" / "verify-adapter.md",
|
|
90
92
|
*sorted((REPO / "src" / "agentpace").rglob("*.py")),
|
|
91
93
|
]
|
|
@@ -213,6 +215,90 @@ class Skills(unittest.TestCase):
|
|
|
213
215
|
self.assertIn("<!-- claim:cell_table -->", text)
|
|
214
216
|
self.assertIn("P90", text)
|
|
215
217
|
|
|
218
|
+
def test_sample_plans_parse_and_leave_risk_out_except_research(self):
|
|
219
|
+
from agentpace import estimate as est
|
|
220
|
+
|
|
221
|
+
for name in ("agentpace", "pace-estimate"):
|
|
222
|
+
text = (SKILLS / name / "SKILL.md").read_text(encoding="utf-8")
|
|
223
|
+
blocks = re.findall(r"```json\n(.*?)\n\s*```", text, re.DOTALL)
|
|
224
|
+
self.assertTrue(blocks, name)
|
|
225
|
+
for block in blocks:
|
|
226
|
+
with self.subTest(skill=name):
|
|
227
|
+
document = json.loads(block)
|
|
228
|
+
est.tasks_from_json(document)
|
|
229
|
+
for task in document["tasks"]:
|
|
230
|
+
if "risk" in task:
|
|
231
|
+
self.assertEqual((task["kind"], task["risk"]), ("other", "low"))
|
|
232
|
+
|
|
233
|
+
def test_the_skill_no_longer_asks_for_a_risk(self):
|
|
234
|
+
text = (SKILLS / "agentpace" / "SKILL.md").read_text(encoding="utf-8")
|
|
235
|
+
self.assertNotIn("a `kind` and a `risk`", text)
|
|
236
|
+
|
|
237
|
+
def test_the_absent_cli_path_offers_the_portable_prompt(self):
|
|
238
|
+
text = (SKILLS / "agentpace" / "SKILL.md").read_text(encoding="utf-8")
|
|
239
|
+
section = text.split("## Check the tool", 1)[1].split("\n## ", 1)[0]
|
|
240
|
+
self.assertIn("portable-prompt.md", section)
|
|
241
|
+
self.assertIn("rule of thumb", section)
|
|
242
|
+
|
|
243
|
+
def test_share_says_what_nothing_new_means(self):
|
|
244
|
+
text = (SKILLS / "pace-share" / "SKILL.md").read_text(encoding="utf-8")
|
|
245
|
+
self.assertIn("nothing new to share", text)
|
|
246
|
+
|
|
247
|
+
def test_the_skills_paste_the_cli_lines_in_one_block(self):
|
|
248
|
+
for name in ("agentpace", "pace-estimate"):
|
|
249
|
+
with self.subTest(skill=name):
|
|
250
|
+
text = (SKILLS / name / "SKILL.md").read_text(encoding="utf-8")
|
|
251
|
+
self.assertIn("one fenced code block, tagged `text`", text)
|
|
252
|
+
self.assertIn("copied character for character", text)
|
|
253
|
+
self.assertIn("the whole `Warnings:` block, heading included", text)
|
|
254
|
+
self.assertIn("Nothing inside the block is reworded", text)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
class Marketplace(unittest.TestCase):
|
|
258
|
+
def setUp(self):
|
|
259
|
+
path = REPO / ".claude-plugin" / "marketplace.json"
|
|
260
|
+
self.manifest = json.loads(path.read_text(encoding="utf-8"))
|
|
261
|
+
|
|
262
|
+
def entry(self):
|
|
263
|
+
plugins = self.manifest["plugins"]
|
|
264
|
+
self.assertEqual(len(plugins), 1)
|
|
265
|
+
return plugins[0]
|
|
266
|
+
|
|
267
|
+
def test_the_marketplace_names_itself_and_its_owner(self):
|
|
268
|
+
self.assertEqual(self.manifest["name"], "agentpace")
|
|
269
|
+
self.assertEqual(self.manifest["owner"]["name"], "mohamedzhioua")
|
|
270
|
+
|
|
271
|
+
def test_it_lists_one_plugin_served_from_the_repository_root(self):
|
|
272
|
+
entry = self.entry()
|
|
273
|
+
self.assertEqual(entry["name"], "agentpace")
|
|
274
|
+
self.assertEqual(entry["source"], "./")
|
|
275
|
+
|
|
276
|
+
def test_the_entry_lists_no_components_so_every_skill_loads(self):
|
|
277
|
+
entry = self.entry()
|
|
278
|
+
for field in ("skills", "hooks", "commands", "agents", "mcpServers"):
|
|
279
|
+
with self.subTest(field=field):
|
|
280
|
+
self.assertNotIn(field, entry)
|
|
281
|
+
|
|
282
|
+
def test_the_source_holds_the_skills_folder(self):
|
|
283
|
+
entry = self.entry()
|
|
284
|
+
self.assertEqual((REPO / entry["source"] / "skills").resolve(), SKILLS.resolve())
|
|
285
|
+
|
|
286
|
+
def test_no_hooks_folder_or_plugin_manifest_ships(self):
|
|
287
|
+
self.assertFalse((REPO / "hooks").exists())
|
|
288
|
+
self.assertFalse((REPO / ".claude-plugin" / "plugin.json").exists())
|
|
289
|
+
|
|
290
|
+
def test_the_descriptions_are_short_and_carry_no_banned_phrase(self):
|
|
291
|
+
descriptions = {
|
|
292
|
+
"marketplace": self.manifest["description"],
|
|
293
|
+
"plugin": self.entry()["description"],
|
|
294
|
+
}
|
|
295
|
+
for level, description in descriptions.items():
|
|
296
|
+
with self.subTest(level=level):
|
|
297
|
+
self.assertTrue(1 <= len(description) <= 300)
|
|
298
|
+
for phrase in BANNED_PHRASES:
|
|
299
|
+
with self.subTest(level=level, phrase=phrase):
|
|
300
|
+
self.assertNotIn(phrase.lower(), description.lower())
|
|
301
|
+
|
|
216
302
|
|
|
217
303
|
if __name__ == "__main__":
|
|
218
304
|
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
|