Skip to content

Claude/resolve merge conflicts f ppbs#193

Merged
prjseal merged 3 commits intoprjseal:feature/ai-agent-improvementsfrom
hifi-phil:claude/resolve-merge-conflicts-fPPBS
Feb 12, 2026
Merged

Claude/resolve merge conflicts f ppbs#193
prjseal merged 3 commits intoprjseal:feature/ai-agent-improvementsfrom
hifi-phil:claude/resolve-merge-conflicts-fPPBS

Conversation

@hifi-phil
Copy link

No description provided.

Analyse the PSW CLI tool for AI agent usability and document a
prioritised list of 16 improvements across 4 priority tiers. Key
recommendations include structured output modes (--output json/plain),
non-interactive flag, machine-readable help, valid value discovery
commands, distinct exit codes, and stderr/stdout separation.

https://claude.ai/code/session_01GKrYtcRN1vAEWzdPQakFqV
Add machine-readable output modes and automation flags to make the CLI
tool usable by AI agents without parsing decorated Spectre.Console text.

New features:
- --output json|plain flag for structured/plain output
- --script-only flag for raw script output without decoration
- --no-interaction flag to suppress all interactive prompts
- --dry-run flag to validate inputs without generating scripts
- --help-json flag for structured JSON help discovery
- psw list-options subcommand with database-types, starter-kits, defaults
- --template-version flag as explicit alternative to pipe syntax
- Distinct exit codes (0=success, 2=validation, 3=network, 4=execution, 5=fs)
- JSON error responses when using --output json

Breaking change:
- Unified -t and --template-package flags: bare values now treated as
  package names (not versions). Use --template-version or pipe syntax
  (Package|Version) for version specification.

Updated existing tests and added new tests for all new flags.

https://claude.ai/code/session_01GKrYtcRN1vAEWzdPQakFqV
…provements

Merge cli-agent-improvements branch into psw-non-interactive-mode base,
resolving conflicts in CHANGELOG.md, ConsoleDisplay.cs, and CliModeWorkflow.cs.

Both feature sets are preserved:
- Non-interactive mode: --no-run, --save-only, --output-file flags
- Agent improvements: --output json|plain, --script-only, --no-interaction,
  --dry-run, --help-json, list-options command, --template-version,
  distinct exit codes, structured JSON output

Renamed --output (file path) to --output-file to avoid collision with
--output (format: json|plain) from the agent improvements branch.
Updated all tests, help text, and documentation accordingly.

https://claude.ai/code/session_01Y7FREtD8Qgp6zBXMFtVBgW
@prjseal prjseal changed the base branch from main to feature/ai-agent-improvements February 12, 2026 18:54
@prjseal prjseal merged commit 2f85629 into prjseal:feature/ai-agent-improvements Feb 12, 2026
2 checks 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.

3 participants