Skip to content

session start: detected repo context, default-config resolution print, --connect degrade#59

Merged
hbrooks merged 1 commit into
mainfrom
default-configs
Jul 17, 2026
Merged

session start: detected repo context, default-config resolution print, --connect degrade#59
hbrooks merged 1 commit into
mainfrom
default-configs

Conversation

@hbrooks

@hbrooks hbrooks commented Jul 17, 2026

Copy link
Copy Markdown
Member

Companion to the monorepo default-configs PR (documents/eng/DEFAULT_CONFIGS.md).

  • agent session start (and the bare agent alias) sends repository ("owner/name" from the origin remote) on POST /v1/sessions, unconditionally: with no config source it selects the repo rung of the server's default-config ladder, and either way the server merges the repo into the sandbox clone set at its default branch. Outside a git repo, nothing is sent.
  • Prints the resolution when a default picked the agent: using config "CI failure triager" (repo default) / (account default); unchanged output when nothing resolved.
  • --connect degrades to --watch with a printed note when the resolved config sets interactive: false (the backend refuses stream/messages for non-interactive sessions).

Requires the monorepo PR to be deployed for the new request/response fields; harmless against older backends (unknown request fields are ignored there, and the resolution print only fires when the response carries the fields).

…n, degrade --connect for non-interactive configs

- Sends repository (owner/name from the origin remote) on POST /v1/sessions, unconditionally: it selects the repo rung of the server's default-config ladder and is merged into the sandbox clone set even with --config
- Prints 'using config "X" (repo default|account default)' when a default resolved
- --connect degrades to --watch with a note when the resolved config sets interactive: false
@hbrooks
hbrooks merged commit 0c18403 into main Jul 17, 2026
1 check passed
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