Skip to content

Commit e3393a3

Browse files
authored
docs: add configure command and detect/configure modules to AGENTS.md (#126)
1 parent 69ea244 commit e3393a3

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Alongside the correctly generated pipeline yaml, an agent file is generated from
3434
│ ├── mcp.rs # SafeOutputs MCP server
3535
│ ├── mcp_firewall.rs # MCP Firewall server
3636
│ ├── mcp_metadata.rs # Bundled MCP metadata
37+
│ ├── configure.rs # `configure` CLI command — detects and updates pipeline variables
38+
│ ├── detect.rs # Agentic pipeline detection (helper for `configure`)
3739
│ ├── ndjson.rs # NDJSON parsing utilities
3840
│ ├── proxy.rs # Network proxy implementation
3941
│ ├── sanitize.rs # Input sanitization for safe outputs
@@ -730,6 +732,14 @@ Global flags (apply to all subcommands): `--verbose, -v` (enable info-level logg
730732
- `--allow <host>` - Allowed hosts (supports wildcards, can be repeated)
731733
- `mcp-firewall` - Start an MCP firewall server that proxies tool calls
732734
- `--config, -c <path>` - Path to firewall configuration JSON file
735+
- `configure` - Detect agentic pipelines in a local repository and update the `GITHUB_TOKEN` pipeline variable on their Azure DevOps build definitions
736+
- `--token <token>` / `GITHUB_TOKEN` env var - The new GITHUB_TOKEN value (prompted if omitted)
737+
- `--org <url>` - Override: Azure DevOps organization URL (inferred from git remote by default)
738+
- `--project <name>` - Override: Azure DevOps project name (inferred from git remote by default)
739+
- `--pat <pat>` / `AZURE_DEVOPS_EXT_PAT` env var - PAT for ADO API authentication (prompted if omitted)
740+
- `--path <path>` - Path to the repository root (defaults to current directory)
741+
- `--dry-run` - Preview changes without applying them
742+
- `--definition-ids <ids>` - Explicit pipeline definition IDs to update (comma-separated, skips auto-detection)
733743

734744
## Safe Outputs Configuration
735745

0 commit comments

Comments
 (0)