rename: cli-guard -> agent-guard (the engine guards more than CLIs now) + retire "ward-kdl" #200
Labels
No labels
burndown-2026-06
sunday-sprint
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/cli-guard#200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The opcore extraction (cli-guard#196 / #197-199) made the engine transport-neutral - it now guards MCP surfaces (ward-mcp) as well as CLIs, so "cli-guard" is a misnomer. "agent-guard" names what it actually is: the security boundary between semi-trusted agents and the host/APIs, any transport. It matches the repo's own README ("sits between AI agents and the host system"). Context and the fuller naming POV: coilysiren/inbox#173.
Do not headless-fire this. It is a coordinated, high-blast-radius, multi-repo rename (Go module path + every importer in lockstep). Kai runs it deliberately on a clear day. Filed now so it is captured and scoped, execution is hers to schedule.
Scope - the rename sweep
cli-guard→agent-guardon canonical Forgejo and on the GitHub mirror. Confirm Forgejo leaves a redirect for the old path (web + git remote)..../coilyco-flight-deck/cli-guard→.../agent-guardin cli-guard's owngo.modand every internal import. On Forgejo the module path tracks the repo name, so this is a real path change, not a redirect Go will follow.go.modrequire + everycli-guard/...import (cli/dispatch,http/specverb,http/opcore,pkg/policy, ...).[cli-guard]links and the layer-gradient passages in aosAGENTS.md/CLAUDE.md(they name cli-guard repeatedly), warddocs/architecture.md(the 3-layer model), the pre-commit catalog / cross-repo-contract refs, and the substrate manifest (/substrate/cli-guard)..ward/ward-kdl/andward opsread as a ward-owned dialect. The.guardfile.kdl/.mcp.kdlfile suffixes are fine - they name the format, not the owner.Out of scope (sequence separately)
cli-guard#N) - Forgejo keeps these resolvable through the rename redirect, no rewrite needed.Done
agent-guardis the repo (Forgejo + mirror), the module path, and the name throughout cli-guard's own tree.go.mod+ imports updated in the same coordinated change).Related
coilysiren/inbox#173 (the naming POV), cli-guard#196 / #197-199 (opcore - what made "cli" wrong), ward#630 (the de-monolith that gates the ward → ward-cli rename), cli-guard#163 (neutralize consumer names in engine comments/fixtures) and cli-guard#164 (generator naming soup) - both align with and are partly subsumed by this sweep.