Skip to content

spec: roll up to Agent CLI Guidelines v0.4.0#1

Merged
rnwolfe merged 1 commit into
mainfrom
spec-rollout/v0.4.0
Jun 25, 2026
Merged

spec: roll up to Agent CLI Guidelines v0.4.0#1
rnwolfe merged 1 commit into
mainfrom
spec-rollout/v0.4.0

Conversation

@rnwolfe

@rnwolfe rnwolfe commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Rolls gfly up to Agent CLI Guidelines v0.4.0, Full.

Per-rule checklist

  • Machine-readable conformance (§5)gfly schema --json now emits
    "conformance": {"spec": "agent-cli-guidelines", "version": "0.4.0", "level": "Full"}.
    The version is sourced from a new SPEC = "0.4.0" constant in src/gfly/__init__.py,
    imported into cli.py where the schema is built (mirrors the examplectl Python idiom).
  • Pinned & tightened statement — README and docs/.../reference/for-agents.md now read
    v0.4.0, Full (was an imprecise "v0.3"); CHANGELOG [Unreleased] documents the bump.
  • Backpressure for the scraped Google Flights backend (§12) — already present, no change
    needed: persistent cross-process throttle (throttle.py, XDG state), circuit breaker with a
    backoff 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 -q32 passed (schema-snapshot test included, regenerated for the new block).
  • gfly schema --json confirmed to emit the exact conformance block above.

Resulting level: Full @ v0.4.0.

🤖 Generated with Claude Code

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
Copilot AI review requested due to automatic review settings June 25, 2026 19:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 conformance metadata to the schema JSON output, sourcing the version from a new SPEC constant.
  • Introduced SPEC = "0.4.0" in src/gfly/__init__.py and 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.

@rnwolfe
rnwolfe merged commit 7c641ff into main Jun 25, 2026
4 checks passed
@rnwolfe
rnwolfe deleted the spec-rollout/v0.4.0 branch June 25, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants