Skip to content

fix(knowledge): drop the Granola scribe's stop-when-context-is-short rule - #197890

Merged
jalehman merged 1 commit into
mainfrom
fix/knowledge-granola-no-context-stop
Nov 12, 2026
Merged

jalehman merged 1 commit into
mainfrom
fix/knowledge-granola-no-context-stop

Conversation

@jalehman

@jalehman jalehman commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes: the Learn from Granola scribe stops before ingesting a meeting, leaving it pending, when it judges its context might be running short.

User Impact

User impact: scheduled Granola scribe runs finish the meeting they start instead of deferring it to a later run. No configuration or data changes.

Why This Change Was Made

Step 5 of the scribe's run instructions said "If context runs short, stop after the current meeting and leave the rest." An agent can't measure its remaining context, and the runtime already compacts long turns, so the rule only gave the model a reason to stop early. This removes that sentence. Step 5 still ingests one meeting at a time, in full, and still writes each checkpoint line as soon as a meeting's outcome is known, so an interrupted run resumes instead of redoing work.

Evidence

@clawsweeper

clawsweeper Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 12, 2026
@clawsweeper

clawsweeper Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Removes the instruction to stop ingesting meetings when the agent believes its context is running short.

Example: A scheduled scribe acquires an 83,000-character meeting transcript.

  • Before: The reported run stopped without ingestion and left the meeting pending.
  • After: The instructions no longer authorize stopping because context seems short; ingestion and verification remain required.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The patch is minimal and has no identified correctness defect, but the changed agent behavior has no after-fix proof.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Scheduled Granola ingestion can leave an acquired meeting pending instead of publishing its verified records.
Reason: The supplied maintainer-directed change addresses a concrete observation by removing one conflicting instruction without adding configuration, machinery, or another owner.

Merge readiness

✅ Ready for maintainer review

This PR makes a focused, useful correction to the Granola scribe instructions, and no introduced correctness defect was found.

Priority: P2
Reviewed head: 73e94667eeab2a84fb68840e87ac5a7b9569c5c2

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Show a scheduled real-agent run with this instruction change ingesting a large transcript through verification and recording done; base-red/head-green behavioral evidence was not supplied.
Agent review details

How this fits together

The Knowledge scribe sends scheduled agent tasks through the meeting-ingestion skill, which reads Granola transcripts and writes verified Knowledge records and checkpoints.

flowchart LR
  A[Scheduled scribe] --> B[Agent run]
  B --> C[Meeting ingestion skill]
  C --> D[Granola tools]
  D --> E[Transcript]
  E --> F[Knowledge publication and verification]
  F --> G[Meeting checkpoint]
Loading

Technical review

Best possible solution:

Keep this sentence deletion as the complete instruction change, preserving the existing verification and checkpoint owners.

Do we have a high-confidence way to reproduce the issue?

The report identifies a concrete live failure and source confirms the stopping instruction, but its causal role in stopping before the current meeting finishes has not been independently demonstrated.

Is this the best way to solve the issue?

Removing the heuristic is the smallest plausible repair and preserves the existing ingestion contract, though only a model-driven run can establish the resulting behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 8ef78ec2dc4e.

Provenance checked

  • Granola scribe context-based stopping changes intended behavior with a stated reason (55d82ec: The original scribe combined bounded per-meeting work with checkpoints for later runs; its PR did not separately explain the context-based stopping threshold.)

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

Likely related people:

  • Josh Lehman: Raw commit 239b496 adds extensions/knowledge/skills/knowledge-meeting-ingest/references/scribe-runs.md:39 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 239b4969e72a; files: extensions/knowledge/skills/knowledge-meeting-ingest/references/scribe-runs.md)

PR surface

Docs -1. Total -1 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 1 1 2 -1
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 1 2 -1

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: Premature stopping affects an optional scheduled Knowledge ingestion workflow with limited blast radius.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Premature stopping affects an optional scheduled Knowledge ingestion workflow with limited blast radius.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 12, 2026, 3:07 PM ET / 20:07 UTC.

@jalehman
jalehman merged commit b10c9e1 into main Nov 12, 2026
98 of 100 checks passed
@jalehman
jalehman deleted the fix/knowledge-granola-no-context-stop branch November 12, 2026 20:11
@jalehman

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. plugin: knowledge rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant