feat: wardline install — one-command agent enablement + sibling bindings#14
Merged
Conversation
…bling bindings) Closes the push-mechanism gap: a single `wardline install` injects a lightweight hash-fenced block into CLAUDE.md/AGENTS.md, ships the wardline-gate skill, merges a wardline MCP entry into .mcp.json, and detects Clarion/Filigree to set up bindings. Promotes clarion.url/ filigree.url from inert config placeholders to runtime-read fields. No SessionStart hook (deliberate "inject half" of filigree's pipeline). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…h flag>env>config resolution Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
inject_block collapses to a single canonical block (idempotent even if a file already holds multiple blocks) and handles files lacking a trailing newline. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ert .agents overwrite Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…bling + quote cases A URL containing a quote previously produced malformed wardline.yaml that broke the next scan. json.dumps yields a YAML-valid escaped scalar. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ding-summary tests Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Promote [Unreleased] to [0.3.0]; bump _version to 0.3.0 (wardline install). Co-Authored-By: Claude Opus 4.8 (1M context) <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
Adds
wardline install, the "push" mechanism wardline previously lacked: it places wardline's usage guidance where an agent will read it automatically, rather than relying on the agent to discover the MCP server ordocs/agents.md.In one idempotent, non-interactive command it:
CLAUDE.mdandAGENTS.md(always-loaded context pointing at the gate + loop);wardline-gateskill into.claude/skills/and.agents/skills/;wardlineentry into.mcp.json, preserving any existing servers;clarionon PATH /WARDLINE_CLARION_URL) and Filigree (.filigree.conf) and records a binding inwardline.yaml— live when a URL env var is set, otherwise a commented stanza for the user to fill.Prerequisite plumbing:
clarion.url/filigree.urlare promoted from inert config placeholders to runtime-read fields (precedence: CLI flag > env var >wardline.yaml), so a barewardline mcp --root .picks up Clarion from config with no URL duplicated into.mcp.jsonargs.Deliberately the "inject half" of filigree's pipeline — no SessionStart hook, no dashboard, no freshness daemon (freshness is re-run-on-demand). Opt out of any piece with
--no-claude-md,--no-agents-md,--no-skill,--no-mcp,--no-bindings.Design:
docs/superpowers/specs/2026-05-31-wardline-install-command-design.mdPlan:
docs/superpowers/plans/2026-05-31-wardline-install-command.mdTest Plan
pytest— 1001 passed; ruff + mypy cleandetect-writtenclarion.urlround-trips through the config loader and reaches the MCP server"isjson.dumps-escaped and stays valid YAML.mcp.jsoncommand: "wardline"resolves on your PATH layout🤖 Generated with Claude Code