Skip to content

agent config default: show, set, and clear the default-config ladder#60

Merged
hbrooks merged 1 commit into
mainfrom
config-defaults
Jul 17, 2026
Merged

agent config default: show, set, and clear the default-config ladder#60
hbrooks merged 1 commit into
mainfrom
config-defaults

Conversation

@hbrooks

@hbrooks hbrooks commented Jul 17, 2026

Copy link
Copy Markdown
Member

CLI companion to ellipsis-dev/ellipsis#5897, per design doc §9 as confirmed today.

agent config default                     # effective default for the repo you're standing in
agent config default list                # every rung, with broken status
agent config default set <configId>              # account default
agent config default set <configId> --repo       # detected repo's default
agent config default set <configId> --repo owner/name
agent config default clear [--repo [owner/name]] # alias rm

Decisions as confirmed: the group nests under config (alias defaults, per the sub-group precedent), and writes are never cwd-sensitive — a bare set targets the ACCOUNT rung, --repo opts into the repo rung (bare --repo = detected repo). Only the read-only bare agent config default is context-aware, mirroring what session start resolves server-side (client-side over GET /v1/defaults + repoFromCwd, no new endpoint).

Inert against old backends: every verb 404s until the monorepo PR deploys (same shipping pattern as sandbox builds / cli#58). Verified: typecheck, 236 tests, tsup build, compiled binary smoke; commander dispatch of the bare action, sub-verbs, and aliases exercised against prod (GET hits /v1/defaults, 404 as expected pre-deploy).

Do not merge until authorized.

- config default (alias defaults): bare = the effective default for the repo
  you're standing in, computed client-side from GET /v1/defaults + repoFromCwd
- list/ls: every rung with broken status; set <configId> [--repo [owner/name]]
  (no flag = account rung, bare --repo = detected repo); clear (alias rm)
- api: listAgentDefaults/putAgentDefault/deleteAgentDefault over rung-addressed
  /v1/defaults; README + skill notes
@hbrooks
hbrooks merged commit 694615a into main Jul 17, 2026
1 check passed
@hbrooks
hbrooks deleted the config-defaults branch July 17, 2026 21:26
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.

1 participant