chore: governance templates + ARCHITECTURE.md + Phase 3 API docs#27
Merged
chore: governance templates + ARCHITECTURE.md + Phase 3 API docs#27
Conversation
…ence
Bundles the easy GitHub-side governance items recommended by an external
review (Copilot repo audit, 2026-05-03):
NEW
- .github/ISSUE_TEMPLATE/bug_report.yml — structured bug template with
PM2-service dropdown, audit-log paste, kill-switch reminder
- .github/ISSUE_TEMPLATE/feature_request.yml — feature template with
category dropdown + privacy-alignment checkboxes (local-first)
- .github/ISSUE_TEMPLATE/config.yml — disables blank issues, links to
Discussions for Q&A and avadigital.ai for enterprise
- .github/PULL_REQUEST_TEMPLATE.md — TDD-aligned checklist matching
the Phase 1+2+3 review patterns (audit pairing, kill switches,
out-of-scope, self-review)
- docs/ARCHITECTURE.md — process topology + module relationships +
skill execution paths + Phase 3 sequence diagram (4 Mermaid
diagrams). Maps PM2 services to Phase 1/2/3 layers with state
storage explicitly drawn
MODIFIED
- docs/API.md — added Phase 3 autonomous-agents section between the
pre-Phase-3 Crews and Schedules sections. Documents 13 new endpoints
(/api/agents create/list/detail/approve/reject/revise +
abort/pause/resume/grant/extend_budget +
/api/agents/{id}/messages + /silence + /api/agent_global_grants
GET/POST/DELETE) with curl examples + body shapes + status flow
references
Repo-side change (already applied via gh API):
- GitHub Discussions enabled on AVADSA25/codec
Out of scope (deferred — not "easy from my end"):
- Homebrew formula / PyPI / installers (real packaging work)
- Lint/format CI (existing ci.yml is fine for now)
- Architecture deep-dive per module (covered by per-Phase docs)
- API spec auto-generation from FastAPI (manual is fine while surface
is small)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
External review (Copilot, 2026-05-03) flagged 6 maintenance/distribution items. This PR addresses the 4 that I can do "from my end" without user-side build work. The remaining 2 (Homebrew/PyPI packaging, additional CI checks) need a real packaging push and are deferred.
What this ships
New files
.github/ISSUE_TEMPLATE/bug_report.yml.github/ISSUE_TEMPLATE/feature_request.yml.github/ISSUE_TEMPLATE/config.yml.github/PULL_REQUEST_TEMPLATE.mddocs/ARCHITECTURE.mdModified
docs/API.mdRepo-side (already applied)
gh api PATCH(response:"has_discussions": true)Maps to Copilot review
docs/API.mdPhase 3 section + existing pre-Phase-3 sections)docs/ARCHITECTURE.mdwith 4 Mermaid diagrams)v3.0.0after PR #26 + this PR mergeTest plan
.github/workflows/ci.yml) untouched🤖 Generated with Claude Code