Skip to content

Add sev help --agent LLM agent reference - #33

Merged
KTSCode merged 7 commits into
mainfrom
todo/sev_help_agent
Jun 5, 2026
Merged

Add sev help --agent LLM agent reference#33
KTSCode merged 7 commits into
mainfrom
todo/sev_help_agent

Conversation

@KTSCode

@KTSCode KTSCode commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add sev help --agent, an LLM-agent-oriented usage reference rendered by a new CLI.agent_usage/0
  • The reference is self-contained: full command set, config resolution precedence, every config key, the publisher spec contract, and the Severance.Status fields a publisher receives
  • Wire a --agent boolean onto the help subcommand; parse_args/1 now returns {:help, :agent}, dispatched separately from path-based usage

Test plan

  • mix test test/severance/cli_test.exs — 71 passed
  • mix quality (pre-commit hook): format, compile, credo, dialyzer, doctor, tests all green
  • New tests cover the {:help, :agent} parse result and assert agent_usage/0 documents commands, config precedence/sources, every top-level config key, the publisher spec keys, and the Severance.Status fields

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e3716eb50d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread lib/severance/cli.ex Outdated
Comment thread lib/severance/cli.ex Outdated
Comment thread test/severance/cli_test.exs
KTSCode added 5 commits June 4, 2026 18:03
The command list, config keys/defaults, and Severance.Status fields in
sev help --agent are now sourced from usage/0, Config.defaults/0, and the
struct instead of being hand-maintained, so they cannot drift. Tests
assert the derivation rather than literal substrings, so they fail if the
reference is hardcoded and diverges from the real spec.
…ence for LLM agents covering all commands, configuration keys and defaults, the publisher contract, and task-oriented setup recipes
@KTSCode
KTSCode merged commit 57f4d14 into main Jun 5, 2026
@KTSCode
KTSCode deleted the todo/sev_help_agent branch June 5, 2026 02:16
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