p2achai/ADR 2.0 Agent Promotion
Promote AARs under configured docs/aar/ directories to ADRs under docs/adr/, update index.json (agent-friendly).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| llm_provider | LLM provider to use: 'openai' or 'claude' | no | openai |
| openai_api_key | OpenAI API key (required when llm_provider=openai) | no | — |
| openai_model | OpenAI model name | no | gpt-5.1 |
| anthropic_api_key | Anthropic API key (required when llm_provider=claude) | no | — |
| claude_model | Claude model name | no | claude-sonnet-4-6 |
| github_token | GitHub token for creating PRs (PAT recommended; GITHUB_TOKEN may be insufficient in some orgs) | yes | — |
| pr_branch | Branch name for ADR auto-PR | no | adr/auto-update |
| pr_title | PR title for ADR updates | no | chore: ADR auto-update |
| pr_body | PR body for ADR updates | no | Automated ADR updates generated from AARs. |
| pr_base | Base branch for the PR (optional; defaults to repo default) | no | — |
| reviewers | Comma or newline separated GitHub usernames to request as PR reviewers | no | — |
| docs_dirs | Comma or newline separated docs directories to process. Each directory must contain aar/ and adr/. Defaults to docs | no | docs |
| add_paths | Paths passed to create-pull-request add-paths | no | docs/** |
| language | Language to generate ADRs (e.g., en, ko); default en | no | en |
Outputs
no outputs