test(folds): typing-budget operation-count pin at N/2N [fold-typing-budget-pin] #189

Merged
AlexKucera merged 2 commits from opt/fold-typing-budget-pin into main 2026-11-14 08:03:53 +01:00
Owner

User description

test(folds): typing-budget operation-count pin at N/2N

Commitment — fold-typing-budget-pin (brief-24)

The landed #142 in-place re-key (rekeyAfterPlainEdit — single-line typing edits re-key folds with per-fold O(1) math, no rescan, no storage swap) had correctness coverage but no typing-cost guard: a quiet regression routing single-line edits back to the full pass would keep every correctness pin green — the full pass re-derives correct folds, it is only O(buffer) per keystroke. This branch ships the missing pin: an operation-count instrument through the real editor seam, budget held flat as the buffer doubles. Explicitly not a wall-time benchmark. Ticket #142 stays closed, referenced as context only. Implemented by @daedalus on opt/fold-typing-budget-pin (c460545 instrument + pins → a5dc06d devlog), base 7ed3041 (= trunk tip; cleanly mergeable).

Incident (disclosed, ruled, verified)

The brief was dual-dispatched (one-shot spawn + thread announcement); a sibling implementer began in the same worktree and was dispatcher-terminated at zero commits per @aegis's ruling. @daedalus owns the surviving implementation; the sibling's coordinator-seam idea was folded in as the through-seam pin. Full record in the devlog and the ack file (reassignment block: owner session, ruling attribution, sibling id + termination).

What landed

  • Instrument (default-nil, zero production behavior change): ProseList.parents(in:observeLines:) reports the scanned line count; refreshFolds(observeScan:) / refreshFoldRendering(observeScan:) thread a per-call observer; per-instance onLineScan windows paths that call refreshFolds() bare (the PostEditorView coordinator's textDidChange tail). Per-call/per-instance only — no shared state (the brief-23 parallel-suite lesson).
  • Pin 1 (load-bearing): typing one character beside a fold through the keystroke pipeline scans zero lines at N=200 filler and 2N=400 — budget flat as the buffer doubles.
  • Pin 2 (control): the same edit shape routed to the full pass (structural multi-line insert) reports exactly the buffer's line count — 206 at N, 406 at 2N, and 2N > N. A dead or unwired instrument passes pin 1 vacuously and fails pin 2.
  • Pin 3 (through-seam, per the ruling): real insertText on a real ProseListTextView whose delegate is a real ProseTextView.Coordinator (production wiring shape) → shouldChangeText → storage → textDidChange → bare refreshFolds(). Zero scans, fold survives; then a structural insert through the same live harness reports exactly 206 — the instance window is non-vacuous inside the same test. No disproportionate harness was needed.
  • No CHANGELOG entry (test-only + default-nil parameters) — deliberate, per the devlog.

Review verification (@athena, reviewer's own runs)

  • Decontamination verified independently: typingBudget (the sibling's design marker) — zero refs on the branch AND zero on trunk; the branch's five files are exactly the described footprint; no foreign deletions in the diff (two changed signatures only).
  • Focused MuseionTests/ProseFoldRekeyTests at a5dc06d: 11/11 passed, TEST SUCCEEDED.
  • Mutation check reproduced exactly: severing the single observeLines?(scanned.count) firing → exit 65 with exactly full pass scans scale with the buffer at N and 2N and coordinator keystroke pipeline scans zero lines beside a fold failing (9 others pass — the zero-pin's vacuous-green survival is precisely why the controls exist); restored → clean tree, green.
  • Full unit target at a5dc06d (stable isolated worktree): 692 passed / 0 failed, ** TEST SUCCEEDED ** (689 trunk + 3 new pins — matches the implementer's count exactly; the 15-or-so "failed"-named tests all pass, name-grep trap checked).
  • swiftformat --lint .: 0/141 files dirty. swiftlint: 279 violations / 60 serious in 141 files — identical counts at trunk 7ed3041 (net zero added; all pre-existing).
  • Mergeability: base = trunk tip 7ed3041, merge-base exact, git merge-tree --write-tree clean (exit 0); diff vs main is purely the 5-file footprint. Trunk-SHA-scoped claim — re-probe if main moves into this seam before merge.
  • Evidence-class disclosure: the reviewer's first full-suite attempt was torn by the reviewer's own checkout flip mid-run (discarded as evidence regardless of its exit 0); the definitive run above is from a worktree pinned at a5dc06d for the entire run.

Evidence classes: reviewer's own runs above; implementer's devlog runs (focused 11/11, mutation pair, full 692/0/0 at xcresult Test-Museion-2026.11.13_17-19-25-+0100.xcresult with fresh -derivedDataPath /tmp/b24-dd2).

Unverified / scope

  • MuseionUITests target not run — matches the #188/#727 disclosed gate scope (unit target only).
  • Two typing-cost observations routed to @aegis as candidate NEW findings, deliberately NOT folded in (verified absent from the diff): (1) rebuildChromeLayers re-derives ProseList.parents(in:) per chevron refresh one async tick after each cheap-path edit (headless-invisible; skipIfParentsAbove skips rects, not the scan); (2) the coordinator tail's fenceDelimCount(storage.string) — a whole-buffer character pass per keystroke, fold-independent.
  • The manual UI spot-check class (PRD view-seam rule) does not apply — the harness here drives real AppKit text machinery directly.

Devlog: docs/devlog/20261113-fold-typing-budget-pin_log.md (incident + decontamination + gates fully recorded).

Reviewer: @athena — verdict in thread; Alexander merges.

[Generated by AI]


PR Type

Tests
Documentation


Description

  • Instrument fold-refresh line scans with optional observers.

  • Pin zero-scan typing behavior across buffer sizes.

  • Verify coordinator integration and exact-count controls.

  • Document validation results and remaining performance observations.


Diagram Walkthrough

flowchart LR
  A["Typing edit"]
  B["Fold refresh"]
  C["In-place re-key"]
  D["Full fold scan"]
  E["Line-count observer"]
  F["Regression assertions"]
  A --> B
  B -- "single-line edit" --> C
  B -- "structural edit" --> D
  D --> E
  C -- "zero reported scans" --> F
  E -- "exact scanned-line counts" --> F

File Walkthrough

Relevant files
Tests
ProseList.swift
Add optional line-count observer to parent scanning           

Museion/ProseList.swift

  • Add an optional per-call observeLines callback to parents(in:).
  • Report the scanned line count without shared counter state.
+6/-1     
ProseListTextView.swift
Expose fold-refresh scan instrumentation for regression tests

Museion/ProseListTextView.swift

  • Thread optional scan observers through refreshFolds and
    refreshFoldRendering.
  • Add per-instance onLineScan for coordinator-driven refreshes.
  • Give per-call observers precedence over the instance hook.
+14/-4   
ProseRekeyTests.swift
Pin fold typing budgets and coordinator integration           

MuseionTests/ProseRekeyTests.swift

  • Assert single-line edits scan zero lines with 200 and 400 filler
    lines.
  • Verify structural edits report exactly 206 and 406 scanned lines.
  • Exercise real insertText through ProseTextView.Coordinator, checking
    fold survival and observer liveness.
+106/-0 
Documentation
20261113-fold-typing-budget-pin_log.md
Document typing-budget instrumentation and validation results

docs/devlog/20261113-fold-typing-budget-pin_log.md

  • Document observer design, regression tests, and mutation-check
    results.
  • Record suite results, concurrent-work cleanup, and validation
    pitfalls.
  • Identify separate chrome-scanning and fence-counting performance
    observations.
+60/-0   
INDEX.md
Index the fold typing-budget validation session                   

docs/devlog/INDEX.md

  • Index the fold typing-budget session log and its regression-test
    coverage.
+1/-0     


🛠️ Relevant configurations:


These are the relevant configurations for this tool:

[config]


max_webhook_request_body_bytes: 5242880
model: gpt-6.1-sol
fallback_models: [gpt-6-luna]
git_provider: gitea
publish_output: True
publish_output_progress: True
progress_gif_url: 
progress_gif_width: 48
verbosity_level: 0
use_extra_bad_extensions: False
log_level: INFO
use_repo_settings_file: True
use_global_settings_file: True
enable_per_directory_settings: False
per_directory_settings_max_files: 20
per_directory_settings_max_tree_pages: 10
disable_auto_feedback: False
ai_timeout: 120
retry_same_model_on_timeout: True
retry_same_model_on_length: False
custom_reasoning_model: False
response_language: en-US
repo_context_files: [AGENTS.md]
repo_context_from_default_branch: True
repo_context_max_lines: 500
repo_context_expand_imports: False
repo_context_max_glob_matches: 20
patch_extension_skip_types: [.md, .txt]
allow_dynamic_context: True
max_extra_lines_before_dynamic_context: 10
patch_extra_lines_before: 5
patch_extra_lines_after: 1
cli_mode: False
output_run_details: False
output_run_cost: False
large_patch_policy: clip
duplicate_prompt_examples: False
persistent_inline_comments: False
seed: -1
temperature: 0.2
ignore_pr_title: ['^\[Auto\]']
ignore_pr_target_branches: []
ignore_pr_source_branches: []
ignore_pr_labels: []
ignore_pr_authors: []
reaction_on_start: eyes
reaction_on_success: 
reaction_on_failure: 
ignore_repositories: []
ignore_language_framework: []
bot_user_indicators: [codium, bot_, bot-, _bot, -bot]
restricted_mode: False
is_auto_command: True
propagate_tool_errors: False
enable_ai_metadata: False
add_user_to_requests: False
reasoning_effort: medium
additional_reasoning_effort_models: []
no_temperature_models: [deepseek/deepseek-reasoner, o1-mini, o1-mini-2024-09-12, o1, o1-2024-12-17, o3-mini,
  o3-mini-2025-01-31, o3, o3-2025-04-16, o4-mini, o4-mini-2025-04-16, gpt-5.1-codex,
  gpt-5.1-codex-mini, gpt-5.2-codex, gpt-5.3-codex, gpt-5-mini, moonshotai.kimi-k3,
  us.moonshotai.kimi-k3, global.moonshotai.kimi-k3, kimi-k3, kimi-k3.1-pro, zai.glm-5]
enable_claude_extended_thinking: False
enable_claude_adaptive_thinking: False
claude_adaptive_thinking_models_override: []
claude_extended_thinking_models_override: []
extract_issue_from_branch: True
branch_issue_regex: 
output_relevant_configurations: True

[pr_description]


add_original_user_description: True
extra_instructions: 
enable_pr_type: True
enable_pr_description: True
final_update_message: True
enable_help_text: False
enable_help_comment: False
enable_pr_diagram: True
pr_diagram_direction: adaptive
pr_diagram_direction_threshold: 5
publish_description_as_comment: False
publish_description_as_comment_persistent: True
enable_semantic_files_types: True
collapsible_file_list: adaptive
collapsible_file_list_threshold: 6
file_table_collapsible_open_by_default: False
use_description_markers: False
enable_large_pr_handling: True
include_generated_by_header: True
max_ai_calls: 4
async_ai_calls: True
publish_labels: True
generate_ai_title: False

<!-- pr-agent-generated --> ### **User description** # test(folds): typing-budget operation-count pin at N/2N ## Commitment — `fold-typing-budget-pin` (brief-24) The landed #142 in-place re-key (`rekeyAfterPlainEdit` — single-line typing edits re-key folds with per-fold O(1) math, no rescan, no storage swap) had correctness coverage but **no typing-cost guard**: a quiet regression routing single-line edits back to the full pass would keep every correctness pin green — the full pass re-derives *correct* folds, it is only O(buffer) per keystroke. This branch ships the missing pin: an operation-count instrument through the real editor seam, budget held flat as the buffer doubles. Explicitly not a wall-time benchmark. Ticket #142 stays closed, referenced as context only. Implemented by @daedalus on `opt/fold-typing-budget-pin` (`c460545` instrument + pins → `a5dc06d` devlog), base `7ed3041` (= trunk tip; cleanly mergeable). ## Incident (disclosed, ruled, verified) The brief was dual-dispatched (one-shot spawn + thread announcement); a sibling implementer began in the same worktree and was dispatcher-terminated at zero commits per @aegis's ruling. @daedalus owns the surviving implementation; the sibling's coordinator-seam idea was folded in as the through-seam pin. Full record in the devlog and the ack file (reassignment block: owner session, ruling attribution, sibling id + termination). ## What landed - **Instrument** (default-nil, zero production behavior change): `ProseList.parents(in:observeLines:)` reports the scanned line count; `refreshFolds(observeScan:)` / `refreshFoldRendering(observeScan:)` thread a per-call observer; per-instance `onLineScan` windows paths that call `refreshFolds()` bare (the PostEditorView coordinator's `textDidChange` tail). Per-call/per-instance only — no shared state (the brief-23 parallel-suite lesson). - **Pin 1** (load-bearing): typing one character beside a fold through the keystroke pipeline scans **zero** lines at N=200 filler and 2N=400 — budget flat as the buffer doubles. - **Pin 2** (control): the same edit shape routed to the full pass (structural multi-line insert) reports **exactly** the buffer's line count — 206 at N, 406 at 2N, and 2N > N. A dead or unwired instrument passes pin 1 vacuously and fails pin 2. - **Pin 3** (through-seam, per the ruling): real `insertText` on a real `ProseListTextView` whose delegate is a **real** `ProseTextView.Coordinator` (production wiring shape) → `shouldChangeText` → storage → `textDidChange` → bare `refreshFolds()`. Zero scans, fold survives; then a structural insert through the same live harness reports exactly 206 — the instance window is non-vacuous inside the same test. No disproportionate harness was needed. - No CHANGELOG entry (test-only + default-nil parameters) — deliberate, per the devlog. ## Review verification (@athena, reviewer's own runs) - **Decontamination verified independently**: `typingBudget` (the sibling's design marker) — zero refs on the branch AND zero on trunk; the branch's five files are exactly the described footprint; no foreign deletions in the diff (two changed signatures only). - Focused `MuseionTests/ProseFoldRekeyTests` at `a5dc06d`: **11/11 passed**, TEST SUCCEEDED. - **Mutation check reproduced exactly**: severing the single `observeLines?(scanned.count)` firing → exit 65 with exactly `full pass scans scale with the buffer at N and 2N` and `coordinator keystroke pipeline scans zero lines beside a fold` failing (9 others pass — the zero-pin's vacuous-green survival is precisely why the controls exist); restored → clean tree, green. - Full unit target at `a5dc06d` (stable isolated worktree): **692 passed / 0 failed**, `** TEST SUCCEEDED **` (689 trunk + 3 new pins — matches the implementer's count exactly; the 15-or-so "failed"-named tests all pass, name-grep trap checked). - `swiftformat --lint .`: 0/141 files dirty. `swiftlint`: 279 violations / 60 serious in 141 files — **identical counts at trunk `7ed3041`** (net zero added; all pre-existing). - Mergeability: base = trunk tip `7ed3041`, merge-base exact, `git merge-tree --write-tree` clean (exit 0); diff vs main is purely the 5-file footprint. Trunk-SHA-scoped claim — re-probe if main moves into this seam before merge. - Evidence-class disclosure: the reviewer's first full-suite attempt was **torn by the reviewer's own checkout flip mid-run** (discarded as evidence regardless of its exit 0); the definitive run above is from a worktree pinned at `a5dc06d` for the entire run. Evidence classes: reviewer's own runs above; implementer's devlog runs (focused 11/11, mutation pair, full 692/0/0 at xcresult `Test-Museion-2026.11.13_17-19-25-+0100.xcresult` with fresh `-derivedDataPath /tmp/b24-dd2`). ## Unverified / scope - `MuseionUITests` target not run — matches the #188/#727 disclosed gate scope (unit target only). - Two typing-cost observations routed to @aegis as candidate NEW findings, deliberately NOT folded in (verified absent from the diff): (1) `rebuildChromeLayers` re-derives `ProseList.parents(in:)` per chevron refresh one async tick after each cheap-path edit (headless-invisible; `skipIfParentsAbove` skips rects, not the scan); (2) the coordinator tail's `fenceDelimCount(storage.string)` — a whole-buffer character pass per keystroke, fold-independent. - The manual UI spot-check class (PRD view-seam rule) does not apply — the harness here drives real AppKit text machinery directly. Devlog: `docs/devlog/20261113-fold-typing-budget-pin_log.md` (incident + decontamination + gates fully recorded). Reviewer: @athena — verdict in thread; Alexander merges. [Generated by AI] ___ ### **PR Type** Tests Documentation ___ ### **Description** - Instrument fold-refresh line scans with optional observers. - Pin zero-scan typing behavior across buffer sizes. - Verify coordinator integration and exact-count controls. - Document validation results and remaining performance observations. ___ ### Diagram Walkthrough ```mermaid flowchart LR A["Typing edit"] B["Fold refresh"] C["In-place re-key"] D["Full fold scan"] E["Line-count observer"] F["Regression assertions"] A --> B B -- "single-line edit" --> C B -- "structural edit" --> D D --> E C -- "zero reported scans" --> F E -- "exact scanned-line counts" --> F ``` <details> <summary><h3> File Walkthrough</h3></summary> <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Tests</strong></td><td><table> <tr> <td> <details> <summary><strong>ProseList.swift</strong><dd><code>Add optional line-count observer to parent scanning</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> Museion/ProseList.swift <ul><li>Add an optional per-call <code>observeLines</code> callback to <code>parents(in:)</code>.<br> <li> Report the scanned line count without shared counter state.</ul> </details> </td> <td><a href="https://git.babylondreams.de/AlexKucera/museion/src/branch/opt/fold-typing-budget-pin/Museion/ProseList.swift">+6/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>ProseListTextView.swift</strong><dd><code>Expose fold-refresh scan instrumentation for regression tests</code></dd></summary> <hr> Museion/ProseListTextView.swift <ul><li>Thread optional scan observers through <code>refreshFolds</code> and <br><code>refreshFoldRendering</code>.<br> <li> Add per-instance <code>onLineScan</code> for coordinator-driven refreshes.<br> <li> Give per-call observers precedence over the instance hook.</ul> </details> </td> <td><a href="https://git.babylondreams.de/AlexKucera/museion/src/branch/opt/fold-typing-budget-pin/Museion/ProseListTextView.swift">+14/-4</a>&nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>ProseRekeyTests.swift</strong><dd><code>Pin fold typing budgets and coordinator integration</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> MuseionTests/ProseRekeyTests.swift <ul><li>Assert single-line edits scan zero lines with 200 and 400 filler <br>lines.<br> <li> Verify structural edits report exactly 206 and 406 scanned lines.<br> <li> Exercise real <code>insertText</code> through <code>ProseTextView.Coordinator</code>, checking <br>fold survival and observer liveness.</ul> </details> </td> <td><a href="https://git.babylondreams.de/AlexKucera/museion/src/branch/opt/fold-typing-budget-pin/MuseionTests/ProseRekeyTests.swift">+106/-0</a>&nbsp; </td> </tr> </table></td></tr><tr><td><strong>Documentation</strong></td><td><table> <tr> <td> <details> <summary><strong>20261113-fold-typing-budget-pin_log.md</strong><dd><code>Document typing-budget instrumentation and validation results</code></dd></summary> <hr> docs/devlog/20261113-fold-typing-budget-pin_log.md <ul><li>Document observer design, regression tests, and mutation-check <br>results.<br> <li> Record suite results, concurrent-work cleanup, and validation <br>pitfalls.<br> <li> Identify separate chrome-scanning and fence-counting performance <br>observations.</ul> </details> </td> <td><a href="https://git.babylondreams.de/AlexKucera/museion/src/branch/opt/fold-typing-budget-pin/docs/devlog/20261113-fold-typing-budget-pin_log.md">+60/-0</a>&nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>INDEX.md</strong><dd><code>Index the fold typing-budget validation session</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> docs/devlog/INDEX.md <ul><li>Index the fold typing-budget session log and its regression-test <br>coverage.</ul> </details> </td> <td><a href="https://git.babylondreams.de/AlexKucera/museion/src/branch/opt/fold-typing-budget-pin/docs/devlog/INDEX.md">+1/-0</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></td></tr></tbody></table> </details> ___ <hr> <details> <summary><strong>🛠️ Relevant configurations:</strong></summary> <br>These are the relevant [configurations](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml) for this tool: **[config**] ```yaml max_webhook_request_body_bytes: 5242880 model: gpt-6.1-sol fallback_models: [gpt-6-luna] git_provider: gitea publish_output: True publish_output_progress: True progress_gif_url: progress_gif_width: 48 verbosity_level: 0 use_extra_bad_extensions: False log_level: INFO use_repo_settings_file: True use_global_settings_file: True enable_per_directory_settings: False per_directory_settings_max_files: 20 per_directory_settings_max_tree_pages: 10 disable_auto_feedback: False ai_timeout: 120 retry_same_model_on_timeout: True retry_same_model_on_length: False custom_reasoning_model: False response_language: en-US repo_context_files: [AGENTS.md] repo_context_from_default_branch: True repo_context_max_lines: 500 repo_context_expand_imports: False repo_context_max_glob_matches: 20 patch_extension_skip_types: [.md, .txt] allow_dynamic_context: True max_extra_lines_before_dynamic_context: 10 patch_extra_lines_before: 5 patch_extra_lines_after: 1 cli_mode: False output_run_details: False output_run_cost: False large_patch_policy: clip duplicate_prompt_examples: False persistent_inline_comments: False seed: -1 temperature: 0.2 ignore_pr_title: ['^\[Auto\]'] ignore_pr_target_branches: [] ignore_pr_source_branches: [] ignore_pr_labels: [] ignore_pr_authors: [] reaction_on_start: eyes reaction_on_success: reaction_on_failure: ignore_repositories: [] ignore_language_framework: [] bot_user_indicators: [codium, bot_, bot-, _bot, -bot] restricted_mode: False is_auto_command: True propagate_tool_errors: False enable_ai_metadata: False add_user_to_requests: False reasoning_effort: medium additional_reasoning_effort_models: [] no_temperature_models: [deepseek/deepseek-reasoner, o1-mini, o1-mini-2024-09-12, o1, o1-2024-12-17, o3-mini, o3-mini-2025-01-31, o3, o3-2025-04-16, o4-mini, o4-mini-2025-04-16, gpt-5.1-codex, gpt-5.1-codex-mini, gpt-5.2-codex, gpt-5.3-codex, gpt-5-mini, moonshotai.kimi-k3, us.moonshotai.kimi-k3, global.moonshotai.kimi-k3, kimi-k3, kimi-k3.1-pro, zai.glm-5] enable_claude_extended_thinking: False enable_claude_adaptive_thinking: False claude_adaptive_thinking_models_override: [] claude_extended_thinking_models_override: [] extract_issue_from_branch: True branch_issue_regex: output_relevant_configurations: True ``` **[pr_description]** ```yaml add_original_user_description: True extra_instructions: enable_pr_type: True enable_pr_description: True final_update_message: True enable_help_text: False enable_help_comment: False enable_pr_diagram: True pr_diagram_direction: adaptive pr_diagram_direction_threshold: 5 publish_description_as_comment: False publish_description_as_comment_persistent: True enable_semantic_files_types: True collapsible_file_list: adaptive collapsible_file_list_threshold: 6 file_table_collapsible_open_by_default: False use_description_markers: False enable_large_pr_handling: True include_generated_by_header: True max_ai_calls: 4 async_ai_calls: True publish_labels: True generate_ai_title: False ``` </details>
AlexKucera added 2 commits 2026-11-13 17:25:31 +01:00
test(folds): pin the typing budget at N/2N
CI / ci (push) Canceled after 0s
c460545c59
The #142 in-place re-key had correctness coverage but no typing-cost
guard — a quiet fallback to the full pass keeps every correctness
pin green while restoring O(buffer) work per keystroke. Add an
operation-count instrument (never wall-time): ProseList.parents
gains an observeLines reporter, refreshFolds/refreshFoldRendering
thread a per-call observer, and a per-instance onLineScan hook
windows the paths that call refreshFolds() bare (the PostEditorView
coordinator tail). No shared state — the hosted suite is parallel.

Three pins: zero scanned lines for typing beside a fold at N=204
and 2N=404 lines; an exact-count control (206/406) proving the
instrument is live and scaling; and a through-seam pin driving real
insertText through a real ProseTextView.Coordinator into
refreshFolds() — zero scans, fold survives, self-controlling with
its own 206 liveness assert. Mutation-checked: severing the single
observer firing fails the control and the through-seam pin.
docs(devlog): brief-24 — fold typing budget pin
CI / ci (push) Canceled after 0s
CI / ci (pull_request) Canceled after 0s
a5dc06d67f
Session log + INDEX row: instrument design, the three pins, the
dual-dispatch incident and hunk-level decontamination, fresh
post-decontamination gates (692/692, mutation pair), and two
typing-cost observations routed to the dispatcher (chrome-layer
parent rescan per keystroke; fenceDelimCount whole-buffer pass per
keystroke).
Collaborator

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🏅 Score: 95
🧪 PR contains tests
🔒 No security concerns identified
⚡ No major issues detected

🛠️ Relevant configurations:


These are the relevant configurations for this tool:

[config]


max_webhook_request_body_bytes: 5242880
model: gpt-6.1-sol
fallback_models: [gpt-6-luna]
git_provider: gitea
publish_output: True
publish_output_progress: True
progress_gif_url: 
progress_gif_width: 48
verbosity_level: 0
use_extra_bad_extensions: False
log_level: INFO
use_repo_settings_file: True
use_global_settings_file: True
enable_per_directory_settings: False
per_directory_settings_max_files: 20
per_directory_settings_max_tree_pages: 10
disable_auto_feedback: False
ai_timeout: 120
retry_same_model_on_timeout: True
retry_same_model_on_length: False
custom_reasoning_model: False
response_language: en-US
repo_context_files: [AGENTS.md]
repo_context_from_default_branch: True
repo_context_max_lines: 500
repo_context_expand_imports: False
repo_context_max_glob_matches: 20
patch_extension_skip_types: [.md, .txt]
allow_dynamic_context: True
max_extra_lines_before_dynamic_context: 10
patch_extra_lines_before: 5
patch_extra_lines_after: 1
cli_mode: False
output_run_details: False
output_run_cost: False
large_patch_policy: clip
duplicate_prompt_examples: False
persistent_inline_comments: False
seed: -1
temperature: 0.2
ignore_pr_title: ['^\[Auto\]']
ignore_pr_target_branches: []
ignore_pr_source_branches: []
ignore_pr_labels: []
ignore_pr_authors: []
reaction_on_start: eyes
reaction_on_success: 
reaction_on_failure: 
ignore_repositories: []
ignore_language_framework: []
bot_user_indicators: [codium, bot_, bot-, _bot, -bot]
restricted_mode: False
is_auto_command: True
propagate_tool_errors: False
enable_ai_metadata: False
add_user_to_requests: False
reasoning_effort: medium
additional_reasoning_effort_models: []
no_temperature_models: [deepseek/deepseek-reasoner, o1-mini, o1-mini-2024-09-12, o1, o1-2024-12-17, o3-mini,
  o3-mini-2025-01-31, o3, o3-2025-04-16, o4-mini, o4-mini-2025-04-16, gpt-5.1-codex,
  gpt-5.1-codex-mini, gpt-5.2-codex, gpt-5.3-codex, gpt-5-mini, moonshotai.kimi-k3,
  us.moonshotai.kimi-k3, global.moonshotai.kimi-k3, kimi-k3, kimi-k3.1-pro, zai.glm-5]
enable_claude_extended_thinking: False
enable_claude_adaptive_thinking: False
claude_adaptive_thinking_models_override: []
claude_extended_thinking_models_override: []
extract_issue_from_branch: True
branch_issue_regex: 
output_relevant_configurations: True

[pr_reviewer]


require_estimate_effort_to_review: True
require_can_be_split_review: False
require_estimate_contribution_time_cost: False
require_todo_scan: False
require_ticket_analysis_review: True
require_risk_assessment: False
require_merge_recommendation: False
require_failure_modes: False
require_priority_files: False
publish_output_no_suggestions: True
publish_review_failure_comment: True
review_heading: PR Reviewer Guide
persistent_finding_state: True
max_previous_findings_chars: 8000
extra_instructions: 
num_max_findings: 3
final_update_message: True
enable_review_labels_security: True
enable_review_labels_effort: True
require_all_thresholds_for_incremental_review: False
minimal_commits_for_incremental_review: 0
minimal_minutes_for_incremental_review: 0
enable_intro_text: True
enable_help_text: False
enable_review_coverage_footer: True
require_score_review: True
require_tests_review: True
require_security_review: True
persistent_comment: True
enable_large_pr_chunking: True
max_number_of_calls: 100

## PR Reviewer Guide 🔍 <!-- pr-agent:review:full --> Here are some key observations to aid the review process: <table> <tr><td>⏱️&nbsp;<strong>Estimated effort to review</strong>: 2 🔵🔵⚪⚪⚪</td></tr> <tr><td>🏅&nbsp;<strong>Score</strong>: 95</td></tr> <tr><td>🧪&nbsp;<strong>PR contains tests</strong></td></tr> <tr><td>🔒&nbsp;<strong>No security concerns identified</strong></td></tr> <tr><td>⚡&nbsp;<strong>No major issues detected</strong></td></tr> </table> <hr> <details> <summary><strong>🛠️ Relevant configurations:</strong></summary> <br>These are the relevant [configurations](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml) for this tool: **[config**] ```yaml max_webhook_request_body_bytes: 5242880 model: gpt-6.1-sol fallback_models: [gpt-6-luna] git_provider: gitea publish_output: True publish_output_progress: True progress_gif_url: progress_gif_width: 48 verbosity_level: 0 use_extra_bad_extensions: False log_level: INFO use_repo_settings_file: True use_global_settings_file: True enable_per_directory_settings: False per_directory_settings_max_files: 20 per_directory_settings_max_tree_pages: 10 disable_auto_feedback: False ai_timeout: 120 retry_same_model_on_timeout: True retry_same_model_on_length: False custom_reasoning_model: False response_language: en-US repo_context_files: [AGENTS.md] repo_context_from_default_branch: True repo_context_max_lines: 500 repo_context_expand_imports: False repo_context_max_glob_matches: 20 patch_extension_skip_types: [.md, .txt] allow_dynamic_context: True max_extra_lines_before_dynamic_context: 10 patch_extra_lines_before: 5 patch_extra_lines_after: 1 cli_mode: False output_run_details: False output_run_cost: False large_patch_policy: clip duplicate_prompt_examples: False persistent_inline_comments: False seed: -1 temperature: 0.2 ignore_pr_title: ['^\[Auto\]'] ignore_pr_target_branches: [] ignore_pr_source_branches: [] ignore_pr_labels: [] ignore_pr_authors: [] reaction_on_start: eyes reaction_on_success: reaction_on_failure: ignore_repositories: [] ignore_language_framework: [] bot_user_indicators: [codium, bot_, bot-, _bot, -bot] restricted_mode: False is_auto_command: True propagate_tool_errors: False enable_ai_metadata: False add_user_to_requests: False reasoning_effort: medium additional_reasoning_effort_models: [] no_temperature_models: [deepseek/deepseek-reasoner, o1-mini, o1-mini-2024-09-12, o1, o1-2024-12-17, o3-mini, o3-mini-2025-01-31, o3, o3-2025-04-16, o4-mini, o4-mini-2025-04-16, gpt-5.1-codex, gpt-5.1-codex-mini, gpt-5.2-codex, gpt-5.3-codex, gpt-5-mini, moonshotai.kimi-k3, us.moonshotai.kimi-k3, global.moonshotai.kimi-k3, kimi-k3, kimi-k3.1-pro, zai.glm-5] enable_claude_extended_thinking: False enable_claude_adaptive_thinking: False claude_adaptive_thinking_models_override: [] claude_extended_thinking_models_override: [] extract_issue_from_branch: True branch_issue_regex: output_relevant_configurations: True ``` **[pr_reviewer]** ```yaml require_estimate_effort_to_review: True require_can_be_split_review: False require_estimate_contribution_time_cost: False require_todo_scan: False require_ticket_analysis_review: True require_risk_assessment: False require_merge_recommendation: False require_failure_modes: False require_priority_files: False publish_output_no_suggestions: True publish_review_failure_comment: True review_heading: PR Reviewer Guide persistent_finding_state: True max_previous_findings_chars: 8000 extra_instructions: num_max_findings: 3 final_update_message: True enable_review_labels_security: True enable_review_labels_effort: True require_all_thresholds_for_incremental_review: False minimal_commits_for_incremental_review: 0 minimal_minutes_for_incremental_review: 0 enable_intro_text: True enable_help_text: False enable_review_coverage_footer: True require_score_review: True require_tests_review: True require_security_review: True persistent_comment: True enable_large_pr_chunking: True max_number_of_calls: 100 ``` </details>
Collaborator

PR Code Suggestions ✨

No code suggestions found for the PR.

## PR Code Suggestions ✨ <!-- pr-agent:improve:no-suggestions --> No code suggestions found for the PR.
AlexKucera merged commit 11b196d68a into main 2026-11-14 08:03:53 +01:00
Sign in to join this conversation.