Repository navigation
Open
Labels
component/harnessAgent harness, config, and skills loadingcomponent/runnerAgent runner behavior and lifecyclefeatureFeature-category issue awaiting human prioritizationneeds-designpriority/mediumNormal priority, plan for next cycletriagedTriaged but awaiting human prioritizationtype/featureNew capability request
Description
Note
This issue was automatically generated from meeting notes by the scribe agent.
Please review, edit, and add any missing context before prioritizing.
Problem
Agents currently gather PR context (diff, comments, CI status, review history) through ad-hoc tool calls during their runs. This is non-deterministic, wastes tokens on API calls that could be pre-computed, and makes agent behavior harder to reproduce or debug. Each agent independently collects overlapping data with no shared format.
Options considered
- Deterministic binary/script: A pre-run binary collects all PR data, comments, CI status, and review history into structured files that agents consume as input. This separates data collection from agent reasoning, reducing token usage and improving reproducibility.
- Enhanced pre-scripts per agent: Extend existing per-agent pre-scripts (
pre-review.sh,pre-fix.sh) to fetch more context. Simpler but duplicates logic across agents and does not standardize the format. - Shared library approach: A Go package in the CLI that agents call via a tool, returning structured data. Still happens during the run but is at least standardized.
Acceptance criteria
- A binary or script collects PR diff, comments, reviews, CI status, and metadata into structured files
- Output files use a documented, stable format consumable by all agents
- Collection is deterministic — same PR state produces identical output files
- Fix, review, and code agents can consume pre-collected data instead of making ad-hoc API calls
- Token usage for context gathering is measurably reduced compared to current ad-hoc collection
Related
- Extends pattern from retro agent pre-fetch work (Prefetch PR context in pre-retro.sh to make retro agent resilient to in-sandbox token failures #3472, Retro agent harness should pre-fetch PR context and bundle it in the sandbox #4207)
- Related to deterministic orchestration investigation (Investigate deterministic orchestration for intra-stage multi-agent pipelines #1817)
- Related to reducing fix agent token waste (Fix agent spends disproportionate tokens verifying unrelated languages on single-language PRs #5367)
- Source: Meeting notes
Reacted by Adam Scerra
Metadata
Metadata
Assignees
Labels
component/harnessAgent harness, config, and skills loadingcomponent/runnerAgent runner behavior and lifecyclefeatureFeature-category issue awaiting human prioritizationneeds-designpriority/mediumNormal priority, plan for next cycletriagedTriaged but awaiting human prioritizationtype/featureNew capability request
Type
Projects
- StatusShow more project fieldsTodo
Activity
fullsend-ai-prioritize commentedon Aug 26, 2026
RICE Priority Score: 0.9
Score breakdown
Formula: (2 x 1.5 x 0.6) / 2 = 0.9
maruiz93 commentedon Sep 2, 2026
/fs-triage shouldn't this happen as part of the pre-script instead of a binary? We could even have both but I don't see the reason of this happening in the agent instead of in the pre-script phase
fullsend-ai-triage commentedon Sep 2, 2026
🤖 Finished Triage · ✅ Success · Started 3:43 PM UTC · Completed 3:48 PM UTC
Commit:
7495cdc· View workflow run →Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $0.91
fullsend-ai-triage commentedon Sep 2, 2026
Triage assessment
Severity: medium · Category: feature
The design question raised by the contributor — pre-script vs standalone binary — is a key decision point before implementation starts. The issue body already discusses both approaches with trade-offs. The acceptance criteria are approach-agnostic, so either path could satisfy them. Flagging with
needs-designso the team can align on the approach before coding begins.Related work
Several open issues track retro-agent pre-fetch patterns that this work would generalize:
pre-retro.shThese are not prerequisites (this issue can proceed independently) but the patterns established there should inform the design.
Proposed test case
Labels: Feature request for cross-agent PR context pre-collection — touches harness/runner architecture, affects fix/review/code agents, and needs a design decision on approach before implementation.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefullsend-ai-scribe commentedon Sep 7, 2026
Meeting update — 2026-09-07
Relevant to this issue: The team discussed building a client-side vector database at build time to enable efficient semantic search for agents, directly supporting this issue's goal of pre-computing structured PR context as agent input.
Related PRs: #7080 (ADR: adopt deterministic entity context staging)
Next steps: Continue work on the entity context staging approach captured in the in-flight ADR.
Meeting notes
51 remaining items
docs(fullsend-ai#6407): qualify entity context snapshot name
docs(fullsend-ai#6407): align GitHub structural ID rules
docs(fullsend-ai#6407): clarify snapshot ordering names
docs(fullsend-ai#6407): tighten snapshot source and trust rules
docs(fullsend-ai#6407): represent bot actors explicitly
docs(fullsend-ai#6407): align revision references across contracts
docs(fullsend-ai#6407): keep bot roles unverified
docs(fullsend-ai#6407): make comment admission policy explicit
docs(fullsend-ai#6407): separate role trust from event authorization
docs(fullsend-ai#6407): account for filtered reviews
docs(fullsend-ai#6407): align entity snapshot security boundary
docs(fullsend-ai#6407): admit registered bot comments
docs(fullsend-ai#6407): close snapshot admission gaps
docs(fullsend-ai#6407): make snapshot upload immutable
Merge pull request fullsend-ai#7080 from ifireball/codex/adr-entity-c…