Prose scratchpad · NVIDIA/hyperflare-inference #178

Raw Markdown for agents: https://autobot.eidonix.com/p/e955bfce-ae50-49fe-891e-a944319a4d87.md

#1 [high] Blocking: PR description omits the required Discord line

PR #178's description ends with "Refs: #113 / Written with AI assistance; reviewed before opening." and has no Discord line.

Rules: AGENTS.md:142-153 (main) "Every PR and issue description has a Discord line after the technical explanation ... Never omit the line ... When the person provides no Discord username, the line states that explicitly: Discord: no username provided." Enforced by docs/design-review.md principle 17 (main, lines 153-159): "Never omit the line."

Fix: add Discord: <username> for mark-yong, or Discord: no username provided if unknown (do not guess — AGENTS.md:152-153). Compare author's other open PR #332 which does carry Discord: myong_acct.

#2 [high] Blocking: target file no longer exists on main; branch predates the flare-cli split

The diff changes flare/src/main.rs (hunks at old lines 144 and 577). On main that file does not exist: list_files ref=main pattern=flare/src/*.rs returns application.rs, cache_support.rs, catalog.rs, configuration.rs, controller.rs, dashboard.rs, details.rs, download_cache.rs, environment.rs, hardware.rs, hardware_monitor.rs, http_client.rs, hub.rs, identity.rs, lib.rs, options.rs, preview.rs, recommendations.rs, runtime_settings.rs, settings.rs, trust.rs, windows.rs — no main.rs. The CLI moved to flare-cli/src/main.rs in fa158284 ("Add a native Windows desktop backed by the shared Flare library", 2026-11-09; search_history path=flare/src/main.rs ref=main lists it).

Current main locations of the same code:

Prose consequence (my lens): the description's "flare run on Windows registered its console control handler before package download and model loading" and every file reference describe pre-split code, so a reader cannot locate the changed code on main. This is also the reason GitHub reports the branch as conflicting (also raised by yatesdr's review, item 1). Fix: port to flare-cli/src/main.rs and rewrite the description against current paths/line numbers (serve/serve_local).

#3 [high] Should fix: docs/windows.md Ctrl-C claim is now stale for the loading phase

docs/windows.md (main) line 141-142: "Ctrl-C and Ctrl-Break drain native work before releasing CUDA resources." That is the only Windows prose about Ctrl-C (grep for Ctrl in docs/windows.md returns :141 only; docs/cli-design.md has no Ctrl-C mention).

After this change, on Windows: before Server::start there is no registered handler, so Ctrl-C gets the default console termination and the process ends without a drain; Ctrl-C during/after Server::start sets STOP and the serving loop drains (flare/src/main.rs:574-581, 614). The doc statement stays literally true only for the serving phase, so a Windows user who presses Ctrl-C during download/loading now gets no drain and the doc gives no warning.

Rules requiring the doc update: AGENTS.md:56-60 (state implemented behavior and qualification; defects/limits in TODO, not design docs) and repo-prose SKILL.md:26-34 ("Documentation is a present-state specification... Replace stale claims"). yatesdr's review item 3 requests this too. Fix: state that Ctrl-C before the server starts ends the process with the default Windows termination and that draining applies from "Start server" onward; update the equivalent statement in AGENTS.md:134-135 / docs/model-preparation.md:1147-1148 only if it is meant to be platform-neutral (it currently reads Unix-flavoured with SIGTERM).

#5 [high] Should fix: validation section understates available Windows compile evidence

The description's evidence section says only: "Validation: code review only. No Windows toolchain or GPU was available, so this was neither compiled for nor run on Windows." The intake packet records "CI on the head commit: no checks".

A compile check needs no GPU and is available in-repo: .github/workflows/native-serving.yml (same file on pr/178) builds flare/Cargo.toml on windows-2022/x86_64-pc-windows-msvc (lines 20-21, 43-45) and runs cargo test for the crate (line 73). The Windows target already enables the needed feature: flare/Cargo.toml:59 lists Win32_System_Console, so SetConsoleCtrlHandler/windows_sys resolve. So "neither compiled for nor run on Windows" understates what was available: at least a Windows build of this #[cfg(windows)] block could have been obtained via the existing job or cargo check --target x86_64-pc-windows-msvc.

Rules: AGENTS.md:194-199 ("Require focused, meaningful validation ... Identify missing hardware, inputs, and unrun checks explicitly"); docs/design-review.md principle 12 (main, :97-105, "Validate the real path and report evidence honestly ... disclose unrun checks and material limitations") and principle 16 (:137-152, "Connect evidence to claims").

Fix: either post the Windows build result (a cargo check/job run is sufficient to establish the block compiles) or state that the Windows job exists and why it was not run, and keep a manual Ctrl-C check in the description as an explicit remaining check. Behavioural verification still needs a Windows host; that part is honestly disclosed. Also note the branch head is 22 days behind main, so any compile evidence must come from the ported change.

#6 [high] Blocking: no DCO sign-off, and the design-review trailer matches the old base

CONTRIBUTING.md:9-13 (main): "We require that all contributors 'sign-off' on their commits ... Any contribution which contains commits that are not Signed-Off will not be accepted."

Commit 85fb08c7 ("Keep the default Windows Ctrl-C termination while loading", the single commit of pr/178, via search_history ref=pr/178 text=...) carries no Signed-off-by (verified by yatesdr's review of 2026-11-18, item 4; I cannot read commit trailers from here, so this rests on that review — a git log -1 --format=%B 85fb08c7 settles it).

Related prose trailer requirement: docs/design-review.md:161-205 (main) requires Design-Signed-Off-By: <identity>; design-review=<four hex> computed over the staged docs/design-review.md. That document changed on main at 568aeca0 (2026-11-22) and the digest in the branch commit (1c01, per yatesdr) matches the old base 902c88e2. The trailer must be recomputed after the port and rebase; do not copy it.

Fix: redo the commit with -s after porting, recompute the design-review digest from the staged doc, and confirm the commit-message body still explains why/what/result/evidence in order (principle 16).

#7 [high] Should fix: description implies #113 documents the Windows symptom; it does not

Description sentence: "#113 reported that Ctrl-C does not cancel loading. Its reporter was on Linux, where recent builds resolve it and the issue was closed, but Windows builds still exhibit the symptom for the reason above."

read_item 113 (closed issue, opened 2026-10-27 by officiallymarky, closed 2026-11-02): "When loading, you are unable to cancel without forcefully killing process." Discussion: mark-yong asks "are you running on windows?"; reporter answers "No Linux but it is no longer an issue with recent builds."

So the only report is a Linux one that no longer reproduces, and nobody has reported the Windows symptom. The PR asserts a Windows manifestation and attributes it to #113 as if reported. AGENTS.md:165-169 requires a demonstrated defect ("Every contribution must address an explicit maintainer request, a demonstrated defect, a measured performance or memory problem, or inaccurate documentation... Hypothetical future consumers... do not establish a need"), and docs/design-review.md principle 16 (:137-152) rejects "unexplained references and unsupported claims".

The underlying code claim is verifiable and holds: on Windows the only STOP readers are the serving loop (flare/src/main.rs:614, :632) — distribution::peer (flare/src/distribution.rs:193) is #[cfg(unix)] via mod distribution at flare/src/main.rs:17-18 — and stop_console returning 1 suppresses default termination (flare/src/main.rs:644-652). So the defect is reachable by inspection even without a report. Fix the prose: say the symptom was reasoned from the code path (handler suppresses default termination; no Windows reader of STOP before the serving loop) and that no Windows reproduction has been posted, rather than implying #113 documents it. Severity: should fix (prose/evidence, not behaviour).

#10 [high] Research summary

Reviewed PR #178 through the prose lens against the charter, AGENTS.md, CONTRIBUTING.md, docs/design-review.md and .agents/skills/repo-prose/SKILL.md (not opened), reading every changed hunk in context (flare/src/main.rs:138-149, :218-255, :539-652) plus its callers and the current main equivalents in flare-cli/src/main.rs.

Nine findings recorded in the scratchpad. The blocking ones are structural and prose-facing: the description has no Discord line (AGENTS.md:142-153, design-review principle 17), and the PR edits a file main no longer has — flare/src/main.rs was replaced by flare-cli/src/main.rs in fa158284, so every path the description names is unfindable on main; the same registration now sits at flare-cli/src/main.rs:189 and the serve path at :630/:692-704. The commit also lacks the DCO sign-off CONTRIBUTING.md:9-13 requires, and its design-review trailer matches the old base rather than the current staged docs/design-review.md.

Should-fix items concern accuracy of the argument: docs/windows.md:141 still claims Ctrl-C and Ctrl-Break always drain native work, which the change makes untrue before "Start server"; the validation section says no Windows build was possible although the repo's own native-serving workflow builds this crate on windows-2022 and a compile check needs no GPU; and the description credits #113 with a Windows symptom when that issue's only reporter was on Linux and said it no longer reproduces — the code-level case (handler suppresses default termination; only STOP readers are the serving loop at :614/:632 since distribution is Unix-only) holds on inspection and should be stated that way. Three nits cover the new comment's undefined "Loading" phase and over-broad "nothing observes STOP" claim, a misdescribed "instead of dropping the package owner" contrast, and the port hazard of leaving both registrations in place.

I found nothing wrong with the behaviour the diff claims; the code change itself is small and correct as written. The defects are that its prose and provenance no longer describe the repository it targets.

#11 [high] Consolidated prose findings for #178, in report order

PR #178 "Keep the default Windows Ctrl-C termination while loading", 1 file, +8/-6 in flare/src/main.rs, head 85fb08c7, open, changes requested by yatesdr.

BLOCKING

  1. No Discord line in the PR description. Description ends "Refs: #113 / Written with AI assistance; reviewed before opening." Rule: AGENTS.md:142-153 (main) and docs/design-review.md principle 17 (:153-159). Fix: Discord: <username> for mark-yong, or Discord: no username provided — never guess (AGENTS.md:152-153). Author's other PR #332 carries Discord: myong_acct.
  2. The PR edits a file main no longer has. flare/src/main.rs was replaced by flare-cli/src/main.rs in fa158284 (2026-11-09). On main: registration at flare-cli/src/main.rs:187-192, serve at :630-648, serve_local at :692-704, handler at :736-745, STOP loads at :662, :714, distribution.rs:192, parallax.rs:217. Described symptom and all path references are pre-split and unfindable on main; also the reason GitHub reports the branch conflicting. Fix: port to flare-cli/src/main.rs and rewrite the description against current paths.
  3. No DCO sign-off on 85fb08c7. CONTRIBUTING.md:9-13: unsigned commits "will not be accepted". Also the Design-Signed-Off-By: ...; design-review=1c01 trailer matches base 902c88e2, not the current staged docs/design-review.md (changed at 568aeca0, 2026-11-22) — docs/design-review.md:161-205 requires recomputation after the port; do not copy it. (Settling trailer 3's absence: git log -1 --format=%B 85fb08c7.)

SHOULD FIX 4. docs/windows.md:141-142 "Ctrl-C and Ctrl-Break drain native work before releasing CUDA resources" becomes stale for the loading phase: before the registration there is no handler, so Ctrl-C is default termination with no drain. Only Ctrl-C prose in docs/windows.md; no Ctrl mention in docs/cli-design.md. Rule: AGENTS.md:56-60 and repo-prose SKILL.md:26-34. Fix: state that before the server starts Ctrl-C ends the process and draining applies from "Start server" onward. 5. Validation understates available evidence. Description: "No Windows toolchain or GPU was available, so this was neither compiled for nor run on Windows." But .github/workflows/native-serving.yml builds flare/Cargo.toml on windows-2022/x86_64-pc-windows-msvc (lines 20-21, 43-45; tests at 73) and flare/Cargo.toml:59 already enables Win32_System_Console. A compile check needs no GPU. Rules: AGENTS.md:194-199, design-review principle 12 (:97-105). Fix: post the Windows build result, or say why the job was not run; keep the manual Ctrl-C check as an explicit remaining check (and re-run after the port, since the branch is 22 days behind main). 6. #113 is credited with a Windows symptom it does not document. Issue text: "When loading, you are unable to cancel without forcefully killing process"; reporter confirmed "No Linux but it is no longer an issue with recent builds." No Windows reproduction has been posted. Rules: AGENTS.md:165-169 (demonstrated defect), design-review principle 16 (:137-152, no unsupported claims). The code case does hold by inspection (stop_console returns 1 for CTRL_C/CTRL_BREAK, flare/src/main.rs:644-652; only STOP readers are :614/:632 because mod distribution is #[cfg(unix)] at :17-18). Fix: present it as reasoned from the code path, and say plainly that no Windows reproduction exists.

NITS 7. flare/src/main.rs:574-575 comment. "Loading keeps the default Ctrl-C termination because nothing observes STOP before serving" names a phase the code never defines (download, package verification, NativeModel::load_agreeing at :247-255, and serve's tokenizer/manifest work at :551-571) and is over-broad once ported (parallax.rs:217 reads STOP before serve). Sentence 2 states a requirement rather than the ordering fact. Rule: repo-prose SKILL.md:38-39. Fix: "Register before the server starts so a registration failure returns before any replay, and so Ctrl-C during package loading keeps the default console termination." 8. Description: "Registering before the start also means a registration failure returns before replay begins, instead of dropping the package owner without a confirmed drain." The old placement (before load_package) had no owner to drop, so the "instead of" contrast misdescribes the previous code; it argues against the rejected later placement. Fix: describe the ordering fact, not a defect of the old site. Rules: design-review principle 16 (:142-145), AGENTS.md:88-94. 9. Port hazard: main registers the handler at flare-cli/src/main.rs:189. If the port adds a call near :630 without deleting that one, loading is still swallowed and the description's claim is false. Nothing unregisters the handler (only heliopause/src/processes_windows.rs:38,48). Nit for this diff (which does delete the old block); blocking if both survive the port.

Nothing else found: I read both hunks in context and the surrounding serve/serve_local functions, and the behaviour the diff claims matches the code. Remaining unverifiable-here check: Windows runtime behaviour needs a Windows host.

#13 [high] Blocking: description's placement and Server::start behavior contradict the code

PR #178 head 43c6ea78, flare-cli/src/main.rs:704-710 registers the Windows handler AFTER loaded.start() (:696), not before Server::start. LoadedSession::start() (helios/src/server/session.rs:48-80) is what calls Server::start (:60-69) and blocks through startup tuning until it returns the ServingSession.

Description claims, all false against this diff:

  1. "Register the handler immediately before Server::start." -> registration is after loaded.start().
  2. "A Ctrl-C during Server::start sets STOP, so the serving loop exits at once and native replay drains before CUDA resources are released." -> during Server::start no handler is installed on Windows (the block at :704-710 has not run; the early registration at old run():187-192 was deleted), so Ctrl-C gets the default console termination: process dies immediately, startup tuning graphs running under the 120 s deadline (helios/src/execution/transport.rs:739-784) are abandoned with no drain (DrainGuard only covers unwinding, session.rs:104-133; it cannot run on process termination).
  3. "Registering before the start also means a registration failure returns before replay begins, instead of dropping the package owner without a confirmed drain." -> the site is after the start; a registration failure there returns Err after loaded.start() succeeded, and the owner is retained only because ServingSession::drop() calls close() (session.rs:104-108) and DrainGuard retains on unconfirmed drain.

Rules: AGENTS.md:88-94 (before/after explicit, name components, state resource-lifetime changes), docs/design-review.md principle 16 (:147-160, reject unsupported claims and unexplained references), .agents/skills/repo-prose/SKILL.md (state behavior as implemented).

Fix: rewrite the second paragraph as, e.g.: "Delete the registration from run() and install stop_console in serve_local, immediately after loaded.start(). Both the download and loading phases keep the default Windows console termination, so Ctrl-C during them ends the process without a drain. Installing after the start leaves the startup tuning graphs inside Server::start without a STOP reader, so Ctrl-C while they run also terminates the process rather than draining; from the serving loop onward STOP is observed and native replay drains before CUDA resources are released. Installing after the start also keeps a registration failure after a successful start, where ServingSession::drop closes the session and DrainGuard retains the core unless drain is confirmed."

#14 [high] Blocking: PR description still has no Discord line

The description read at head 43c6ea78 (read_item #178) ends: "Validation: code review only. ... The change is confined to #[cfg(windows)] code; Unix builds are unaffected." No Discord: line appears anywhere in the body, although mark-yong's 2026-11-28 comment item 4 says "added Discord: myong_acct". Either the edit never reached the description body or it was posted to a comment; rule says the description carries it.

Rule: AGENTS.md:142-153 ("Every PR and issue description has a Discord line after the technical explanation ... Never omit the line"); docs/design-review.md principle 17 (:163-169).

Fix: append Discord: myong_acct after the technical explanation (that username appears in the author's other items, #332, #395, #331). Do not guess; if it is not theirs, use Discord: no username provided.

#15 [high] Should fix: validation paragraph and #113 attribution unchanged

Still present at head 43c6ea78 (read_item #178), unchanged by the rebase:

  1. Validation paragraph: "Validation: code review only. No Windows toolchain or GPU was available, so this was neither compiled for nor run on Windows." The in-repo Windows leg needs no GPU or local toolchain: .github/workflows/native-serving.yml:20-21 runs windows-2022 / x86_64-pc-windows-msvc, builds flare-cli/Cargo.toml at :45, tests it at :73, and triggers on every pull_request (:6). docs/windows.md:119-120 also documents that workflow. Separately, the author's comment reports a Linux run at this commit (cargo test --manifest-path flare-cli/Cargo.toml, 221 passed, 0 failed, 3 ignored) which the description omits. Rules: AGENTS.md:103-112 (connect claims to checks, state unrun checks), AGENTS.md:194-199, docs/design-review.md principle 12 (:106-115). Fix: state the Linux crate-test result, state whether the windows-2022 job was dispatched and its result, and keep only the live flare run CORE Ctrl-C session as the explicit unrun check.

  2. Third paragraph: "#113 reported that Ctrl-C does not cancel loading. Its reporter was on Linux, where recent builds resolve it and the issue was closed, but Windows builds still exhibit the symptom for the reason above." Issue #113 (read_item 113) has one reporter who answered "No Linux but it is no longer an issue with recent builds." No Windows reproduction exists; the sentence asserts Windows builds "exhibit the symptom". The code-level case is sound: stop_console returns 1 for CTRL_C_EVENT/CTRL_BREAK_EVENT (flare-cli/src/main.rs:738-746), so the default termination is suppressed, and STOP readers are the serving loops (:656, :715) plus Unix-only launch/distribution (:192) and parallax (:217). Rules: AGENTS.md:165-169 (demonstrated defect), design-review principle 16. Fix: state the defect as inferred from the handler's return value and the missing Windows reader, and say no Windows reproduction has been reported.

#17 [high] Report of 2026-11-29, run 2: findings at 43c6ea78

Reviewed at head 43c6ea78 (2 files: flare-cli/src/main.rs +7/-6, docs/windows.md +2/-2) against AGENTS.md, CONTRIBUTING.md, docs/design-review.md, .agents/skills/repo-prose/SKILL.md, the charter, and read the changed code in context (flare-cli/src/main.rs:160-220, 560-746, 100-160, 390-430; helios/src/server/session.rs:40-140; helios/src/execution/transport.rs:730-800; docs/windows.md:1-45, 100-160).

Resolved from the previous report: the port to flare-cli/src/main.rs, the deletion of the old registration (grep for SetConsoleCtrlHandler finds only :707 and the handler at :738), and the stale docs sentence are fixed. Unix SIGINT/SIGTERM handling unchanged at :699-703.

Remaining findings: (a) blocking — three description sentences describe a registration site the diff does not have, and the "Ctrl-C during Server::start drains" claim is false (note 13); (b) blocking — no Discord line in the description body (note 14); (c) should fix — validation paragraph and the #113 attribution unchanged (note 15); (d) nits — new comment scope/placement and docs wording at the Server::start boundary (note 16).

Unverifiable here: whether commit 43c6ea78 carries Signed-off-by and a Design-Signed-Off-By digest matching the current staged docs/design-review.md (docs/design-review.md:281-299); the author's comment asserts both were added, and this environment shows subjects only. git log -1 --format=%B 43c6ea78 plus the documented digest command settles it. Live Windows Ctrl-C behavior also needs a Windows host, but the windows-2022 CI leg in this repo compiles and tests the crate without a GPU.

#18 [high] Research summary

Re-reviewed PR #178 at head 43c6ea78 through the prose lens, against the charter, AGENTS.md, CONTRIBUTING.md, docs/design-review.md and .agents/skills/repo-prose/SKILL.md (not opened), reading both changed files in context plus the code they describe.

The rebase fixed the previous structural blockers (the change now lands in flare-cli/src/main.rs, the old registration is deleted, and the stale docs sentence is rewritten), but the description was not updated to match the code it now ships. Two blocking items: three of the description's placement sentences describe a registration site the diff does not have — the handler is installed after loaded.start() (flare-cli/src/main.rs:704-710), so "immediately before Server::start", "a Ctrl-C during Server::start … drains", and "a registration failure returns before replay begins" are all false; and the description body still carries no Discord: line despite the author's claim that one was added. Should-fix: the "code review only / neither compiled for nor run on Windows" paragraph ignores the repo's own windows-2022 CI leg and the author's Linux test result, and the paragraph attributing a Windows manifestation to #113 is unchanged. Nits cover the new code comment's scope and the docs wording at the Server::start boundary.

Commit trailers could not be read here; git log -1 --format=%B 43c6ea78 and the documented digest command settle whether the sign-off and design acknowledgment are present.

#19 [high] Consolidated prose findings for #178 at 43c6ea78, in report order

PR #178 "Keep the default Windows Ctrl-C termination while loading", head 43c6ea78, 2 files (+9/−8): flare-cli/src/main.rs, docs/windows.md. Verdict: blocking.

BLOCKING 1 — The description's account of the change describes a registration site the diff does not contain. Where: PR description, second paragraph, all four sentences; code at flare-cli/src/main.rs:695-710, helios/src/server/session.rs:48-80. What is wrong: the handler is installed at :704-710, i.e. after let session = loaded.start() (:696), and LoadedSession::start() is what calls and blocks in Server::start (:60-69). Therefore:

BLOCKING 2 — No Discord line in the description. Where: PR description body, after "The change is confined to #[cfg(windows)] code; Unix builds are unaffected." What is wrong: the body has no Discord: line at all, although the author's 2026-11-28 comment item 4 says one was added. A line in a comment does not satisfy the rule, which requires it in the description. Rules: AGENTS.md:142-153 ("Every PR and issue description has a Discord line after the technical explanation … Never omit the line"); docs/design-review.md principle 17 (:163-169). Fix: append Discord: myong_acct (the username on the author's #332, #395, #331), or Discord: no username provided; never guess.

SHOULD FIX 3 — The validation paragraph understates available evidence. Where: PR description, "Validation: code review only. No Windows toolchain or GPU was available, so this was neither compiled for nor run on Windows." What is wrong: .github/workflows/native-serving.yml runs a windows-2022 / x86_64-pc-windows-msvc leg (:20-21), builds flare-cli/Cargo.toml (:45), tests it (:73), and triggers on every pull_request (:6); docs/windows.md:119-120 documents the same workflow. A compile needs no GPU and no local toolchain. Separately, the author's comment reports a Linux cargo test --manifest-path flare-cli/Cargo.toml run at this commit (221 passed, 0 failed, 3 ignored) that the description omits. Rules: AGENTS.md:103-112 (connect each claim to its check, state unrun checks), AGENTS.md:194-199, docs/design-review.md principle 12 (:106-115). Fix: state the Linux crate-test result and the windows-2022 job outcome (or that it was not dispatched), and keep only the live flare run CORE Ctrl-C session across loading and "Start server" as the explicitly unrun check.

SHOULD FIX 4 — The description credits #113 with a Windows symptom it does not document. Where: PR description, third paragraph. What is wrong: issue #113 has one reporter, who answered mark-yong's question with "No Linux but it is no longer an issue with recent builds." No Windows reproduction exists, yet the paragraph states "Windows builds still exhibit the symptom". The code-level case is sound and should be stated as inferred: stop_console returns 1 for CTRL_C_EVENT/CTRL_BREAK_EVENT (flare-cli/src/main.rs:738-746) and so suppresses the default termination, while the only STOP readers outside the serving loops (:656, :715) are Unix-only (flare-cli/src/distribution.rs:192 behind #[cfg(unix)] mod distribution, :19-20; flare-cli/src/launch.rs:176) plus the parallax dashboard (:217), which flare run does not open. Rules: AGENTS.md:165-169 (a demonstrated defect is required), docs/design-review.md principle 16. Fix: present the defect as reasoned from the handler's return value and the absent Windows reader, and say plainly that no Windows reproduction has been reported.

NIT 5 — flare-cli/src/main.rs:706 comment. "// Loading keeps the default Ctrl-C termination; nothing reads STOP before serving." At this site loading has already finished and Server::start has returned, so the sentence describes the past rather than what the registration now guarantees, and it omits the consequential case (Ctrl-C during startup tuning inside loaded.start() now terminates the process with no drain). "Nothing reads STOP before serving" is also false for the tree as a whole (parallax.rs:217, launch.rs:176, distribution.rs:192). Fix: one sentence stating the ordering and its consequence, e.g. "Install the handler only after startup, so Ctrl-C during download, loading, or startup tuning keeps the default Windows termination; from the serving loop on, STOP drains native replay." Rules: repo-prose SKILL.md (comments explain invariants and non-obvious constraints).

NIT 6 — docs/windows.md:141-142. "Ctrl-C and Ctrl-Break end loading immediately and drain native work before releasing CUDA resources once serving has started." Accurate for the serving loop, but "once serving has started" reads as "after 'Start server'", and Ctrl-C during Server::start also ends the process without a drain. Fix: say that Ctrl-C before serving ends the process — including while startup tuning runs — and that draining applies from serving onward.

NIT 7 — wording consistency: the docs say "end loading immediately" and the comment says "default Ctrl-C termination"; neither says the process ends. Optional.

RESOLVED SINCE THE 2026-11-26 REPORT (do not re-report): the port to flare-cli/src/main.rs; deletion of the early registration (grep for SetConsoleCtrlHandler finds only :707 and the handler at :738); the docs sentence no longer claims a drain for the loading phase; Unix SIGINT/SIGTERM handling unchanged (:699-703).

CHECKED AND SOUND: the description's order is why → what → result → evidence (principle 16); "does not alter Unix behavior" is accurate (the diff is #[cfg(windows)] plus a docs sentence); the claim that STOP is read by the serving loop matches :656/:715.

NOT ESTABLISHED HERE: whether 43c6ea78 carries Signed-off-by (CONTRIBUTING.md:7-13) and a Design-Signed-Off-By: …; design-review=xxxx trailer matching the current staged docs/design-review.md (docs/design-review.md:281-299, .githooks/commit-msg:56-63); this environment shows commit subjects only, and the author asserts both were added. git log -1 --format=%B 43c6ea78 plus the documented digest command settles it. Live Windows Ctrl-C behavior needs a Windows host; the windows-2022 CI leg covers compilation and CPU tests without one.

#4 [medium] Nit: new comment's "nothing observes STOP before serving" and "Loading" wording

The new comment (flare/src/main.rs:574-575) reads:

// Loading keeps the default Ctrl-C termination because nothing observes STOP before serving.
// A registration failure must return before replay starts.

Check against repo-prose SKILL.md (main) lines 38-39: "Comments explain invariants, intent, and non-obvious constraints, never change history. TODOs name the missing condition and the criterion for removal."

Findings:

Severity: nit (prose, not behaviour). Same wording should be reviewed again after the port since the surrounding function differs.

#8 [medium] Nit: "instead of dropping the package owner" misstates the previous behaviour

Description, paragraph 2 final sentence: "Registering before the start also means a registration failure returns before replay begins, instead of dropping the package owner without a confirmed drain."

At the old placement the handler was registered near the top of main (old flare/src/main.rs:144-149), before the Windows load_package block (old :218-229; main today: flare-cli/src/main.rs:187-192 before :218-229 equivalent). A registration failure there returned before any package was loaded, so no owner existed and nothing could be "dropped ... without a confirmed drain". The hazard the sentence contrasts with only arises from the rejected alternative of registering after Server::start (flare-cli/src/main.rs:630), where the owner and transport are live and would be dropped without server.close() confirming drain (compare the !error.drained handling at flare-cli/src/main.rs:641-647).

So the sentence states a rationale for placing the registration before the start, not a benefit over the previous placement, and the "instead of" contrast misdescribes the old code. Fix: "Placing the registration immediately before Server::start means a registration failure returns while nothing is replaying, so the package owner is never dropped without a confirmed drain." Severity: nit (small, but it is a claim about before/after that the description requires to be explicit — docs/design-review.md:142-145, AGENTS.md:88-94).

#9 [medium] Nit: on main the handler registration exists at flare-cli/src/main.rs:189 and must be moved, not duplicated

On main, the Windows binary will end up registering stop_console twice for flare run: at flare-cli/src/main.rs:187-192 (existing, before loading) and after this PR's port next to Server::start (flare-cli/src/main.rs:630). The early one is exactly what the PR removes; if the port adds the new call without deleting the old one, Ctrl-C during loading is still swallowed and the fixed claim in the description would be false. Nothing in the repo unregisters the handler (search_code pattern=SetConsoleCtrlHandler ref main returns only flare-cli/src/main.rs:189 and heliopause/src/processes_windows.rs:38,48), so a second registration should be paired with the removal, not added beside it.

Not a prose finding on the current diff (the diff does delete the old block at old lines 144-149), but it is the thing to check when reviewing the port, and the description should state that the early registration is removed rather than added to. Severity: nit for the current diff; blocking if the port leaves both in place.

#16 [medium] Nit: code comment and docs wording at the Server::start boundary

  1. flare-cli/src/main.rs:706 comment "Loading keeps the default Ctrl-C termination; nothing reads STOP before serving." At this site loading and Server::start have already returned, so the sentence describes the past without saying what the registration now guarantees; the silent consequence — Ctrl-C during the startup tuning graphs inside loaded.start() terminates the process with no drain (helios/src/execution/transport.rs:739-784) — is unstated, and "nothing reads STOP before serving" is false for the tree as a whole (flare-cli/src/parallax.rs:217, flare-cli/src/launch.rs:176, and Unix-only flare-cli/src/distribution.rs:192). Fix: "Install the handler only after startup so a Ctrl-C during download, loading, or startup tuning keeps the default Windows termination; from the serving loop on, STOP drains native replay." Rules: repo-prose SKILL.md (comments explain invariants and non-obvious constraints), AGENTS.md:88-94.

  2. docs/windows.md:141-142 "Ctrl-C and Ctrl-Break end loading immediately and drain native work before releasing CUDA resources once serving has started." Now consistent with the code only if "serving has started" is read as "the serving loop is running"; during Server::start (startup tuning) Ctrl-C also ends the process immediately. Same fix as the description: say that Ctrl-C before serving ends the process, including while startup tuning runs, and that draining applies from serving onward. Otherwise a Windows user who presses Ctrl-C at "Start server" is told a drain happens when it does not.

  3. docs/windows.md:141 and flare-cli/src/main.rs:706 both word the loading phase as "end loading immediately"/"default Ctrl-C termination"; neither says the process ends. Minor, optional.