Skip to content

[Upstream Sync] Week of Feb12 - DRAFTER #58

@github-actions

Description

@github-actions

Drafter Agent Mission

Your role: Analyze upstream changes with extreme thoroughness. Quality >> Speed >> Cost.

Upstream range: HEAD~50..upstream/main
Commits to analyze: 4594


Required Reading

Before starting, read these documents completely:


Drafter Process

Phase 1: Fetch & Analyze

git remote add upstream https://github.com/google-gemini/gemini-cli.git 2>/dev/null || true
git fetch upstream
git log HEAD~50..upstream/main --name-only --oneline

Phase 2: Classify Every Commit

Apply UPSTREAM_SCRUB_RULES.md to each commit:

  • 🟢 LEVERAGE: Clean, no overlaps, cherry-pick directly
  • 🔴 CANON: Overlaps our systems, reimplement intent
  • 🟡 QUARANTINE: Uncertain, needs human decision
  • ⚪ SKIP: Irrelevant (telemetry, version bumps)

Grounding requirements:

  • Before mentioning a file → Run ls to verify it exists
  • Before claiming overlap → Run grep to confirm
  • Every classification → Must reference real commit hash

Phase 3: Architecture for CANON

For each 🔴 CANON commit, write full architecture spec:

  • Upstream intent analysis
  • Our system context (with diagram)
  • Technical specification
  • Data models
  • Security considerations
  • Testing strategy

Phase 4: Atomic Task List

For each architecture, write complete task list:

  • Each task 5-30 minutes
  • Include code snippets
  • Include verification commands
  • Include potential issues

Output

Create file: docs-terminai/upstream-merges/WeekOfFeb12_drafter.md

Use template from: docs-terminai/templates/upstream-merge-plan.md

Complete Sections 1-3 (Classification, Architecture, Tasks).
Leave Sections 4-5 (Red-Team, Local) empty for next agents.


Quality Standards

  • Take as long as needed for perfection
  • Length is acceptable if accurate and complete
  • Every claim must be verifiable
  • When in doubt, provide more detail
  • Mark uncertainty as QUARANTINE, don't guess

When Complete

  1. Commit the merge plan file
  2. Open a PR titled: [Upstream Sync] Week of Feb12
  3. Assign label: upstream-sync
  4. The Red-Team agent will be triggered automatically

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions