Repository navigation
Add cc-stats telemetry report - #46
Conversation
Initial review — PR #46
|
| Command | Result |
|---|---|
python3 scripts/validate-package.py |
VALID: 13 skills (6 cycle, 7 supporting)… |
python3 -m unittest tests.test_stats -v |
6/6 OK |
python3 -m unittest discover -s tests |
586/587. The one failure is test_run_cycle.LocalOnlyPolicyTests.test_local_only_rejects_the_live_repository. It fails the same way on main when run from a detached worktree outside the main checkout, and passes in the main checkout. It is an artefact of where I ran it, not a regression from this PR; CI runs it in the canonical checkout and passes. |
Reproduction script with Telemetry.record_stage (dispatch + shadow + verdict + cycle) → stats.aggregate |
Confirms REV-001 and REV-002 at runtime |
Not verified:
- I did not run the skill end to end from an agent host. Locating
stats.pyin the project or global runtime was checked by reading the code and by thetest_install_runtimetest, not interactively. - I did not run the PowerShell installer locally; CI covers it.
CI
gh pr checks 46: 4/4 passed. That is two runs of the Validate package workflow (push + pull_request) on the same SHA, each with Skills, manifests, and Bash installer ✅ and PowerShell installer ✅. None are pending, skipped, or missing compared with the workflow definition.
Residual risks
- Until REV-001 is fixed, any report shows inflated stage and role numbers. A user could reasonably read them as more activity or more fallbacks than really happened.
first_pass_by_suggested_profilerequires theshadowrow and thecyclerow to fall in the same window. A cycle that straddles the window boundary drops out of the comparison. This is acceptable, but not documented.
Project verdict: CHANGES_REQUESTED. REV-001 blocks approval; REV-002 and REV-003 do not.
Review resolution — PR #46All three findings are resolved at [REV-001] · medium · resolved · blocks:yes — Stage, role, and activity counts include verdict, shadow, and cycle rows
[REV-002] · low · resolved · blocks:no — With
|
Rereview — PR #46
|
| Command | Result |
|---|---|
python3 scripts/validate-package.py |
VALID: 13 skills (6 cycle, 7 supporting)… |
python3 -m unittest tests.test_stats |
OK (7 tests) |
python3 -m unittest discover -s tests |
587/588. The one failure is test_run_cycle.LocalOnlyPolicyTests.test_local_only_rejects_the_live_repository. As in the previous review, it also fails on main when run from a detached worktree outside the main checkout, so it comes from where I ran it, not from this PR. |
| Original REV-001/REV-002 reproduction | Fixed (see above) |
| Schema-2 reproduction | Confirms REV-004 |
Not verified: I did not run the skill end to end from an agent host (same limitation as in the previous review).
CI
gh pr checks 46: 4/4 passed on HEAD 9d04260. That is two runs of the Validate package workflow (push + pull_request), each with Skills, manifests, and Bash installer ✅ and PowerShell installer ✅. None are pending, skipped, or missing.
Residual risks
- REV-004: historical telemetry recorded before schema 3 still shows inflated stage and role counts in long windows and in
--all-time. first_pass_by_suggested_profilerequires theshadowandcyclerows to fall in the same window (not documented; acceptable).
Project verdict: APPROVED. No open finding blocks approval. REV-004 is open with blocks:no.
Summary
cc-statssupporting skill across package validation, runtime installation, skill discovery, and the README.Work item: #42
Verification
python3 scripts/validate-package.py— passedpython3 -m unittest discover -s tests -v— 587 tests passednpx --yes skills@1.5.23 add . --list— discovered 13 skills, includingcc-statsbash -n scripts/install.sh— passedgit diff --check— passed