feat(passthrough): per-verb passthrough builder + -C hoist rewriter (from git_passthrough) #101
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#101
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?
Source:
cmd/coily/git_passthrough.go- builds thecoily git <verb>thin-passthrough set overpassthrough.Command, withgitVerbRewriterthat prepends the git subcommand and hoists a leading-C <path>.What it does: fronts a multi-verb binary (git) as per-verb audited passthroughs, so the group name can also host hardened subcommands (e.g. the
git commitof cli-guard#93). The-C-hoist rewriter is the reusable nugget.Generic core (lift this): the
-C-hoisting rewriter (gitVerbRewriter) and the per-verb-passthrough builder convenience over the existingpassthroughprimitive.Consumer seams to parameterize: the
"git."+verbaudit-verb prefix and thecoily git-flavored usage strings. No paths/orgs/SSM involved.Suggested home (pre-refactor): extend
passthrough.Done when:
godoc-current.txtregenerated (scripts/check-godoc-current.sh --update)make testgreen both sidesclosesthis issueRelated: pairs with cli-guard#93 (the hardened
git committhat replaces the thin passthrough for that one verb).Backlog burndown 2026-06-17: closing low-priority (P3/P4) to bring the open count to a manageable level. Nothing lost — reopen if this resurfaces. Batch tag:
burndown-2026-06.