Repository navigation
x - #22
Merged
Merged
x#22
Conversation
- Wider invisible hit area around dividers (visible line drawn via CSS ::after pseudo-element) for easier grabbing - Persist split ratios in layout snapshots so resized panes survive tab switches and restores - Double-click divider to equalize sibling panes - Notify onLayoutChanged after drag-end to trigger ratio persistence Co-Authored-By: Claude Opus 4.6 <[email protected]>
scolety1
added a commit
to scolety1/orca
that referenced
this pull request
Sep 16, 2026
…tablyai#18 Resolved, new Finding stablyai#22 logged Findings stablyai#17/stablyai#18 moved to Resolved with the real commit SHAs -- closed via two rounds of real, bounded Codex adversarial review that found and led to fixing 3 additional real gaps beyond the original two (Fleet Planning's status-badge loss, the always-visible GlobalRunStatusIndicator's own raw-vocabulary leak -- corrects an earlier Round 2 mis-attribution to Orca's own shell chrome, it is TSF's own component -- and a run-less legacy-held project still reading active). Full first-real-project-pilot readiness rehearsal (unique-name direct-action retest, 4-project cross-surface agreement rehearsal, restart/durability rehearsal, real owner read-only pass, full test suite) all passed clean. New Finding stablyai#22 logged (BUG, P1, NOT fixed -- out of this mission's narrow scope): a live-LLM-routed conversational question about a held project's status ("is X on hold?") can give a confident, false denial. Confirmed real, reproducible, and pre-existing (unrelated to the stablyai#17/stablyai#18 diff) by the final Codex review -- and confirmed to NOT compromise the actual mutation-safety gate, which independently and correctly still refuses to dispatch/resume on a held project regardless of what the conversation said. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CdU7C6R8tKG5diqfdjNCPp
9 tasks done
scolety1
added a commit
to scolety1/orca
that referenced
this pull request
Sep 17, 2026
…yai#22 Command chat previously answered a genuine, non-imperative status question ("Is X on hold?", "Why is X waiting?", "Can TSF work on X right now?", "What is X doing?") from a live LLM call with zero awareness of the project's real execution-hold record or canonical primaryState -- the model could confidently deny a real, active hold. Root cause traced precisely: these phrasings classified as the generic QUESTION intent (chat-responder.mjs), which chat-http-routes.mjs's own groundedResponseWorthy gate never treats as grounded, so they always escalated to invokeLivePlanner (live-planner.mjs) -- whose prompt- building (buildProjectContextCapsule/operatorFacts) never included project.primaryState/primaryReasonLabel or the execution-hold record. Two-layer fix, both reusing existing canonical primitives, no new status system/enum/selector/endpoint/store: 1. Deterministic grounding: a new, precise, subject-agnostic pattern (CANONICAL_STATUS_FACT_PATTERN, exported) recognizes this narrow family of hold/pause/working/waiting predicate questions and classifies them as STATUS. respondStatus/respondStatusOrNextActionFromRun now always lead with project.primaryState/primaryReasonLabel -- the exact same field HQ/Work/Projects/Command's own sidebar/Project Overview already read. chat-http-routes.mjs's groundedResponseWorthy now grounds these regardless of whether a live run exists (a run-less held project has a real canonical fact too), reusing the SAME pattern so the classifier and the routing decision can never drift apart. Deliberately narrower than all of STATUS: open-ended "what's going on"/"catch me up" keeps its existing, unchanged, run-dependent behavior -- verified against the 2 existing tests that specifically exercise that live-planner path. 2. Defense in depth for whatever still reaches the live LLM: operatorFacts (live-planner.mjs's own prompt payload) now always includes ownerPrimaryState (state + reason, honestly null when absent, never omitted), with an explicit instruction to ground any hold/status answer in it -- so even an open-ended question that still escalates live can no longer confidently invent a contradicting fact. Never touches the mutation-safety gates (chat-dispatch-bridge.mjs, keep-going-controller.mjs, keep-going-dispatch-loop.mjs) -- those already correctly and independently refuse to dispatch/resume on a held project regardless of what any conversation said; this fix is purely about informational honesty, not action authority. DISCUSSING/ASKING an action still != AUTHORIZING it -- deliberative phrasings ("Should I resume X?") are unaffected (verified: different lead words, no pattern overlap). Regression tests added (chat-responder classification + 2 dedicated live-planner prompt-transmission tests, in their own new file to respect the existing 600-line test budget). All directly-related test suites green (474 tests across chat-responder/chat-http-routes/command-*/ live-planner files). Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CdU7C6R8tKG5diqfdjNCPp
scolety1
added a commit
to scolety1/orca
that referenced
this pull request
Sep 17, 2026
…und in CANONICAL_STATUS_FACT_PATTERN
Independently caught by the real Codex archaeology/review dispatch
(session 01a0abec-1ed2-7da1-84aa-93f4fdb5d0fd) and confirmed via my own
parallel testing: "what is X doing" was broadened from the original
literal "it" subject to any single-word subject, but (unlike the other
new predicates) was never anchored to a real clause start -- letting it
match a quoted phrase deep inside an unrelated sentence ("The log
incorrectly prints what is NWR doing after startup.") and misclassify a
genuine bug report as a grounded STATUS question instead of
FEEDBACK_BUG/FIX_REQUEST/GENERAL.
Moved "what is X doing" into the same anchored group ("status" itself
stays a pre-existing, unanchored bare keyword, unchanged from before
this mission). Added regression tests for the exact adversarial cases
Codex found, plus explicit coverage that the status-question family
still never collides with a deliberative question or a direct
imperative.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CdU7C6R8tKG5diqfdjNCPp
scolety1
added a commit
to scolety1/orca
that referenced
this pull request
Sep 17, 2026
…haeology review found Same real, bounded Codex review (session 01a0abec-1ed2-7da1-84aa-93f4fdb5d0fd) found two false negatives in CANONICAL_STATUS_FACT_PATTERN: 1. "Why is NWR on hold?" classified QUESTION, not STATUS -- the why-clause's own predicate list had "held" but not "on hold" (the exact phrase the is-clause already recognized). Added. 2. "Is Customer Portal Authentication Modernization on hold?" classified QUESTION -- the 30-character subject gap was too short for a real, already-onboarded project's own display name (e.g. "Worldforge-Sablewake-Live-Runtime-Repair-V3" is 44 characters). Widened to 80. Both still received live-planner-mjs's own operatorFacts.ownerPrimaryState defense-in-depth fact even before this fix (so were never a false-DENIAL risk, only a missed-deterministic-grounding one) -- but the mission's own explicit examples deserve the precise, zero-LLM-call answer. Regression tests added for both, plus the exact phrasing Codex itself used to report the original (already-fixed) anchoring defect. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CdU7C6R8tKG5diqfdjNCPp
scolety1
added a commit
to scolety1/orca
that referenced
this pull request
Sep 17, 2026
…e positive in the can-branch
Session 01a0abf8-3229-7132-a655-6abfb7098c35 (the final adversarial review,
dispatched after the archaeology review's 4 gaps were closed) found that
"Can you fix the wording work on NWR?" -- a genuine request, not a status
question -- misclassified as STATUS/canonicalStatusWorthy.
Root cause: the can-branch reused the same wide .{0,80}? gap the is/why
branches need for long project-name TARGETS, but the can-branch's gap is
structurally different -- it's the capacity question's SUBJECT (who/what
can do the work: TSF, we, the fleet, someone), which is always a short,
closed vocabulary, never an arbitrary intervening verb phrase.
Fixed by enumerating the real subject vocabulary and requiring it
immediately before "work on", instead of reusing an unrelated gap.
Verified against both the mission's required "Can TSF work on NWR right
now?" and every variant Codex or I could construct.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CdU7C6R8tKG5diqfdjNCPp
scolety1
added a commit
to scolety1/orca
that referenced
this pull request
Sep 17, 2026
…ing deliberative-question mutation gap The final Codex adversarial review (session 01a0abf8-3229-7132-a655-6abfb7098c35) found a genuine mutation-safety defect, pre-existing and unrelated to Finding stablyai#22's own diff (this file was untouched by it, confirmed via git diff --stat b92357a..HEAD): a deliberative compound question like "Is NWR paused, or should I resume it?" actually called resumeProjectRun. splitIntoClauses did not split on "or", so "or should I resume it" survived as one clause, defeating QUESTION_OPENER's clause-start anchor and letting the bare "resume it" pronoun match through the guard as a real directive. Fixed narrowly: split on "or" only when it is immediately followed by a genuine question-opener word (did/do/does/is/are/.../should + you/it/ that/...). A blanket "or" split (mirroring "and"/"but") was tried first and reverted -- it fixes the reported shape but breaks the mirror-image "Should I pause NWR or resume it?" (question word leads both disjuncts), which was already correct before any of this. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CdU7C6R8tKG5diqfdjNCPp
scolety1
added a commit
to scolety1/orca
that referenced
this pull request
Sep 17, 2026
…al project names; gaps could cross sentences
Self-found while verifying the final Codex review's other findings, two
more real gaps in CANONICAL_STATUS_FACT_PATTERN:
1. "what is X doing" used \S+ (a single token) for the subject, so it
never matched a multi-word project display name -- which most real,
currently-onboarded fleet projects actually have ("Weird Talent
Marketplace", "Colety Labs Sales Engine", "Customer Portal
Authentication Modernization"). Widened to the same bounded gap the
is/why branches already use for their own (also long) target names.
2. That widening exposed a latent flaw shared by all three target-name
gaps: a bare `.` also matches "." and "?", so the gap could cross into
a LATER, unrelated sentence and pick up a stray "doing"/"on hold"/etc
there. Excluding sentence terminators from the gap (`[^.!?]` instead of
`.`) confines the target to the same sentence as its predicate, which
is the only shape any of these questions legitimately take.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CdU7C6R8tKG5diqfdjNCPp
scolety1
added a commit
to scolety1/orca
that referenced
this pull request
Sep 21, 2026
…eady fixed Found during a dogfood pass: the ledger's Open table still listed Finding stablyai#22 (Command chat false-denying an active execution hold) as unfixed, but commit 5399f43 (2026-09-16) already fixed it -- a new CANONICAL_STATUS_FACT_PATTERN grounds this question family in project.primaryState deterministically, plus defense-in-depth via operatorFacts.ownerPrimaryState for whatever still reaches invokeLivePlanner. Re-ran all directly related regression tests (86 tests across chat-responder/live-planner/chat-http-routes) to confirm the fix is still real and intact before touching the ledger -- no code change needed, only the ledger was stale. Moved to Resolved with the real commit SHA. Co-Authored-By: Claude Sonnet 5 <[email protected]>
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
- Wider invisible hit area around dividers (visible line drawn via CSS ::after pseudo-element) for easier grabbing - Persist split ratios in layout snapshots so resized panes survive tab switches and restores - Double-click divider to equalize sibling panes - Notify onLayoutChanged after drag-end to trigger ratio persistence Co-authored-by: Claude Opus 4.6 <[email protected]>
7 of 9 tasks
nwparker
added a commit
that referenced
this pull request
Oct 19, 2026
…l-create callers off the deprecated owner resolver Agent launch, AI-vault resume and reveal, note target and send, wake and creation seeds, native chat owner, the shell menu and active-workspace terminal creation (#22, #31-#42, #44) read the owner through runtimeEnvironmentIdWithLegacyFallbackUnlessTwin. Paste uploads images to the server its PTY id names before falling back to the workspace owner. The folder and floating branch of the terminal spawn route (#53) reads resolveOwnerWithLegacyFallback: spawn refuses a folder twin instead of following the focused server, and teardown keeps tearing raw ids down locally. Deprecated importers 31 -> 16.
nwparker
added a commit
that referenced
this pull request
Oct 19, 2026
…f the deprecated owner resolver; spawn refuses folder twins (#30497) * refactor(renderer): fold launch, resume, note-send, paste and terminal-create callers off the deprecated owner resolver Agent launch, AI-vault resume and reveal, note target and send, wake and creation seeds, native chat owner, the shell menu and active-workspace terminal creation (#22, #31-#42, #44) read the owner through runtimeEnvironmentIdWithLegacyFallbackUnlessTwin. Paste uploads images to the server its PTY id names before falling back to the workspace owner. The folder and floating branch of the terminal spawn route (#53) reads resolveOwnerWithLegacyFallback: spawn refuses a folder twin instead of following the focused server, and teardown keeps tearing raw ids down locally. Deprecated importers 31 -> 16. * test: give the paste-listener and tab-bar probes the fields the folded callers read * test: note why the folder-twin route fixture is cast * test: type the paste-owner twin fixture
This was referenced Oct 25, 2026
This was referenced Oct 26, 2026
Merged
9 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
::afterpseudo-element for the visible line, while the element itself is a wider transparent grab zone (~10px total). This prevents the old bug wherebackgroundshorthand resets wipedbackground-clip.ratiofield on split nodes), andreplayTerminalLayoutrestores them — resized panes survive tab switches.onLayoutChangedfires after a real drag so ratio persistence is triggered automatically.Test plan
🤖 Generated with Claude Code