Repository navigation
Make the measurement loop installable in two commands - #3
Merged
Merged
Conversation
Until now the hooks were a hand-merge into ~/.claude/settings.json, documented as a JSON block. That is the step most people skip, and skipping it means the skill's calibration section stays empty forever with no error to say why. - dog.py install-hooks: merges the three event hooks into settings.json, preserves every other setting and hook, writes a .dog-years.bak first, and is idempotent - re-running updates the path of a moved install instead of duplicating the entry. uninstall-hooks reverses it. DOG_YEARS_SETTINGS overrides the target file. - doctor now checks hook registration first: missing, partial, or pointing at a dog.py that no longer exists, with the exact command to fix each. - Tests cover install/uninstall: preserved settings, existing hooks on the same event kept, unrelated events untouched, one entry per event after two installs, backup written, doctor sees them, uninstall removes only ours. - Every experiment script takes MODEL=<id>; when it is not the saved Haiku model the results dir is tagged with the model name so a re-run lands beside the published data, not over it. - SKILL.md cites AgentTime (Aug 2026) as the measured basis for the rule, research.md's known-limits section does the same and names the one-line way to re-run the effort null on a larger model. README and measurement.md now lead with the two commands. Verified: npx skills add installs SKILL.md, EVAL.md and dog.py byte-identical to the repo into a clean HOME; tests pass; all scripts parse; the published v3 figures still reproduce. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Until now the hooks were a hand-merge into ~/.claude/settings.json, documented
as a JSON block. That is the step most people skip, and skipping it means the
skill's calibration section stays empty forever with no error to say why.
preserves every other setting and hook, writes a .dog-years.bak first, and
is idempotent - re-running updates the path of a moved install instead of
duplicating the entry. uninstall-hooks reverses it. DOG_YEARS_SETTINGS
overrides the target file.
a dog.py that no longer exists, with the exact command to fix each.
same event kept, unrelated events untouched, one entry per event after two
installs, backup written, doctor sees them, uninstall removes only ours.
model the results dir is tagged with the model name so a re-run lands
beside the published data, not over it.
research.md's known-limits section does the same and names the one-line
way to re-run the effort null on a larger model. README and measurement.md
now lead with the two commands.
Verified: npx skills add installs SKILL.md, EVAL.md and dog.py byte-identical
to the repo into a clean HOME; tests pass; all scripts parse; the published
v3 figures still reproduce.
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com