Repository navigation
Integrations GitHub reviewer
GitHubReviewer provides the existing strict Jira-and-CI gate and the queued
full pull-request review. /review_pr keeps the strict gate's existing
semantics, but is now asynchronous; /pr_review produces a structured report
against a Jira ticket in the background and sends the result back to the
requesting chat.
-
GitHubReviewerprovidesreview_pr,pr_review, andfull_review_pull_request. -
JobManagersupplies the lifecycle behind the queued commands; see Queued chat commands for platform controls and delivery behavior.
The two queued-review settings are GITHUB_REVIEW_FULL_MAX_TOOL_CALLS
(default 15) and GITHUB_REVIEW_COMMAND_MAX_RUNTIME (default 1800
seconds). Existing GitHub and Jira credentials remain required. The strict
review's GITHUB_REVIEW_MIN_CHECK_PASS_RATIO and
GITHUB_REVIEW_REQUIRE_CHECKS continue to apply only to its CI gate.
/pr_review accepts:
/pr_review <PR> [JIRA-KEY] [--auto-draft] [--dry-run]
<PR> may be a PR URL, owner/repo#123, or a bare number for the configured
repository. Smart-quote dash variants before the two flags are normalized.
--dry-run takes precedence over --auto-draft: it sends the full report to
chat and performs no GitHub write.
/review_pr https://github.com/acme/api/pull/412
/pr_review acme/api#412 NAV-8036 --auto-draft
/pr-review 412 --dry-run
The full-review report has the headings Acceptance Criteria Compliance,
Description Alignment, Code Observations, AI Bot Review Findings,
and Verdict & Recommendation. Except for dry runs, it is posted as a PR
comment. --auto-draft converts only an open PR whose verdict is
does_not_meet; an already-draft PR is reported as such. Full reviews never
submit an APPROVE or REQUEST_CHANGES review.
The full-review command is a queued command: it first returns a job id, then
delivers the completed result asynchronously. An LLM failure ends that job as
failed and writes nothing to GitHub. An explicit Jira key that cannot be read
also writes nothing. With no resolvable ticket, the review runs but its verdict
is capped at needs_attention and auto-draft does not run.
The strict /review_pr path is intentionally different: its failure and
notification behavior stays unchanged, including its configured CI handling.
For both commands, concurrency and deduplication are local to the accepting
wrapper; use /jobs, /job_status, and /job_cancel as described in the
queued-command documentation.
- Queued chat commands — declaration, platform setup, job controls, and operational limits.
- JobManager — local execution and Redis persistence.
An autonomous AI-Parrot agent that reviews GitHub pull requests against the acceptance criteria of the linked Jira ticket, requests changes when the PR deviates from the ticket, and alerts the team through Telegram.
Scope. Today the agent only handles PR review; the
GitHubReviewername is intentionally generic so future revisions can add other code-review duties (security scans, style checks, release gating, etc.) without another rename.
The agent is shipped as parrot.bots.github_reviewer.GitHubReviewer
and follows the same pattern as JiraSpecialist: deployments subclass it
(one subclass per watched repository) and register the subclass with
@register_agent. Save the reference subclass below as
agents/github_reviewer.py in your deployment (agents/ is gitignored
on purpose):
"""Default GitHubReviewer subclass registered with the agent registry."""
from parrot.bots.github_reviewer import GitHubReviewer
from parrot.conf import (
GITHUB_MANAGEMENT_TELEGRAM_CHAT_ID,
GITHUB_REVIEW_PUBLIC_CHANNEL_ID,
GITHUB_REVIEW_REPOSITORY,
GITHUB_REVIEW_STALE_AFTER_HOURS,
GITHUB_REVIEW_TELEGRAM_CHAT_IDS,
GITHUB_REVIEW_WEBHOOK_PUBLIC_URL,
GITHUB_REVIEW_WEBHOOK_SECRET,
)
from parrot.registry import register_agent
@register_agent(name="github_reviewer", at_startup=True)
class DefaultGitHubReviewer(GitHubReviewer):
"""Default reviewer wired from ``parrot.conf`` env vars."""
agent_id: str = "github_reviewer"
def __init__(self, **kwargs):
kwargs.setdefault(
"repository",
GITHUB_REVIEW_REPOSITORY or "phenobarbital/ai-parrot",
)
kwargs.setdefault("alert_chat_ids", GITHUB_REVIEW_TELEGRAM_CHAT_IDS)
kwargs.setdefault("public_channel_id", GITHUB_REVIEW_PUBLIC_CHANNEL_ID)
kwargs.setdefault("management_chat_id", GITHUB_MANAGEMENT_TELEGRAM_CHAT_ID)
kwargs.setdefault("webhook_public_url", GITHUB_REVIEW_WEBHOOK_PUBLIC_URL)
kwargs.setdefault("webhook_secret", GITHUB_REVIEW_WEBHOOK_SECRET)
kwargs.setdefault("stale_after_hours", GITHUB_REVIEW_STALE_AFTER_HOURS)
super().__init__(**kwargs)GitHub Parrot app (aiohttp)
───── ─────────────────────
PR opened ──▶ POST /api/v1/hooks/github
│
▼
GitHubWebhookHook
(HMAC verify,
classify event,
emit HookEvent)
│
▼
HookManager.callback
│
▼ target_id="github_reviewer"
GitHubReviewer.handle_hook_event
│
┌──────────────────┼─────────────────────────┐
▼ ▼ ▼
jira_get_issue get_pull_request_diff submit_pr_review
(description + (Accept: ...v3.diff, (event=REQUEST_CHANGES
acceptance truncated to 50 KB) + Markdown body)
criteria) │ │
│ │ ▼
└──────────┬───────┘ Telegram bot.send_message
▼ ∀ alert_chat_ids
self.ask(prompt, structured_output=PRReviewResult)
A separate path runs daily — two reports on @schedule_daily_report, plus
the Jira ticket summary on its own timezone-aware cron:
APScheduler tick (HH:MM UTC)
│
▼
GitHubReviewer.report_stale_pull_requests()
│
├─ git_toolkit.list_pull_requests(state="open")
├─ collect every PR with age > stale_after_hours
└─ bot.send_message(public_channel_id, one digest with all of them)
GitHubReviewer.today_pr()
│
├─ git_toolkit.list_pull_requests(state="open")
├─ collect every still-open PR created < 24h ago
└─ nothing collected → silent; otherwise one digest message
to management_chat_id
GitHubReviewer.report_jira_tickets() (own cron: 10:00 America/New_York)
│
├─ jira_toolkit.jira_search_issues("project = <JIRA> AND updated >= -14d")
├─ bucket per assignee by statusCategory (open / in progress / closed)
├─ derive the 24h column from each ticket's `updated` (no 2nd call)
└─ no activity → silent; otherwise one monospace table message
to management_chat_id
GitHubReviewer.report_monthly_jira_tickets() (own cron: 1st, 10:00 NY)
│ /monthly_jira_tickets = same,
│ answered in the asking chat
├─ the same search over 30 days, totals per assignee
├─ top 9 wedges + "Others (n)" → altair pie → PNG
└─ no activity → silent; otherwise send_photo (table as caption)
to management_chat_id
The agent reads its configuration from environment variables (via
navconfig). All variables are optional but most deployments will want to
set at least GITHUB_TOKEN, GITHUB_REVIEW_REPOSITORY,
GITHUB_REVIEW_TELEGRAM_CHAT_IDS, GITHUB_REVIEW_PUBLIC_CHANNEL_ID and
GITHUB_MANAGEMENT_TELEGRAM_CHAT_ID.
| Variable | Description |
|---|---|
GITHUB_TOKEN |
PAT with repo scope; auto-subscription also needs hook write (admin:repo_hook classic / repository_hooks=write fine-grained) and the admin role on the repo
|
GITHUB_REVIEW_REPOSITORY |
Default owner/name watched by the bundled subclass |
GITHUB_REVIEW_TELEGRAM_CHAT_IDS |
Comma-separated chat IDs alerted on discrepancies |
GITHUB_REVIEW_PUBLIC_CHANNEL_ID |
Telegram chat/channel for the daily stale-PR summary |
GITHUB_MANAGEMENT_TELEGRAM_CHAT_ID |
Telegram chat/channel for the management reports — today_pr(), the weekly activity digest, report_jira_tickets() and the monthly ticket pie; falls back to the public channel when unset |
GITHUB_REVIEW_WEBHOOK_PUBLIC_URL |
Public HTTPS URL of /api/v1/hooks/github (enables auto-subscription) |
GITHUB_REVIEW_WEBHOOK_SECRET |
Shared secret used to sign and verify webhook deliveries |
GITHUB_REVIEW_STALE_AFTER_HOURS |
Hours an open PR must be unattended before the daily report (default 24) |
GITHUB_REVIEW_MIN_CHECK_PASS_RATIO |
Share of a PR's completed CI checks that must be green for /review_pr to approve it (default 0.8) |
GITHUB_REVIEW_REQUIRE_CHECKS |
Refuse a PR whose head commit declares no checks at all, instead of only warning (default false) |
GITHUB_REVIEW_GOOGLE_API_KEY |
Google credential the reviewer bills its LLM traffic to; unset falls back to GOOGLE_API_KEY
|
JIRA_INSTANCE / JIRA_USERNAME / … |
Jira credentials (same vars consumed by JiraSpecialist) |
JIRA_ACCEPTANCE_CRITERIA_FIELD |
Custom field id for acceptance criteria (default customfield_10100) |
GITHUB_REVIEWER_DAILY_REPORT |
Run-time of the daily stale-PR report, format HH:MM UTC (default 08:00) |
GITHUB_REVIEW_WIKI_ENABLED |
Opt in to codebase context from a local clone and wiki; default false
|
GITHUB_REVIEW_CACHE_DIR |
Cache root; default ~/.cache/parrot/github-reviewer
|
GITHUB_REVIEW_CLONE_BRANCH |
Branch to track; default is the remote's default HEAD branch |
GITHUB_REVIEW_CLONE_DEPTH |
Clone depth; default is full history |
GITHUB_REVIEW_CACHE_MAX_BYTES |
Soft cache cap, default 5 GiB, enforced by LRU eviction |
GITHUB_REVIEW_BUILD_TIMEOUT |
Wiki build timeout in seconds; default 900
|
GITHUB_REVIEW_WIKI_CONTEXT_TOKENS |
Token budget of the injected context block; default 4000
|
GITHUB_REVIEW_WIKI_WAIT |
Max seconds a delivery waits for the wiki refresh before reviewing without fresh context; default 120
|
The reviewer runs on Gemini (gemini-3.7-flash by default) and would
otherwise bill the process-wide GOOGLE_API_KEY, which makes its usage
impossible to meter or rotate apart from every other agent in the same
process. Set GITHUB_REVIEW_GOOGLE_API_KEY to give it a key of its own:
GITHUB_REVIEW_GOOGLE_API_KEY=AIza...reviewerResolution order, applied once in __init__ (before configure() builds the
client):
- the constructor's
google_api_key=argument; -
GITHUB_REVIEW_GOOGLE_API_KEY; - nothing is injected — the Google client resolves
GOOGLE_API_KEYitself, exactly as it did before this knob existed.
The key is injected into the agent's llm_kwargs as api_key, into a new
dict so it never leaks into a caller-supplied or persisted configuration, and
its value is never logged. Three cases leave the agent untouched: an LLM that
is not a Google provider (logged as a warning — the key is configured but
cannot apply), a caller that already passed api_key, credentials_file,
credentials or vertexai, and vertexai=true deployments, which
authenticate through service-account credentials rather than an API key.
integrations_bots.yaml exposes the agent over Telegram:
agents:
ReviewerBot:
chatbot_id: github_reviewer
welcome_message: "GitHub Reviewer is online."The GitHubWebhookHook is added to your HookManager like any other hook:
from parrot.core.hooks import GitHubWebhookHook
from parrot.core.hooks.models import GitHubWebhookConfig
hook = GitHubWebhookHook(GitHubWebhookConfig(
url="/api/v1/hooks/github",
secret_token=GITHUB_REVIEW_WEBHOOK_SECRET,
target_type="agent",
target_id="github_reviewer",
))
hook_manager.register(hook)
hook.setup_routes(app)When GITHUB_REVIEW_WIKI_ENABLED=true the reviewer keeps a local clone of each
watched repository and a wikitoolkit graph built from it, and adds a
token-budgeted context block to the review question. It is off by default.
Snapshot caveat. The wiki describes the base-branch snapshot, not the pull request: PR heads are not checked out. A symbol added by the PR can therefore be absent from this context, and the block is labelled accordingly so the model does not report it as nonexistent.
Cache layout (per repository slug owner-repo, lowercased, under
GITHUB_REVIEW_CACHE_DIR):
<cache>/repos/<slug>/ git clone (tracks the remote default branch unless
GITHUB_REVIEW_CLONE_BRANCH is set)
<cache>/planes/<slug>/ wiki plane, built with `wikitoolkit build
--storage-dir <plane>` (a run-scoped flag, never
persisted into project settings); builds are lean
<cache>/locks/<slug>.lock cross-process lock (plus an in-process asyncio lock)
The reviewer's plane is always isolated from the ai-parrot wiki plane.
Private repositories use the same authentication as the rest of the toolkit
(GitHub App or token); the token is scrubbed from logs. The git and
wikitoolkit executables must be available locally.
Read-only tool surface. Once a build completes, _attach_wiki_toolkits()
registers exactly eight tools and nothing else:
| Tool | Purpose |
|---|---|
code_symbol_lookup(query) |
Find a function/class/method by name or qualname |
code_outline(path) |
List a file's symbols before reading it whole |
code_blast_radius(symbol) |
Every symbol that transitively calls/extends/implements it |
wiki_search_compact(wiki_name, query) |
Token-budgeted page stubs for a question |
wiki_read_page(wiki_name, page_id) |
One page in full |
wiki_expand(wiki_name, page_id, rel?) |
The page's graph neighbourhood |
wiki_find_related(wiki_name, page_id, depth?) |
Multi-hop neighbours |
wiki_browse_pages(wiki_name, category?) |
Stubs by category |
LLMWikiToolkit publishes about twenty-five more coroutines — ingest,
create/update/delete page, create/delete wiki, remember, reingest, export,
rebuild index. All of them are withheld through exclude_tools, computed by
introspection (_read_only_excludes()) so a write tool added by a future
release is excluded by default rather than silently exposed. Note that
confine_sources=True is not this guarantee: it only forces
ingest_source to take an http(s) URL.
The same helper narrows CodeStructuralToolkit, whose three tools are already
read-only, for the same future-proofing reason.
Prompt. The system prompt describes those eight tools — including the
wiki_name every wiki_* call takes and the file: / dir: / sym: page-id
formats — only once they are actually registered, so a reviewer whose clone or
build failed is never told about tools it does not have. This section is
separate from the per-review === Codebase context === block, which carries
pre-searched graph results under GITHUB_REVIEW_WIKI_CONTEXT_TOKENS.
Recovery. A cache entry whose origin URL or branch does not match is
re-cloned exactly once; a second failure degrades instead of looping. A marker
is written before each build; if a build was interrupted the marker stays in
started (incomplete) and the next run rebuilds with --force.
Eviction. The cache is trimmed by least-recently-used order down to
GITHUB_REVIEW_CACHE_MAX_BYTES. Locked entries and the entry being refreshed
are never evicted; a single entry larger than the cap is warned about rather
than thrashed. A full clone is roughly 620 MB and the plane roughly 538 MB, so
the 5 GiB default holds about four ai-parrot-sized repositories. Raise the cap
when watching more, or repositories are re-cloned on every rotation.
Degradation. Clone failure, build failure, build timeout
(GITHUB_REVIEW_BUILD_TIMEOUT), a missing wikitoolkit binary, or a plane
without a last-good marker never block a review: one log line is emitted and the
review falls back to the diff-only prompt.
A delivery waits at most GITHUB_REVIEW_WIKI_WAIT seconds for the refresh, which
overlaps the Jira and diff fetches. A refresh still running after that is not
cancelled: it is shared by later deliveries (one in-flight refresh per reviewer,
the warm-up task included) and finishes for the next review. While a review
runs, it holds a shared read lease on the repository entry, so a refresh or
eviction cannot change the clone or plane underneath it; if the lease cannot be
obtained, the prompt carries no wiki block (the wiki tools stay registered, a
known limitation). Private clones and pulls authenticate through the git
subprocess environment, so the token is never written to .git/config
(requires git 2.31 or newer).
There are two ways to register the webhook on the repository:
-
Automatic (recommended). Set
GITHUB_REVIEW_WEBHOOK_PUBLIC_URLand use a token that can write repository hooks. On startuppost_configure()callsGitToolkit.ensure_webhook(). The call is idempotent: if a hook with the same URL already exists it is reused. Note that the permission is not enough on its own — GitHub requires the admin role on the repository for/hooks, and a fine-grained token never exceeds the role its owner holds. -
Manual. Leave
GITHUB_REVIEW_WEBHOOK_PUBLIC_URLunset (or use a token that cannot write hooks — the call falls back gracefully) and configure the webhook in GitHub UI:- Payload URL:
https://<your-host>/api/v1/hooks/github - Content type:
application/json - Secret: same value as
GITHUB_REVIEW_WEBHOOK_SECRET - Events: select Pull requests only.
- Payload URL:
Only pull_request deliveries with action opened, reopened or
synchronize are processed; everything else returns 200 and is ignored.
setup_webhook_route()'s dispatcher spawns the review in a background task
and lets the route reply 202 at once, instead of awaiting the listeners.
GitHub abandons a webhook delivery after about 10 seconds. A real review takes far longer — 66s measured on a live PR (ticket fetch + diff + wiki-assisted LLM comparison). Awaiting the review inside the request made GitHub record every delivery as failed even when the review was published, and invited a retry of a SHA whose review was already running.
In-flight reviews live in app[GitHubReviewer.WEBHOOK_TASKS_KEY] and are
awaited by an on_cleanup handler, so stopping the server does not kill a
review halfway through. await GitHubReviewer.drain_webhook_reviews(app)
returns how many it waited for — the seam tests use to wait for a dispatch
they deliberately did not await.
A listener that raises is logged by the dispatcher inside the task (and again by the task's done callback if it escapes), never silently dropped.
Routes hook events emitted by GitHubWebhookHook. Ignores events for
repositories other than the one this instance watches (self.repository),
so a deployment that runs several GitHubReviewer subclasses against a
single webhook endpoint is safe.
Invoked automatically by the orchestrator. Returns the same dict produced
by review_pull_request.
The core review primitive. Useful for manual triggers and tests.
Steps:
- Extract a
<JIRA_PROJECT>-\d+key from the PR head branch (head_ref), then frompr_title. The PR body is never scanned: it routinely cites a parent or related ticket before the one under review. With no Jira key, the SDD fallback resolves aFEAT-<NNN>id the same way (branch → title), then from the SDD files the PR itself changes (sdd/tasks/index/*.jsonfeature_id,sdd/specs/*.spec.md**Feature ID**), read athead_sha. -
jira_get_issue→ description + acceptance criteria. -
get_pull_request_diff(truncated tomax_diff_bytes). -
self.ask(prompt, structured_output=PRReviewResult). - If discrepancies are found:
submit_pr_review(event="REQUEST_CHANGES", body=...)-
_notify_telegram_alert→ send a Markdown alert to everyalert_chat_ids.
Return values:
status |
When it happens |
|---|---|
"reviewed" |
Review ran. See approve, discrepancies, summary. |
"no_ticket" |
PR did not reference a <JIRA_PROJECT>-\d+ key. |
"ticket_not_found" |
Jira returned a non-ok envelope. |
"error" |
Internal precondition failed (e.g. missing PR number). |
On-demand strict gate, exposed as a queued command on Telegram, Teams, and Slack (not a schedule). It first acknowledges the request with a job id and delivers this unchanged strict-review verdict when the background job finishes:
/review_pr https://github.com/owner/repo/pull/123
/review_pr owner/repo#123
/review_pr 123 # the configured repository
Declared with parse_mode="raw", so a pasted URL arrives intact — keyword
parsing would mangle it. The reply goes to whoever asked; the consequences
below land on GitHub and the configured strict-review notification channels.
It runs the same review pipeline as review_pull_request (ticket →
acceptance criteria → diff → wiki-assisted LLM comparison) and then adds a
CI gate, which review_pull_request does not have:
The Jira gate decides; CI is a second, optional gate, because "no CI" is not "CI failed":
| Gate | Blocks when | Notes |
|---|---|---|
| Jira | the review did not approve, or raised a blocker/major discrepancy |
always decisive |
| Tests | the declared checks are failing below GITHUB_REVIEW_MIN_CHECK_PASS_RATIO
|
the only CI state that refuses a PR |
The four CI states are kept apart:
| CI state | Verdict |
|---|---|
| green, or green enough ("all OK or a great part") | passes |
| red below the ratio | blocks — draft + comment + notifications |
| still running |
deferred — the PR is left untouched; evidence arrives in a minute and the next push re-runs the review |
| absent or unreadable (no CI in the repo, nothing run for this commit, an outage, a permission a PAT cannot hold) | passes with a non-blocking note; the approval says "this approval rests on the ticket comparison alone" |
The note distinguishes the two ways "no evidence" happens, because they have
different fixes: when a source answered and was empty it reads "no CI run or
status exists for this commit (read: workflow_runs, commit_statuses)"; only
when nothing could be read at all does it blame a permission. answered on the
get_pr_checks payload is what keeps the two apart.
Set GITHUB_REVIEW_REQUIRE_CHECKS=true to make the evidence mandatory: then
missing or unreadable CI blocks too. Leave it off and a configuration problem
can never stall the review flow.
Checks are read from both GitHub APIs — the Checks API (check-runs, where
GitHub Actions reports) and the legacy Commit Status API — because a repo may
use either. Checks still running are counted but excluded from the ratio, so a
half-finished pipeline does not read as half-failing.
Three outcomes:
status |
What happens on GitHub |
|---|---|
"approved" |
APPROVE review. Nothing else is touched. |
"deferred" |
COMMENT review. The PR is left exactly as it is — no draft, no notification. Happens only when checks are still running; an absent or unreadable CI approves with a note instead (see the gate table above). |
"blocked" |
The PR is converted to a draft (GraphQL convertPullRequestToDraft, the only API that can), a comment explains every blocking reason, a REQUEST_CHANGES review is submitted, and the assignee is notified. |
Every outcome reports the ticket comparison — the AC verdict, the review's prose summary and each finding with its severity — not only the merge decision. A deferred review leads with it, because that half of the work did finish:
## Automated review — verdict deferred (NAV-10333)
### Comparison against the ticket
**Every acceptance criterion is addressed by this PR.**
Adds POST /v2/visits and its serializer; AC1-AC3 are covered by the new tests.
**Findings**
- **[MINOR] AC4 — audit log** — the new endpoint does not write an audit entry
### Why the verdict is deferred
No CI check was visible to this token — check_runs denied (needs 'Checks' …),
so the merge verdict is deferred rather than guessed. The PR was left exactly
as it is — neither approved nor converted to a draft.
**CI: no checks declared on the head commit (and check_runs denied to this token)**A blocked PR produces three notifications, each independent so one failure cannot swallow the others:
-
Private DM to the Jira assignee — resolved against
conf.JIRA_USERSby e-mail (jira_username/username), JiraaccountId(jira_account_id/id) or display name (name). No roster match → no DM, logged at INFO. -
Public channel (
GITHUB_REVIEW_PUBLIC_CHANNEL_ID), mentioning the assignee. The mention is a real@usernamewhen the roster entry carriestelegram_username, otherwise atg://user?id=…link — which notifies the person in a group exactly like an@mentionand is the only way to mention someone whose Telegram username is unknown. - The PR comment itself
@-pings the PR's GitHub author.
"no_ticket", "ticket_not_found" and "error" behave as in
review_pull_request; a PR that is not open is refused before any review runs.
The webhook path deliberately keeps its gentler behaviour —
review_pull_request never drafts a PR — so the two do not share
orchestration, only helpers. A drafted PR is cleared by fixing the reasons,
pushing, and marking it ready for review (or by running /review_pr again).
Permissions: converting to draft needs the same pull_requests: write the
reviewer already uses to submit reviews. Reading CI needs two independent
permissions, because the two APIs are separate:
get_pr_checks reads three sources, each behind its own permission:
| Source | Endpoint | Needs | Fine-grained PAT row | Classic PAT |
|---|---|---|---|---|
| Check runs (Actions + every CI app) | commits/{sha}/check-runs |
checks=read |
not available — see below | repo |
| Workflow runs (Actions only) | actions/runs?head_sha= |
actions=read |
Actions → Read-only | repo |
| Commit statuses (Jenkins, Travis, scripts) | commits/{sha}/status |
statuses=read |
Commit statuses → Read-only | repo |
A fine-grained PAT can never read check runs. GitHub disabled the
checkspermission for PATs — only GitHub Apps can hold it — even though the Checks API docs still list fine-grained tokens as supported (community discussion 129512). Sochecks=readin the 403'sx-accepted-github-permissionsheader names a row that does not exist in the token UI, and the reviewer says so instead of sending an operator hunting for it.
Because of that, the Checks API is only attempted: when it is refused, the reviewer falls back to workflow runs, which is the one Actions source a PAT can read. Workflow runs are queried only in that case — every workflow run also surfaces as a check run, so querying both would double-count. The fallback loses check runs posted by third-party apps (SonarCloud, Codecov…); that is the price of a PAT, and the partial picture is disclosed as a non-blocking warning on the verdict.
A missing permission never stalls the review. If every CI source is refused, the reviewer says so in the review body — naming the permission to grant — and lets the ticket comparison decide. Reviews keep working while the token is being fixed.
Two name traps worth calling out:
-
Actions ≠ Workflows. The Workflows permission only allows committing
files under
.github/workflows. Reading runs is Actions. - The API says
statuses, the UI row is Commit statuses.
Pick one of these three setups:
| Setup | Sees check runs from third-party apps? | Notes |
|---|---|---|
| Fine-grained PAT + Actions + Commit statuses (read) | No | Simplest; covers Actions pipelines and legacy statuses |
Classic PAT with repo
|
Yes | Broadest privileges |
| GitHub App with Checks (read) | Yes | Already supported — GitToolkit(auth_type="github_app", app_id=…, installation_id=…, private_key=…)
|
On an org-owned repository, changing a fine-grained PAT's permissions may also need an organization owner to approve it before it takes effect.
A 403/404 on one of them does not discard the other: the denial is listed
in denied, explained in reason (naming the missing permission), and the
verdict only becomes "unknown" when the evidence really is. Three cases:
- One API denied, the other has checks → the verdict proceeds on the partial picture, with a non-blocking warning saying part of it is missing.
-
One API denied and nothing else visible →
deferred. Zero visible checks behind a denial is not "this repo has no CI": the evidence may exist and simply be invisible, so the PR is never approved and never drafted on it.GITHUB_REVIEW_REQUIRE_CHECKSdoes not turn this into a blocker either — a missing token scope is not the developer's fault. -
Both denied →
deferred, same reasoning.
A 500 (an outage, not a permission answer) still raises and is reported as "CI status could not be read".
So a fine-grained PAT without Checks on an Actions-only repository defers every verdict, and the PR comment names the exact permission to grant. That is the designed signal, not a silent pass.
Decorated with @schedule_daily_report. Lists every open PR on
self.repository, computes the age from created_at, and announces
every PR older than stale_after_hours to public_channel_id as a
single Telegram digest message (numbered list, one line per PR).
The digest is split into as few messages as still fit only when it
would exceed Telegram's 4096-character limit, in which case each part
carries its own header and a (part n/m) marker. Returns counts:
{
"status": "ok",
"repository": "owner/name",
"open_count": 17,
"stale_count": 4,
"announced": 4, # stale PRs covered by a successful send
"messages_sent": 1, # Telegram messages it took
"stale": [...],
}Override the run-time per deployment via the <AGENT_ID>_DAILY_REPORT
environment variable, format HH:MM (UTC). For the default subclass that
is GITHUB_REVIEWER_DAILY_REPORT=09:30.
Also decorated with @schedule_daily_report, so it fires at the same
<AGENT_ID>_DAILY_REPORT time as the stale-PR report, as a separate
APScheduler job (auto_<bot>_today_pr).
Lists open PRs only (state="open", double-checked per payload so a
closed or merged PR can never slip in) and keeps those created less than
window_hours ago — 24h by default. A PR opened and merged the same day
is therefore not reported: the digest is a review queue, not an
activity log. The survivors go out to the management channel
(management_chat_id — GITHUB_MANAGEMENT_TELEGRAM_CHAT_ID) as a
single Telegram digest opening with Review Today's Pull Requests.
Like the stale digest it only splits when it would exceed Telegram's
4096-character limit.
When no open PR was created in the window — or the repo has no PRs at
all — the method terminates silently: no Telegram message,
today_count: 0, and an INFO log line.
{
"status": "ok",
"repository": "owner/name",
"window_hours": 24,
"today_count": 3,
"announced": 3, # PRs covered by a successful send
"messages_sent": 1,
"today": [...], # number/title/html_url/user/age_hours/state ("open")
}The Jira-side counterpart of report_stale_pull_requests(), over the same
jira_project the reviewer already resolves PR tickets against. One JQL
search — project = <JIRA_PROJECT> AND updated >= -{window_days}d — is
bucketed per assignee into open / in progress / closed and reported in
two columns: the last recent_hours (24h by default) and the last
window_days (14 days by default). The short column is derived locally from
each ticket's updated stamp, so the whole report costs a single Jira
round-trip.
Buckets come from Jira's status.statusCategory.key
(new / indeterminate / done), not from status names, so a workflow that
renamed "In Progress" to "Doing" still reports it as in progress. Jira Server
instances that omit the category fall back to matching the status name, and an
unrecognised status counts as open — a ticket is never dropped from the digest.
Scope is activity, not backlog: a ticket nobody touched inside
window_days appears in neither column.
The digest is one Telegram message to the management channel
(management_chat_id — GITHUB_MANAGEMENT_TELEGRAM_CHAT_ID), with a
monospace <pre> table:
Jira tickets by assignee on NAV
8 tickets with activity in the last 14d
O = open · P = in progress · C = closed
last 24h last 14d
Assignee O P C O P C
-----------------------------------------
Jesus Lara 1 1 1 1 1 3
Carolina Marti… 1 0 0 1 0 1
Unassigned 1 0 0 1 0 0
TOTAL 3 1 1 3 1 4
Rows are sorted by long-window volume; the name column is clamped so the table
stays aligned. A project with enough assignees to exceed Telegram's
4096-character limit is split into as few messages as still fit, each with its
own header and (part n/m) marker — the TOTAL row rides on the last part
only. When no ticket was touched in the window the method terminates
silently, like today_pr().
{
"status": "ok",
"project": "NAV",
"jql": "project = NAV AND updated >= -14d ORDER BY updated DESC",
"recent_hours": 24,
"window_days": 14,
"ticket_count": 8,
"assignees": [
{
"assignee": "Jesus Lara",
"recent": {"open": 1, "in_progress": 1, "closed": 1, "total": 3},
"window": {"open": 1, "in_progress": 1, "closed": 3, "total": 5},
},
# ... one row per assignee, sorted by the long-window total
],
"totals": {"recent": {...}, "window": {...}},
"announced": 3, # assignee rows covered by a successful send
"messages_sent": 1,
}Scheduled daily at 10:00 America/New_York with
@schedule(schedule_type=ScheduleType.CRON, hour=10, minute=0, timezone="America/New_York"), so it does not read
<AGENT_ID>_DAILY_REPORT and does not share the stale-PR tick. The timezone
is a zone name, not a fixed offset, so the job tracks DST by itself: 14:00 UTC
while New York is on EDT, 15:00 UTC on EST. ScheduleType.DAILY could not
express this — it builds a CronTrigger with no timezone, which can only fire
on the scheduler's own (UTC) clock. Change the hour in
_TICKET_REPORT_HOUR / _TICKET_REPORT_TIMEZONE (module level in
github_reviewer.py) to move it.
Without a working jira_toolkit it returns {"status": "error", "reason": "jira_toolkit not configured"} and sends nothing.
The same JQL and bucketing as report_jira_tickets(), over 30 days
instead of 14, delivered as a pie chart of each assignee's share of the
month's ticket activity plus the ranking behind it.
Wedges come from each assignee's long-window total, biggest first; the tail
past _TICKET_PIE_MAX_SLICES (9) is folded into a single Others (n) wedge,
because a pie with forty slivers reads as a colour wheel rather than a report.
Assignees with no ticket in the window are dropped. Scope is activity, not
backlog, exactly as in the daily digest, and a month with no activity exits
silently.
The PNG is rendered by parrot_tools.chart.generate_chart("pie", …, output_format="png") (altair), which needs the optional vl-convert-python
dependency (ai-parrot-tools[charts]). Without it the chart tool writes a
Vega-Lite JSON spec, which Telegram cannot display, so the report degrades to
the text table alone — a missing chart never costs the numbers.
Delivery goes to the management channel (management_chat_id —
GITHUB_MANAGEMENT_TELEGRAM_CHAT_ID). The table rides as the photo's caption
when it fits Telegram's 1024-character cap, so the channel shows one item
instead of two; otherwise it follows as its own message. If the photo fails to
send, the digest still goes out on its own.
Jira tickets by assignee — last 30 days on NAV
41 tickets with activity, 4 assignee(s)
Ana Pérez 18 43.9%
Bob Smith 12 29.3%
Carla Nuñez 7 17.1%
Unassigned 4 9.8%
--------------------------------
TOTAL 41 100.0%
{
"status": "ok",
"project": "NAV",
"window_days": 30,
"ticket_count": 41,
"wedges": 4, # slices drawn ("Others" counts as one)
"chart": "chart_c84d26f0.png", # None when PNG export was unavailable
"messages_sent": 1,
}Scheduled monthly, on the 1st at 10:00 America/New_York with
@schedule(schedule_type=ScheduleType.CRON, day=1, hour=10, minute=0, timezone="America/New_York") — the same timezone-aware cron as the daily
ticket digest, and for the same reason: there is no monthly report type, and a
report-marked schedule would have its config re-resolved from
<AGENT_ID>_DAILY_REPORT and fire on the scheduler's UTC clock. Move it with
_TICKET_MONTH_REPORT_DAY / _TICKET_REPORT_HOUR / _TICKET_REPORT_TIMEZONE.
The on-demand twin of the report above, exposed to Telegram as
/monthly_jira_tickets (@telegram_command, keyword parsing — so
/monthly_jira_tickets window_days=60 works; Telegram passes arguments as
strings and the value is coerced, falling back to 30 when unusable). The
wrapper discovers it at bot startup and publishes it in the command menu; no
extra configuration is needed.
It sends nothing itself. It returns a ChartReply — output (the ranking
text) and charts ([{"path", "title", "chart_type", "format"}]) — which is
duck-typed to what parrot.integrations.parser.parse_response() reads off an
AIMessage. The channel wrapper does the delivery: Telegram as a photo via
bot.send_photo, MS Teams as a card image. That is why the method never needs
to know which chat asked, and why the same reply works on any channel.
Its text is Markdown-fenced on purpose: the wrapper runs it through
Markdown→HTML, and the fence makes that pass escape the assignee names, so a
display name like A & <b>B</b> cannot reach Telegram as broken entities.
(The scheduled report talks to the Bot API directly, so it escapes into a
<pre> block itself.)
Jira failures come back as a one-line notice in output, not an exception.
Public on the toolkit. Used by post_configure for auto-subscription but
also callable from your own scripts. Status values: "created",
"already_exists", "no_permission", "error".
Failure results (no_permission, error) also carry the HTTP context of
the refused call, so a caller can log the real cause instead of guessing:
| Key | Meaning |
|---|---|
operation |
"list" or "create" — which /hooks call failed |
status_code |
HTTP status returned by GitHub (None if no request was made) |
api_message |
GitHub's own message field, e.g. Resource not accessible…
|
required_permission |
The x-accepted-github-permissions header, e.g. repository_hooks=write
|
message |
Full raw error string (unchanged, always present) |
A single subclass watches one repository. To watch several, subclass once
per repo. Each subclass needs its own agent_id and registration name:
@register_agent(name="github_reviewer_navigator", at_startup=True)
class NavigatorReviewer(GitHubReviewer):
agent_id: str = "github_reviewer_navigator"
def __init__(self, **kwargs):
kwargs.setdefault("repository", "phenobarbital/navigator")
kwargs.setdefault("jira_project", "NAV")
kwargs.setdefault("alert_chat_ids", GITHUB_REVIEW_TELEGRAM_CHAT_IDS)
kwargs.setdefault("public_channel_id", GITHUB_REVIEW_PUBLIC_CHANNEL_ID)
kwargs.setdefault("management_chat_id", GITHUB_MANAGEMENT_TELEGRAM_CHAT_ID)
super().__init__(**kwargs)Wire each subclass to its own GitHubWebhookHook (e.g.
/api/v1/hooks/github/navigator) targeting the matching agent_id, or
share one endpoint and let the repository guard inside
handle_hook_event route events to the right instance.
-
HTTP 401 from
/api/v1/hooks/github: signature mismatch. Check thatGITHUB_REVIEW_WEBHOOK_SECRETmatches the secret configured in the GitHub UI. The hook usesX-Hub-Signature-256(HMAC-SHA256). -
status="no_permission"in startup logs: GitHub refused/hooks. The log line now quotes the status, GitHub's own message and thex-accepted-github-permissionsheader, e.g. HTTP 403; Resource not accessible by personal access token; endpoint wantsrepository_hooks=write. Two distinct causes produce it:-
Missing permission — grant hook write (classic
admin:repo_hook, or fine-grained Repository permissions → Webhooks: Read & Write; the identically named Organization permissions → Webhooks does not count). On an org that reviews token grants, a permission added to an existing token stays pending approval while the already-approved ones keep working, which looks exactly like this. -
Missing role —
/hooksrequires admin on the repository, and a fine-grained token cannot grant more than its owner holds. CheckGET /repos/<owner>/<repo>→permissions.admin; if it isfalse, no token setting will fix it, so either raise the user's role or fall back to manual setup.
-
Missing permission — grant hook write (classic
-
status="no_ticket": neither the PR branch name nor its title included a<JIRA_PROJECT>-\d+reference (the body is not scanned), and no SDD feature id could be resolved either. Educate authors or changejira_project=for the agent. -
status="ticket_not_found": the Jira instance returned no ticket. VerifyJIRA_INSTANCE, the credentials, and that the bot user can read the target project. -
Diff truncated: PRs larger than
max_diff_bytes(default 50 KB) are truncated. The LLM is instructed to acknowledge truncation. Bump the limit on the constructor if you need more context, but watch token cost. -
No Telegram alerts: confirm the bot is exposed in
integrations_bots.yaml, thatset_wrapper()was called by theTelegramAgentWrapper, and thatalert_chat_idsis non-empty. -
Daily report did not run: check
scheduler_manager.register_bot_schedules(agent)was called for this agent at startup, and inspect the scheduler logs for the jobs namedgithub_reviewer.report_stale_pull_requestsandgithub_reviewer.today_pr(both daily, sameHH:MM).github_reviewer.report_jira_ticketsis a separate cron job and ignores that env var — it fires at 10:00America/New_York. -
today_pr()sent nothing: that is its documented behaviour when no open PR was created inside the window (a PR opened and already merged does not count) — look for the INFO line "no open PR created on … in the last 24h; staying silent". -
report_jira_tickets()sent nothing: either no ticket was touched inside the window (INFO line "no … ticket touched in the last 14d; staying silent") orjira_toolkitisNone— the latter returns{"status": "error", "reason": "jira_toolkit not configured"}and is logged at startup by_build_jira_toolkit().
GitHubReviewer exposes three on-demand code-retrieval tools to the LLM so
it can pull additional repository context during a PR review when the diff
alone is insufficient.
The tools are registered automatically during post_configure() via
_attach_toolkit(git_toolkit, "Git"). If the LLM is confident in its verdict
from the diff alone it returns PRReviewResult directly without calling any
tools.
-
get_file_content_at_ref(path, ref, start_line?, end_line?)— full file body at a given commit, branch, or tag. Supports line slicing for large files viastart_line/end_line. Results are SHA-keyed in a two-tier cache (in-process LRU + optional Redis) so repeated requests for the same ref within a session cost no extra HTTP calls. -
compare_pr_versions(pr_number, path)— base and head versions of a single file in the PR, both as full content. Use when the diff hunk is too small to see the full before/after of a refactored function or class. -
search_repo_code(query)— GitHub Code Search restricted to the PR's own repository on its default branch. Use when you suspect a changed symbol has callers or related code that are not shown in the diff. Note: rate-limited to 30 requests/minute; returnserror='rate_limited'instead of raising when the quota is exceeded.
| Env var | Default | Purpose |
|---|---|---|
GITHUB_REVIEWER_MAX_TOOL_CALLS |
5 |
Hard cap on tool calls per review session |
GITHUB_REVIEWER_BLOB_CACHE_TTL |
604800 |
SHA-keyed blob cache TTL in seconds (7 days) |
REDIS_URL |
unset | Optional Redis URL for shared cross-process blob cache |
The max_review_tool_calls constructor kwarg takes priority over the env var:
reviewer = MyReviewer(
repository="owner/repo",
max_review_tool_calls=10, # overrides GITHUB_REVIEWER_MAX_TOOL_CALLS
)Setting max_review_tool_calls=0 reverts to the original one-shot review
behaviour (no tool calls attempted; max_iterations=1 is passed to ask()).
When the LLM exhausts its tool-call budget the reviewer emits a single
WARNING log line:
GitHubReviewer: PR <repo>#<pr_number> hit tool-call cap (count=<N>, tools=<names>)
If this warning fires frequently in production, consider raising
GITHUB_REVIEWER_MAX_TOOL_CALLS (or the constructor kwarg). The cap exists
to bound LLM token cost and latency on every review.
Every Monday at 09:00 UTC (configurable), the agent posts a contributor
activity digest to the management channel
(GITHUB_MANAGEMENT_TELEGRAM_CHAT_ID, falling back to
GITHUB_REVIEW_PUBLIC_CHANNEL_ID when that is not set) — not to the public
channel that gets the stale-PR nag.
The digest is produced by report_weekly_activity(), decorated with
@schedule_weekly_report.
export PARROT_REVIEWER_WEEKLY_REPORT="MON 09:00"Format is DDD HH:MM (UTC). Day abbreviations: MON, TUE, WED, THU,
FRI, SAT, SUN.
| Env var | Default | Notes |
|---|---|---|
GITHUB_REVIEW_SILENT_WEEKS_THRESHOLD |
3 |
Consecutive zero-commit weeks before a contributor is flagged silent |
GITHUB_REVIEW_USE_LLM_SUMMARY |
false |
Re-phrase numbers as prose via the agent's LLM (templated output is always the source of truth; LLM failures fall back automatically) |
GITHUB_REVIEW_WEEKLY_LOOKBACK_WEEKS |
4 |
Reserved — not yet wired in v1; planned for future per-threshold window control |
GITHUB_REVIEW_STATS_RETRY_DELAY |
900 |
Seconds to wait before re-running the report when GitHub's stats cache is still cold (see below) |
GITHUB_REVIEW_STATS_RETRY_MAX |
3 |
How many deferred re-runs to attempt before leaving it to the next scheduled run |
GitHub computes /stats/* lazily. The first request for a repository whose
cache is cold returns 202 Accepted and only starts the computation, which
on a large repository takes minutes — longer than the toolkit's in-call 202
budget (_get_stats_with_polling, 7 attempts over ~63s). /stats/contributors
usually warms in seconds while /stats/code_frequency lags well behind it, so
a partial 202 is the normal case, not an edge case.
When that budget runs out the toolkit raises StatsNotReadyError (a
GitToolkitError subclass, so existing handlers still catch it) and
report_weekly_activity() defers instead of failing:
- it logs a warning without a traceback — a stack trace here would describe documented GitHub behaviour, not a defect;
- it returns
status="stats_pending"withretry_scheduled,retry_inandattempt, and posts nothing to Telegram; - it arms a single deferred re-run
GITHUB_REVIEW_STATS_RETRY_DELAYseconds later (never two at once), up toGITHUB_REVIEW_STATS_RETRY_MAXtimes. The attempt that timed out is what warms GitHub's cache, so the deferred run normally gets200.
A completed run resets the budget, and shutdown() cancels a pending deferral
so it never outlives the agent.
Partial digest once the deferrals are spent. The two stats calls are
gathered with return_exceptions=True, so a pending code_frequency no longer
discards contributor stats that already arrived. When the deferral budget is
exhausted and the contributor slices are usable, the digest goes out anyway:
-
code_frequencyfeeds exactly one figure — the week-over-week line delta. The commits delta is summed from the contributor slices, so it stays real. -
WeeklyActivitySummary.code_freq_availableis thenFalse, the line delta renders asn/ainstead of▲ new(itsprev_total_*zeros are unknown, not measured), both the templated and the LLM output carry a "Partial data" notice, and the result dict reportspartial: true. - Pending contributor stats never degrade — they carry the whole digest, so that case still defers and publishes nothing.
- A non-202 failure of either call is still
status="error"with its traceback.
Weekly activity — owner/repo
Period: 2026-05-10 → 2026-05-16
20 commits (▼ -26%)
2,446 added / 510 removed (▼ -38%)
Top contributors
1. alice — 12 commits, 1,834 / 421
2. bob — 8 commits, 612 / 89
Silent contributors
charlie — silent 3 weeks
Posted by the GitHubReviewer agent.
APScheduler tick (DDD HH:MM UTC)
│
▼
GitHubReviewer.report_weekly_activity()
│
├─ git_toolkit.get_contributor_stats(repository)
├─ git_toolkit.get_code_frequency(repository)
│ └─ StatsNotReadyError (persistent 202) → _defer_weekly_report()
│ → status="stats_pending", re-run armed, nothing sent
├─ _build_weekly_summary(contributors, code_freq, ...)
├─ [optional] _llm_summarize_weekly(summary) ← only if use_llm_summary=True
└─ bot.send_message(management_chat_id, html, parse_mode="HTML")
The report names individual contributors by their GitHub login. Operators are responsible for informing contributors that their activity is being aggregated and broadcast, and for ensuring that access to the destination Telegram channel is appropriately restricted.
- 1. MCP Server — exposing tools as a service
- 2. A2A — exposing agents and orchestrators as services
- 3. Toolkits for third party services and Cloud Security composition
- 4. Interaction surface — WebSockets, audio, integrations
- 5. Hardening — anti prompt injection, PBAC and tool gating
- 6. Cross cutting concerns and reference deployment
- 7. AgentCrew — Sequential, Parallel, Flow and Loop execution
- 8. AgentsFlow — DAG first orchestration with per node FSM
- 9. Ontologic RAG — graph first retrieval, intent routing & multi tenant knowledge
- 10. Observability — OpenLIT + OpenTelemetry
- Class Catalog by Module
- Module level Functions Catalog
- AI Parrot — Exposure, Interoperability & Hardening Architecture
- Agent Mesh
- AgentService — Standalone Runtime for Autonomous Agents
- AbstractClient: The Provider Client Family
- Anthropic client
- Bedrock Mantle Client
- TypeSafe System One Client (
JevClient) - Meta Model API Client (Muse Spark)
- OpenAI Compatible Client Base (
OpenAIBaseClient) - Per Loop LLM Client Cache
- Question Token Budgets (Bedrock Converse, Nova text, Bedrock Mantle)
- Agent Configure Lifecycle
- AgentTalk Integration Guide
- Agent Configuration via
agents.yaml - AgentFactory HTTP API
- Agent Studio — API Reference
- Agent CLI Daemon (agentd)
- FirefliesInsightsAgent
- Follow up Suggestion Chips (FEAT 752)
- Agents and Chatbots: The Bot Class Hierarchy
- Agent Studio — database storage (host guide)
- Ephemeral User Agents — Frontend Integration Handoff
parrot agent— Agent Terminal Workspace- Crew Handler
- Database Agent
- Running the CVE Experts
- Domain Experts (FEAT 778)
- FEAT 437
- Technical Voice Guide (AgentTalk Voice) for Frontend
- AgentDashboard — A2UI v1.0 Technical Reference for
navigator frontend next - Semantic UI Model → Adaptive Cards (FEAT 303)
- Exposing an AI Parrot Agent as an MCP Server
- AgentCrew User Guide
- AgentsFlow User Guide
- Crew Definition Storage
- A2UI Agent Functions Runtime — the v1.0 RPC leg (FEAT 469)
- Capabilities of an AI Parrot Analytical Agent (PandasAgent)
- Agent Security Guardrails (FEAT 761)
- SpawnSubAgentTool
- Testagent
- Agentic End to End Testing (FEAT 581)
- Uiagent
- WebAgent — Browser Interaction via Chrome DevTools
- WebNavigatorAgent — Catalogued Web Navigation on Your Chrome Profile
- ExecutionMemory Integration Guide
- Agent Brain
- Agent Memory
- Conversation History Ownership
- Conversation Memory Subsystem Overview
- Dream Cycle — episodic → wiki brain consolidation
- Durable Conversation Memory
- Memory Dynamics
- Per Turn Conversation Compaction
- Recoverable Task Memory (FEAT 538)
- Task Memory — Phase 0 Integration Map (FEAT 538 / TASK 2970)
- User Memory
- Bookstore Agentic Retrieval
- Bookstore in Codex
- Bookstore Conceptual Relations — the book graph (FEAT 533)
- Bookstore notebooks
- Contracts catalog performance (FEAT 539, AC14)
- Contracts pilot acceptance — Bob's twelve cases (FEAT 539, AC15)
- Contracts Card & Ontology (FEAT 539)
- Luau parser resource policy (FEAT 532 TASK 2896)
- Glossary of Terms (FEAT 917)
- GraphIndex core seams (FEAT 540)
- GraphIndex — Structured Knowledge Graph Indexing
- Local Knowledge Base
- Procedure Graph — Assembly Manuals (FEAT 601)
- Ontology backend programme
- Ontology vocabulary store
- PageIndex Agentic Retrieval and Citations
- PageIndex Generation Publication
- PageIndex Layout Structure Builder
- PageIndex Local MCP Toolkit
- PageIndex Segment Store
- PageIndex Tree Optimizer
- PageIndex — Tree Based RAG for Document Retrieval
- ArxivTool for AI Parrot
- Accounting metrics layer
- Tool Result Compression Pipeline (FEAT 380)
- DatasetManager Implementation Walkthrough
- FredAPITool Documentation
- EmployeesTool Employee Hierarchy Tool for AI Parrot
- HoobaToolkit
- Jira text templates (JiraToolkit)
- Expose Toolkits as Local MCP (
parrot mcp local) - MultiStoreSearch Toolkit — Multi Origin Retrieval for Agents
- Supervised Obscura Browser Integration
- OdooHelpdeskToolkit — Softhealer helpdesk on Odoo 19
- OdooToolkit Capabilities
- QuerysourceToolkit
- ReadOnlyRepoToolkit (FEAT 484)
- PythonREPLTool Sandbox: Worker Process Execution Model
- Research Tools for Agents
- gVisor Installation Guide for AI Parrot Secure Sandbox
- SDD Sandbox — OS Setup
- Governed semantic layer
- Tool optimizations for Claude Code and Codex (FEAT 543)
- AbstractTool Clone Method
- Toolbar API Documentation
- AudioNoteCaptureToolkit
- ExecutionPlanToolkit — Reference
- Host toolkits for Agent Studio
- Infographic Authoring for Data Agents (FEAT 326)
- InfographicToolkit — Reference
- Tool System Internals: Tools, Toolkits and ToolManager
- AI Parrot Tools Documentation
- What If Scenario Analysis
- Workday worker history
- DecisionFlowNode Usage Guide
- Multi Agent Orchestration: AgentCrew and AgentsFlow
- Docker Tool Executor & Execution Policy
- Generic Gate Host
- HeartbeatManager — Per Agent Autonomous Heartbeat Loop
- JobManager
- Node Types Reference
- OrchestratorAgent — Multi Party Conferencing (
confer) - Planogram compliance cycle (perceive → identify → compare)
- Planogram compliance — migrating configurations to the new cycle (FEAT 574, FEAT 612)
- Planogram perception spike — FEAT 574
- Scheduler backends in multi worker deployments
- Thales User Guide
- Per tenant skills (FEAT 707)
- Skill routing and trigger caching
- Skills system: discovery, toolkits and mixin
- Contextual Embedding Headers
- DocumentDB Usage Patterns
- DocumentDB Interface Guide
- DynamoDB Local (docker compose)
- Fully offline local agent with LanceDB (FEAT 542)
- LanceDB vector, full text and hybrid store (FEAT 542)
- Loader Metadata Standard
- Document Loaders for RAG
- Matryoshka Embedding Truncation
- Parent Child Retrieval (Small to Big)
- Storage Backends Guide
- User stores (Redis by default)
- Vector Stores and Embeddings Reference
- Vector Store Handler — API Reference
- A2A Secure Communication Demo
- Agent as a Local MCP Server (parrot toolkits install agent)
- add repository:
- GitHub MCP Installation and Usage
- MCP integration: client, server and agent tools
- Create and configure agent
- Roost — local inter agent sub protocol
- Roost carriers
- Roost performatives, protocols and obligations
- Simple Mcp Server
- SimpleMCPServer Configuration
- API Endpoints Reference
- Admin UI (FEAT 468)
- Infographic Render Endpoint — Reference
- EventBus v2 Configuration Reference (
[bus]/[bus.alerts]) - EventBus v2 Migration Notes (FEAT 310)
- EventBus v2 — Unified Event Fabric (FEAT 310)
- Session file store
- A2UI Dashboard + Widget Renderer — Frontend Build Guide
- Avatar Technical Guide (LiveAvatar Phase A) for Frontend
- Frontend Guide for SvelteKit: LiveAvatar FULL Mode and VoiceBot (FEAT 248)
- DEPRECATED: Native Voice Avatar (LiveAvatar Phase C) Technical Guide for Frontend
- Technical Guide to Structured Artifacts for Frontend
- VoiceBot · VoiceChatHandler · FEAT 245 — Frontend Guide for Realtime Conversation with Agents
- Server Layer: BotManager and HTTP Handlers
- Infographic Handler — Frontend API Contract
- Interactive Artifacts — Frontend API Contract
- Google Drive file manager
- SharePoint & OneDrive file managers
- WhatsApp Integration Implementation Summary
- WhatsApp Integration for AI Parrot
- P3 — parrot admin ui inventory (canvases / A2UI / infographic / builders)
- WhatsApp + AutonomousOrchestrator Integration
- Audio Form Voice Modes — Developer Guide
- Who owns an OAuth2 (3LO) credential
- CommCenter — Bulk Notification Sender (FEAT 417)
- FormDesigner → MS Teams: Adaptive Card renderer and bot submit path (FEAT 551)
- GitHub reviewer
- Google OAuth 2.0 — AI Parrot Integration
- Fireflies Agent Examples
- HITL Tool Call Confirmation (FEAT 235)
- Teams HITL Channel Setup Guide (FEAT 205)
- JiraSpecialist Prompt Layer Stack
- JiraSpecialist — Daily Standup Lanes
- Jira Transition Actions — Activating
TRIGGER_AGENTDispatch - Jupyter Output Mode Documentation
- Knowledge upload from chat (FEAT 647)
- LiveAvatar over your own LiveKit (Cloud or self hosted)
- Matrix Bridges for the AI Parrot Swarm (FEAT 463)
- Matrix Clients for the AI Parrot Swarm (FEAT 463)
- Migration Guide: FEAT 202 — ai parrot integrations
- Connections on Microsoft Teams
- MS Teams Toolkit for AI Parrot
- Nova Sonic Voice Protocol Reference
- Office 365 OAuth 2.0 (Delegated) — AI Parrot Integration
- PR Review Command — Setup Guide
- Queued chat commands
- Runbook — the
issuesnamespace (Jira ticket corpus) - Dev loop kick off from Slack (FEAT 555)
- Telegram Auth Open Mode (webview | browser)
- Telegram connections
- Telegram Bot Integration Guide
- FEAT 536 — VoiceBot Nova Dual Output + LiveAvatar: Real Live Operational Acceptance
- FEAT 537 — Nova VoiceBot avatar broadcast: operational acceptance
- FEAT 537 — Nova PCM → LiveAvatar LITE → LiveKit multi subscriber live gate
- speech_report TTS backends
- Nova VoiceBot avatar broadcast for multiple browsers (FEAT 537)
- 🦜 AI Parrot Voice Chat
- WhisperX Setup Guide for AI Parrot
- A2UI Linked Surfaces (FEAT 598)
- A2UI v1.0 Wire (FEAT 470)
- === D3.js ===
- Backend HTML Design System (FEAT 493)
- FEAT 488
- FormDesigner Audio Renderer
- Form Designer — Autonomous FormSchema Persistence (Standalone Forms)
- Form Designer — Conditional Sections: Pre/Post Dependencies
- FormBuilder — LLM answer plausibility enforcement
- FormDesigner — orphan upload cleanup (FEAT 731)
- FormDesigner — public response controls
- Form Designer — Relational Fields
- Serving FormDesigner forms from a Teams agent
- Form Designer — Unknown Field Capture Policy for Form Submissions
- FormDesigner — validation audit trail
- Infographic Recipes (FEAT 324)
- Inline A2UI Component Routing (FEAT 755)
- Metric Definition Registry (FEAT 756)
- Smart OutputFormatter Documentation
- N4 — navigator api backend inventory (dashboards / widgets / templates / modules / programs)
- P1 — ai parrot HTTP/WS endpoint inventory (report builder lens)
- P2 — ai parrot (Python) UI components, models, renderers, persistence — inventory for a REPORT BUILDER
- P4 — ai parrot prior art for a Report Builder (SDD inventory)
- ai parrot server — Admin / Bots / Studio / misc endpoint inventory
- P1 — ai parrot HTTP/WS endpoint inventory (report builder lens) ( core)
- parrot formdesigner — HTTP/WS endpoint inventory
- Report Builder — ai parrot inventory and analysis
- WeasyPrint 69.0 CSS Support — Empirical Findings
- Identity Capability User Guide
- Layers Reference
- Output Language (FEAT 638)
- PromptBuilder — User Modifiable Variables
- PromptBuilder User Guide
- Delegated OAuth2 connections
- Delegated OAuth2 connections on the web channel — deployment recipe and live harness
- Deterministic Groundedness Scoring
- ONNX Backend for the Prompt Injection Guardrail (FEAT 439)
- PBAC Guardrails — Policy Driven Tool Call Denial (FEAT 406)
- SecurityAdvisor — SOC2 Oriented Read Only Advisory Agent
- User Profile Management
- AI Parrot MCP Server AWS Deployment Guide
- Bot Cleanup Lifecycle
- Business Automation — Operator Runbook
parrot loginand connections- CompanyInfoToolkit
- Per component and per agent LLM defaults (FEAT 796, FEAT 882)
- Answer Accuracy Metrics for the Evaluation Harness (FEAT 652)
- Infographic CSP and Signed URLs — Operations Guide
- Global install: the parrot managed runtime (reference)
- Runbook — the Fireflies Meeting Registry
- Wiki standup briefs — runbook
parrot.finance— the finance satellite- Migration — FEAT 201: ai parrot embeddings
- Migration — FEAT 203: ai parrot server
- FEAT 223 — Structured Artifact Contract: Migration Guide
- FEAT 273 — Legacy output mode deprecations → A2UI
- Migration — FEAT 315: Unified NovaClient for all Amazon Nova models
- Migration — FEAT 421: Client declared tenant in the forms URL
- Migration — FEAT 446: SaaS Auth Hardening (S0 of Parrot Research Cloud)
- Migration — FEAT 473: A2UI v1.0 for STRUCTURED_CHART / STRUCTURED_TABLE / STRUCTURED_MAP
- Migration — FEAT 523: PEP 420 LLM Client Extraction
- Gemini 2.5 retirement (FEAT 798)
- Migration — FEAT 564: Reliable video reels with Gemini Omni and Veo 3.1
- Native Claude sandbox for SDD sessions (FEAT 768)
- Complementary (collaborative) research partner (FEAT 482)
- Dev flow per seat LLM configuration (
DevFlowModelPlan) - Dev loop
novabackend (AWS Bedrock) - sdd worker as orchestrator of parallel sdd coder seats (FEAT 549)
- SDD compaction capability record
- SDD execution optimization — operation and rollout
- Proposals to Reduce SDD Execution Time
- Dev flow / dev loop telemetry accounting
- Language Agnostic Validation Runners (FEAT 709)
- Spec Driven Development in Google Gemini / Antigravity CLI
- Guide to using the SDD slash commands
- AI Parrot Spec Driven Development (SDD) Platform
- SDD on Google Antigravity (agy)
/sdd donecloseout hooks- Decision Audit (FEAT 784)
- SDD experience memory
- SDD Expert Consult
- Ledger outbox (FEAT 758)
- FEAT 580 LSP Pilot — Live Evaluation Results
- SDD LSP research pilot (FEAT 580)
- Necessity Ladder (FEAT 908)
- Procedure Graph
- Test selection in the SDD flow — the Validation Contract (FEAT 699)
- wikitoolkit Cheatsheet
- wikitoolkit inbox
- wikitoolkit lint
- LLM Wiki — an agent maintained knowledge repository
- Schema Plane — Operator Guide (FEAT 600)
- SQLite concurrency for wiki and ledger
- wikitoolkit standup
- WikiToolkit as Claude Code infrastructure
- Authentication uses Navigator Auth
- AbstractClient base changes require a decision
- Clients are memory less
- Configuration uses NavConfig
- Graph backends — retire ArangoDB for PostgreSQL + SurrealDB
- Conversation history has one writer
- HTTP stack uses aiohttp
- LangChain is not part of the stack
- Async code remains non blocking
- Concrete tools live in ai parrot tools