Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

GitHub Engineering 9 min read Case study mediumAdept

Automating cross-repo documentation with GitHub Agentic Workflows

Aspire's team uses GitHub Agentic Workflows to auto-draft documentation pull requests in a separate docs repo whenever a product pull request merges, with the shipping engineer assigned as reviewer. The agent gets read-only access and emits intent, while a narrowly scoped safe-outputs handler with a two-repo GitHub App token, branch allow-lists, protected files and draft-only PRs performs the writes. A deterministic bash resolver maps milestones to docs release branches before the agent runs. Over 30 days, 396 runs produced 82 docs PRs, all merged, at a median 44.8 hours, after the prompt was tightened with negative examples to cut an initial ~13% false-positive rate.

Assumes: GitHub Actions workflowsGitHub Apps and token scoping

Related posts

  • Accelerating Delivery: How AI Agents Can Own the Initial Code Draft

    8th Light easyNovice

    A multi-agent workflow turns a Jira ticket prompt like "Let's work on FEAT-123" into a review-ready pull request. An orchestrator spawns narrowly scoped planning, coding and review agents to avoid context rot. Safety comes from branch permissions, scoped hooks and mandatory human merge. Reliability comes from a hierarchy of hooks/scripts, then specialized agents, then repository context files, along with caps on review rounds and build-repair attempts that hand control to a developer. Adversarial plan review, holistic changeset review and a retrospective that writes lessons back to agent context files produced a fourfold increase in PRs opened without flooding reviewers, though the text gives little implementation detail.

  • From Weeks to Hours: Inside Wix’s Autonomous Bug-Fixing System

    Wix Engineering mediumAdept

    Wix Orchestrator turns user support tickets into reviewed pull requests in hours instead of weeks. It does this with four stateless, isolated agents run by a central orchestrator. A Detector classifies tickets. An Enricher (Octocode Research) combines static code context from GitHub with live state from Trino queries, Grafana logs and documentation into a structured fix plan. A Coder implements the fix in an isolated Docker container. A separate Reviewer sees only the ticket and the PR. Schema validation at every handoff, with errors fed back to the same agent for retry, cut inter-agent failures from about 50% to under 1%. The team argues that context quality matters more than model choice, keeps a human approval step before production, and names ticket classification and undocumented organizational knowledge as the main open problems.

  • The Interaction Changes Everything: Treating AI Agents as Collaborators, Not Automation

    Engineering@Microsoft mediumAdept

    Microsoft's Entra SDK v1-to-v2 migration across hundreds of repositories succeeded with an AI coding agent only after the team replaced step-by-step checklists with prompts that give the agent a role, mission and permission to use judgment. The result was 80–90% accuracy, with each repository done in under 2 hours instead of 4–6 weeks. The shared eight-part prompt template covers identity and mission, purpose, prioritized goals, steps with examples and escalation triggers, never/always security boundaries, self-validation and PR documentation, an explicit escalation process (including stopping after the same error twice), and a closing of recognition. Reported effects include more escalation instead of guessing, better PR descriptions, more graceful failures, and reuse of the template for security analysis, code review and documentation.

  • Keeping code moving with clearer review expectations

    Sourcegraph mediumAdept

    Sourcegraph is experimenting with an AI agent that routes each pull request to one of three review paths: Ship (no review), Show (review after merge) or Ask (review before merge). The agent inspects the diff, surrounding code and the author's history, and application code applies explicit rules to pick a path. Familiarity requires two merged, reviewed PRs plus a relevant contribution in the past 30 days, and changes to authentication or sensitive-data exposure always require review. Early lessons: familiarity must be scoped to specific components, visible reasoning makes decisions contestable, and the bot's own comments can become interruptions. Fewer stamp requests so far says little about review quality.

  • Building effective agent automations

    claude.dev mediumAdept

    A scheduled daily-brief agent built on Claude Managed Agents reads Slack channels and GitHub pull requests, tracks what changed since the last run, and posts a short brief to Slack. The design runs through sources, destination, agent config, cron schedule, memory and guardrails, and pairs each with a common failure mode and its fix. Fixes include per-source bookmarks instead of fixed time windows, flagging failed reads instead of reporting a quiet day, and confirming Slack's ok response before updating the ledger. Credentials sit in a vault outside the sandbox, preferences are read-only and re-read every run, the GitHub token is read-only to limit prompt-injection damage, and per-run spending is capped.

The quest for software engineering knowledge.

Look:
Layout: