docs(env-json): align skill with released CLI 3.7.0 behavior - #38
Merged
Conversation
## Summary CLI 3.7.0 is live on PyPI. Close the remaining documentation gaps between the skill pack and the released guard/loader behavior so an agent following this skill never meets an undocumented edge. ## Change Log - env-json.md § Security: refuse-if-tracked guard now documents that staged-but-uncommitted counts as tracked, the two exact carve-outs (--help/--version short-circuit; hook group prints the error to stderr but runs and exits 0 per its harness contract), and the loud-warning degradation when git is not on PATH but a .git ancestor exists - env-json.md § Security: 0o600 wording upgraded to created-from-first-byte (os.open, no umask window) + defensive re-chmod on load - env-json.md schema table: `disabled` must be a JSON boolean — a hand-edited "true" string warns loudly and the file STAYS ACTIVE - env-json.md § CLI workflow: `env show` prints an explicit "Disabled: no" row and resolves defaulted API/Webapp URLs - env-json.md § Troubleshooting: parse warnings go to stdout (not stderr), once per process; new entries for the disabled-string typo and the hook-under-guard behavior - env/SKILL.md quick-reference troubleshooting: staged-counts-as-tracked, hook exit-0 note, disabled-string entry ## Risks - Docs-only; frontmatter validation passes for all 16 SKILL.md files. Co-Authored-By: Claude Fable 5 <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.
Summary
CLI 3.7.0 is now live on PyPI with the
.dailybot/env.jsonper-repo auth feature. This PR closes the last documentation gaps between the skill pack and the released guard/loader behavior, verified live against the shipped CLI, so an agent following this skill never meets an undocumented edge.What changed
skills/dailybot/shared/env-json.mdgit ls-filesreads the index), the two exact carve-outs (--help/--versionClick short-circuit, and thehookgroup printing the error to stderr while still running and exiting 0 per its always-exit-0 harness contract), and the loud-warning degradation when thegitbinary is missing but a.gitancestor exists.0o600: upgraded to created-with-0o600-from-the-first-byte (os.open, no umask window) + defensive re-chmod on load.disabledmust be a JSON boolean: a hand-edited"true"string warns loudly and the file stays active (usedailybot env off).env showprints an explicitDisabled: norow and resolves defaulted API/Webapp URLs.skills/dailybot/env/SKILL.md— quick-reference troubleshooting mirrors the three new facts (staged-counts, hook exit-0, disabled-string).Verification
env showoutput, wire preference).scripts/validate-frontmatter.py: all 16 SKILL.md files pass.🤖 Generated with Claude Code