spec: roll up to Agent CLI Guidelines v0.4.0#1
Merged
Conversation
Add a machine-readable conformance block to `gfly schema --json`
({spec, version, level}) sourced from a new SPEC constant in the package
__init__, and pin the conformance statement to exactly v0.4.0 Full (was an
imprecise "v0.3") in the README and the for-agents reference. Backpressure
(persistent cross-process throttle + circuit breaker, fail-fast) was already
present; no change needed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012UFrhC6bXVpoiiL3yhj2HH
There was a problem hiding this comment.
Pull request overview
Updates gfly’s declared conformance to the Agent CLI Guidelines by adding a machine-readable conformance block to gfly schema --json, centralizing the guideline version in a package constant, and pinning the stated version/level across user-facing docs.
Changes:
- Added
conformancemetadata to the schema JSON output, sourcing the version from a newSPECconstant. - Introduced
SPEC = "0.4.0"insrc/gfly/__init__.pyand imported it into the CLI schema builder. - Updated README/docs and CHANGELOG to explicitly state Agent CLI Guidelines v0.4.0, Full.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/gfly/cli.py | Imports SPEC and adds a conformance block to the schema JSON payload. |
| src/gfly/init.py | Defines the SPEC constant used to declare guideline conformance version. |
| README.md | Pins the conformance statement to v0.4.0, Full in the “For agents” section. |
| docs/src/content/docs/reference/for-agents.md | Updates the conformance documentation to reflect v0.4.0 and the new schema conformance block. |
| CHANGELOG.md | Documents the new schema conformance block and the doc statement pinning. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Rolls gfly up to Agent CLI Guidelines v0.4.0, Full.
Per-rule checklist
gfly schema --jsonnow emits"conformance": {"spec": "agent-cli-guidelines", "version": "0.4.0", "level": "Full"}.The version is sourced from a new
SPEC = "0.4.0"constant insrc/gfly/__init__.py,imported into
cli.pywhere the schema is built (mirrors the examplectl Python idiom).docs/.../reference/for-agents.mdnow readv0.4.0, Full (was an imprecise "v0.3"); CHANGELOG
[Unreleased]documents the bump.needed: persistent cross-process throttle (
throttle.py, XDG state), circuit breaker with abackoff schedule +
record_block/record_success, fail-fast default with opt-in--wait,and real block/CAPTCHA/429 detection wired in
backend.py. Verified, not rebuilt.Verification
python -m pytest -q→ 32 passed (schema-snapshot test included, regenerated for the new block).gfly schema --jsonconfirmed to emit the exact conformance block above.Resulting level: Full @ v0.4.0.
🤖 Generated with Claude Code