Commit Graph
970 Commits
Author SHA1 Message Date
ruv 38c30b1120 chore(mods): ruflo-mods 0.3.15 so marketplace users receive the #3791-#3805 fixes
The fixes merged in #3873 without a version bump, so 'claude plugin update'
saw no new version.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-07 03:51:38 -04:00
rUv 610a2e1475 Merge pull request #3877 from ruvnet/feat/console-0.36
feat(console): 0.36.0 — Events and Timeline pages: history, sources, severity, query language, lanes, overlays
2026-10-06 23:44:14 -07:00
ruv 1ac200432c feat(console): 0.36.0 integration: eventsPersist option, shared whole-batch append argv, hostile-time hardening, init ignores console/
- plugin.json declares eventsPersist (default true); version 0.36.0 in plugin.json, version.ts, smoke.sh
- data/append-argv.ts: one dd argv (bs=1M iflag=fullblock) shared by the Events store and the autopilot journal; real-dd 8-writer test fails on the old argv
- history decoders and Events/Timeline displays use #3874's timeOf/countOf/isoOf, so a hostile time or count cannot throw
- cli init: .claude-flow/.gitignore template lists console/
- ADR-474 updated to the reviewed behaviour and the open low items

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-07 02:19:20 -04:00
ruv 027e180c39 Merge verify/events-0.36 into feat/console-0.36
Conflict in views/manage.ts: #3874 (isoOf) edited eventsView, which the Events work moved to views/events.ts; the move wins and the isoOf clamp is applied at every Events/Timeline site instead.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-07 02:19:20 -04:00
rUv 7ee853ee34 Merge branch 'main' into fix/mods-3791-3805 2026-10-06 23:02:04 -07:00
ruv 7782ccbf60 fix(console): log Claude's refused request when the person's card is waiting; mission-auto why when not wired; document the local-read allowlist
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-07 01:06:51 -04:00
ruv e5d887af43 test(ruflo-mods): the /clear rollup record keeps the ending session's rung, the next starts at OK (#3795)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-07 00:58:38 -04:00
ruv 6258d60127 fix(guard): decode $'...' escapes as bash does; adversarial and benign tables for the root-delete guard (#3791)
$'\x2f' and $'\x72m' name the root and rm without any expansion, and a
\' inside $'...' does not close the string. The scanner now decodes ANSI-C
escapes (octal, \x, \u/\U, \c, the single-letter set, NUL ends the string)
in all four copies, and the parity table gains wrapper, flag-spelling,
benign look-alike and documented-limit rows.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-07 00:58:38 -04:00
ruv 93b6870a1d fix(ruflo-mods): trust gate judges a glob or a negation by what it selects (#3801)
The scan reports hook patterns as written, so tool.*, prompt.*, agent.* or
!tool.describe hooked every risky event without matching a RISKY_EVENTS key.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-07 00:58:38 -04:00
Dragan Spiridonov 72c84437d4 fix(ruflo-mods): trust gate treats process.spawn, mcp.call/connect, session.send, config.set, prompt.submit and agent.spawn as risky; names a reload that gains risk (#3787, #3801)
refuse-risky admitted a user-tier mod that ran host commands through
$.process.spawn (process.run was listed) or through any MCP tool via
$.mcp.call, and one that steered every prompt (prompt.submit) or every
subagent (agent.spawn). Observe told the person "no risky calls or hooks".

The risk sets now cover every call in the engine's $ API that reaches
outside the session, and the two hooks from #3787. Observe-mode logging is
keyed on provenance plus the risk set, so a hot reload that gains a risky
call or hook is named again ("and every reload"), and the same risk is not
repeated.

(cherry picked from commit 566bfdc8a20409f763d312e1ae34bcd0fc6c0515)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov 810fb0de48 test(ruflo-mods): pin registeredEvents to what register() hooks across every option combination (#3805)
Adversarial review follow-up: the list test only covered the conditions it
named, and the doc comment claimed smoke.sh guarded drift (it checks names,
not conditions). The matrix test calls register() with a recording on() for
256 option combinations and compares.

(cherry picked from commit d857b4d136)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov fff705bb3a fix(ruflo-mods): capabilityProbe counts session.measure, agent.spawn and plugin.register only where the options hook them (#3805)
registeredEvents() listed them as always registered, so with default options
the probe counted session.measure as "fired" with no ruflo hook running and
listed agent.spawn as "never fired" although the mod never hooked it (and
plugin.register under modTrust: off).

(cherry picked from commit 3a146c08dc)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov 8613d5bdfe fix(ruflo-mods): stand down for legacy CLI hooks route|post-edit settings and check the %USERPROFILE% helper (#3803)
Projects initialised before hook-handler.cjs (e.g. settings-generator at
d7212d25b wrote `npx claude-flow@v3alpha hooks route --task "$PROMPT"`) run
the CLI's own hooks command, which never reads RUFLO_MODS_OWNS. The mod saw
no classic route/post-edit there, owned both, and every prompt was routed
twice (the CLI still prints its block with the handshake set, verified on
3.52.0). A settings hook running claude-flow / @claude-flow/cli / ruflo
`hooks route|post-edit` now makes the mod stand down for that event.

On Windows the generated hook falls back to
%USERPROFILE%\.claude\helpers\hook-handler.cjs; helperHonours now checks it
beside the project root and $HOME.

(cherry picked from commit 4dec48e9f5)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov c79f66e89f fix(ruflo-mods): keep main's Google-key and JWT matches when glued to a dash; no ^ at mid-line window starts (#3798)
Fourth review (differential vs main over 154k inputs): two secret shapes
main caught were missed after the earlier tightening - a Google key glued to
"-suffix" (the trailing lookahead rejected it; \b now also ends it) and a
JWT after a '-' (the new lookbehind; the rule now starts at the first eyJ
after a '-' or the run start, still once per run and linear). A later window
that starts mid-line gets a lead character so ^ cannot treat a benign
"system:" there as a role tag. Inbound and outbound now build the windows
once and pass them to scanWindows(). Two tests (each fails on the previous
head); corpus unchanged.

(cherry picked from commit 5e9cec209c)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov 0e505ffcef fix(ruflo-mods): screen three readings so stripping or folding never glues a phrase to the word before it (#3798)
Third review: stripping every default-ignorable character and NFKC folding
joined what followed to the word before it, so a leading \b or lookbehind
failed: "x" + soft hyphen + "Ignore all previous instructions", a circled
digit before AKIA..., and a zero-width space before an SSN all passed, where
main caught them (129 of 1,093 sampled inputs).

windows() now screens three readings: the folded one, main's literal one
(only its original invisible set removed) and a spaced one (invisible
characters become spaces), each whitespace-collapsed and windowed, so cost
stays linear. The role-tag rule is back to main's \s* (linear after the
collapse; it caught "system\n:"), and the key rule accepts doubled or mixed
separators again (my--token=). One test pins seven of these cases; it fails
on the previous head.

(cherry picked from commit 000f677c36)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov 6f88e5e9ae fix(ruflo-mods): screens stay linear on blank lines and repeated token starts; whitespace padding cannot straddle a window (#3798)
Second review: once the whole text is screened, two older rules that were
only ever run on a 20k prefix became the cost: `fake role tags` (^\s* with
m) is quadratic on runs of newlines (1 MB of "\n": 16.8 s) and `jwt` (\beyJ)
restarts at every '-' ("-eyJ" x 1 MB: 8.2 s). Unbounded \s in shell pipe,
key assignment and bearer also let padding carry a match across a window.

- bare() collapses each whitespace run to one space or newline before
  windowing (linear; screening only tests text, never returns it).
- jwt starts once per token run; the anchored role-tag half uses [ \t].
- key assignment accepts a CLI flag prefix again (--password=, --token=),
  which main caught.
Three tests pin these (1 MB of blank lines and "-eyJ" under 1.5 s, a pipe
padded with 1.1k-25k spaces at window boundaries, CLI flags); each fails on
the previous head.

(cherry picked from commit 2ffd534404)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov e281da31a4 fix(ruflo-mods): key-assignment rule is linear and ends at the credential name; windows start at whitespace (#3798)
Adversarial review of the previous commit:
- the suffix group after the keyword backtracked against it: 1 MB of
  'token_' took 6.4 s through scan() (10 MB: 71 s), and with the 20k cap gone
  a peer controlled the input. The keyword must now end the name, optionally
  followed by _key / _access_key; 1 MB of 'token_' screens in milliseconds.
- the same group flagged config names that only start with a keyword
  (TOKEN_URL=, MAX_TOKENS=, session_token_ttl=, CREDENTIALS_FILE=); those
  pass again, and an all-digit value is no longer a credential.
- a later window began mid-word, so its lookbehind, \b and ^ saw a false
  start of text ('q' * 18976 + 'secret=...' was refused, unpadded it passes).
  Later windows now start after whitespace within 256 characters; the 1,024
  overlap still covers every rule.
Three tests pin these; each fails on the previous head.

(cherry picked from commit 60a5f05340)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov 3a3f8c3a61 fix(ruflo-mods): screen the whole text, strip every default-ignorable character, catch more secret shapes (#3798)
The shared screen behind deliveryScreen, compactCarry and guidance safeText:

- scanned only the first 20,000 characters, so padding pushed an injection
  or a secret past it. It now scans the whole text in overlapping 20k
  windows (1k overlap, far longer than any rule spans): still linear.
- stripped a fixed list of invisible characters. It now strips every
  default-ignorable code point (soft hyphen, CGJ, Mongolian VS, variation
  selectors, bidi isolates, tags) plus C0/C1 and line/paragraph separators,
  then NFKC-folds fullwidth forms.
- missed GITHUB_TOKEN= / aws_secret_access_key = / "client_secret": (the
  keyword inside an _ or - separated name), PGP armored private keys, Google
  keys ending in '-', and Slack xapp- tokens.

delivery/screen.ts reuses the shared windows instead of its own copy of the
invisible set and the 20k slice. The 50/50 acceptance corpus is unchanged
(50/50 caught, 1/50 benign flagged, as before).

(cherry picked from commit b1cc41c887)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov 42424201c6 fix(ruflo-mods): /resume also gives the next session its own rollup record; redraw after the budget reset (#3795)
Re-review follow-ups: the engine contract says the process also goes on
under another session after a resume (no session.start), so the rollup
resets on reason resume as on clear (new test). The cost reset stays on
clear only until /resume cost behaviour is measured live. The cost reset
now redraws the status line, which otherwise showed the old rung until the
next prompt.

(cherry picked from commit 927799ae24)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov c486e0ec26 fix(ruflo-mods): reset per-session state on session.end(reason: clear), not session.start (#3795)
Adversarial review: the engine contract (2.1.289 types) says session.start
fires once per process or fresh load, "never /clear"; /clear is seen as
session.end with reason clear and no session.start follows. The previous
commit reset on session.start, so it never ran on a real /clear, and its
tests faked one with an `as never` cast.

- rollup: after writing the ending session's record, a clear resets the
  counters and the written flag, so the next session gets its own record.
- cost: a session.end matcher on reason clear restarts the ladder and the
  hard stop. Registered after the rollup, which records the rung first. Any
  other end reason keeps the hard stop (new test).
- tests replay the real sequence: session.end(clear), work, session.end.

Live (2.1.289, --plugin-dir, tmux): prompt, /clear, prompt, /exit now writes
two ledger records; main writes one.

(cherry picked from commit 3630744aea)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov ffd882365e fix(ruflo-mods): rollup and budget start over at each session.start, so /clear gets its own session (#3795)
/clear ends a session and starts the next in the same process without
re-running register, so the process-scoped state carried over:

- sessionRollup set `written` once and never reset it, so every session after
  the first /clear went unrecorded (measured live on 2.1.289), and its
  counters accumulated. The rollup now resets on session.start and records
  routed/tightened as this session's share.
- the cost ladder kept the previous session's announced rung and HARD_STOP
  level, though the engine counts the new session's cost from zero
  ($0.07 -> $0.06 across /clear, measured live). The ladder and the hard stop
  now start over at session.start; within a session a rung is still told once.

The engine refuses a second matcher-less session.start, so the cost hook uses
the same match-everything surface matcher as the rollup hook.

(cherry picked from commit 0f9f1b99f2)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov 061efa3b40 fix(ruflo-mods): the observation queue and a quoted path no longer read as "missing" (#3793)
Adversarial review follow-ups in the same class:
- flushObservations read and parsed in one try and applied isMissing to the
  parse error, so a corrupt queue quoting ENOENT was overwritten, against its
  own "corrupt bytes are never replaced". Read and parse are separate now.
- isMissing matched ENOENT anywhere in the message, including the quoted
  path (a project under .../ENOENT-x/). It now takes the path and ignores
  it; cachedFile and the queue pass theirs.

(cherry picked from commit 5044d007f3)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov f661b83585 fix(ruflo-mods): a parse error that quotes "ENOENT" no longer reads as an absent projection (#3793)
cachedFile applied isMissing() to parse() exceptions as well as to the
fs.read rejection. JSON.parse and parseProjection both put the file's own
text in their message, so an enforced policy projection containing "ENOENT"
(torn JSON, a stray log line, version: "ENOENT") read as "no policy" and the
guard allowed what the rule denies. Only the read may say absent now; every
parse failure is an error, so the guard fails closed as ADR-450 T10 says.

(cherry picked from commit 5a0a5a4cf9)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov 5ae95050c7 fix(guard): a quoted empty substitution leaves the word as bash does; # after it stays in the word (#3791)
Real-bash oracle (bwrap, read-only root, logging fake rm; positive controls
detected) over a 63,696-command differential between main and this branch:
- a substitution inside double quotes is now dropped from the word, as its
  empty output is, so "`true`"-rf reads as -rf; a placeholder is kept only
  when a # follows, so bash -c "`true`#x; rm -rf /" is still read as one
  word and caught;
- 1,260 commands main denies and this branch allows: 0 really delete
  (bash parses each differently than main assumed);
- of 1,500 sampled commands this branch allows with a root operand, the
  201 that really delete are all $(...) substitutions (stated follow-up, 189)
  or $- expansions inside sh -c (12); main misses every one too.
Three parity rows added (309 pass). All four copies alike; the generator's
String.raw source keeps no backtick in comments.

(cherry picked from commit 4f2ac8ba28)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov 94238f06ef fix(guard): a substitution starts its word, and an unterminated backtick is text (#3791)
Third review (by reading; its oracle run was cut short): the unquoted
backtick branch did not mark the word as started, so a # right after an
empty substitution was read as a comment and the rest of the line skipped,
`true`#x; rm -rf / among it; bash keeps # inside the word. main denied this
(the backtick was a word character there). Confirmed: the new parity row
fails on the previous head and passes now.

An unterminated backtick (quoted or not) is now literal text, as main read
it, instead of a substitution that swallows the rest of the input. Five rows
added (306 pass); all four copies alike.

(cherry picked from commit 6f515a37a2)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov b880b825ff fix(guard): unescape a substitution body as bash does, scan backticks inside double quotes, rescan any word with a separator (#3791)
Second review, against a real-bash oracle (sandboxed, logging fake rm) over
12k generated commands:
- the backtick body dropped every backslash; bash removes one only before
  $, a backtick or a backslash (and " inside double quotes) and drops
  backslash-newline, so escaped operands and line continuations inside a
  substitution slipped through;
- a backtick inside "..." was kept as text, not scanned, so an empty
  substitution inside a quoted operand hid the delete;
- a word was rescanned only if it contained "rm", so a nested shell whose
  rm was split by a substitution or a backslash was never read.

One substitution helper now serves both contexts, and any word with a
separator or a backtick is rescanned (still bounded at four levels). All
four copies alike. The reviewer's oracle: misses 632 -> 26 (24 are the $(...)
follow-up, 2 real expansions), 0 regressions vs main. Five deny rows and one
allow row added to the parity table (301 pass; on the previous head exactly
the five new deny rows fail).

(cherry picked from commit feb0df1e73)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov 54d49ea898 fix(guard): scan a backtick substitution as a nested command instead of ending the rm being parsed (#3791)
Adversarial review: making the backtick a command separator reset the rm
state, so an empty substitution among rm's operands hid the delete. Four
commands main denied were allowed (rm -rf `true` /, rm `` -rf /,
rm -rf /tmp/x `:` /, rm -r `:` -f /); the shell drops the empty word, so
each runs as a root delete.

The backtick is no longer a separator. Its body is scanned as its own
command (bounded at four levels, as other rescans), and the enclosing word
and rm state are left alone. All four copies changed alike; the parity
table gains those four rows plus two safe look-alikes (295 pass; on the
previous head exactly the four new deny rows fail).

(cherry picked from commit d4b0b739c3)
2026-10-07 00:58:38 -04:00
Dragan Spiridonov 574e5dd6da fix(guard): root-delete scanner catches backticks, $'…' quoting and abbreviated long options (#3791)
The #3698 scanner kept `$` in front of a quote, did not separate on a
backtick, and accepted only the exact `--recursive`/`--force`. So
``echo `rm -rf /` ``, `$'rm' -rf /`, `bash -c $'rm -rf /'` and
`rm --r --f /*` passed the mod and both classic pre-bash helpers. GNU rm
runs each of them as a root delete.

- A backtick separates words and ends a command, as `(` and `)` already do,
  and a quoted word that contains one is rescanned.
- A `$` immediately before `'` or `"` is ANSI-C/locale quoting, not part of the word.
- Any unambiguous `--` prefix of --recursive / --force counts as that flag,
  as getopt_long does.

The same change is applied to all four copies: the mod, the generator
fallback and both shipped hook-handler.cjs. Fifteen cases are added to the
#3698 parity table (10 deny, 5 safe look-alikes).

(cherry picked from commit ad44701617)
2026-10-07 00:58:38 -04:00
ruv 44b157b522 fix(console): session control cap, gate on read-only entries that act, hostile text/data, mission auto-run guards (#3814 #3815 #3816 #3817 #3818)
- RUFLO_CONSOLE_CONTROL is kept as session state and applied on every load and save of the AI prefs; only the person's own level is stored (#3814)
- A Claude call to an entry flagged read-only that spends, writes or reaches the network is queued for the level/budget/confirm gate; deferred asks keep their origin and are awaited; Claude's ask never replaces a waiting card; mission-auto parses on/off (#3815)
- One strip set for plain() and termText(); guidance errors and perf readers cleaned; console_state withholds secret-looking lines and invite codes (#3816)
- Times clamped to Date's range, counts and ratios bounded, unique Room ids, links never read as docs, own-property cli option, objectIn closes at the JSON end (#3817)
- A failed task_update sends no prompt, hand-outs are limited, the cap needs a fresh reading and is read off-page, cap 0 is refused (#3818)

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-07 00:57:27 -04:00
ruv b17a497916 chore(console): 0.35.0; re-sign the helpers manifest for the recall-log hook changes (ADR-472)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 19:19:42 -04:00
ruv 0406f27b4b merge feat/recall-log-vectors-0.35 2026-10-06 19:17:27 -04:00
ruv 128266082b merge feat/autopilot-complete-0.35 2026-10-06 19:17:27 -04:00
ruv 978572d731 merge fix/control-verified-0.35 2026-10-06 19:17:27 -04:00
ruv 7f560f7d72 merge fix/console-layout-0.35 2026-10-06 19:17:27 -04:00
ruv b531aa9279 perf(console): incremental transcript parsing, kit-seq runner, tsc clean for specs (ADR-473)
A transcript that grew is parsed from where its last parse ended, not from its
first line: checked resume (head + anchor), unfinished last line taken back,
bounded ring and id set, LRU memo, tail windows by unique anchor. Reference
parsers untouched and used as the oracle by a seeded property test plus
mutation checks. Refresh warms the parse memo for the search (400k chars a tick).

scripts/kit-seq.sh runs the 25 kit tests one file at a time in a temp copy;
scripts/typecheck.sh makes tsc find the ambient types in a fresh worktree; the
specs' type errors are fixed (sources of other lanes listed in the report).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 19:16:55 -04:00
ruv 75b0188e0d feat(ruflo-console): autopilot envelope editor, parallel hand-over, spend windows, band segment, and the first live run (ADR-470)
- list editor for folders, repos, hosts, secret names and verify commands, every edit checked by the loader's own validator, shown as a diff against the approved envelope
- bounded parallel hand-over up to min(envelope concurrency, adaptation) through a narrow startable() beside nextTask; a park no longer holds the other tasks back
- spend: windows never start before Start, Claude Code only, unpriced models and old trackers say why the reading is unknown
- the band segment is drawn through registerBarSource
- ruflo autopilot_* tools: probed, not used (ADR-470 section 2.5)
- live run in a scratch repo found and fixed: dead 8/9 hotkeys, Start unreachable without a run, an input-less permission probe that parked every task, a failed record for a step that finished after Stop, a lost step retried without a question, a false "allow every class"

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 19:14:02 -04:00
ruv a6f35488df fix(ruflo-console): control plane measured in an interactive session (ADR-471)
Replaces every "unverified" label with what Claude Code 2.1.289 actually answered:
- Stop a run: TaskStop takes the Workflow TASK id (read from the session transcript, last launch wins); the wf_ run id and a workflow agent's id are "No task found", so Stop-one-agent is removed and shows the engine's refusal.
- Message: delivered mid-task to a running workflow agent; to a named Agent-tool agent it arrives when its turn ends (161-165 s measured).
- $.tool.call opens the engine's real dialog for ask-class tools; deny resolves {deny}; never bypassed.
- Codex "tokens used" is a total (tokensTotal), stdout trimmed; federation argv checked against the helper's parser; stub OpenAI endpoint receives the card's exact bytes; the engine does not block link-local, so isBaseUrl is the only SSRF gate.
- Real answers are fixtures (tests/fixtures/control-real.ts); new wf-send-stub spec uses a real HTTP server.

Mutation check: 13 mutations (first-launch task id, run id passed to TaskStop, deny ignored, tool_use_error kept, stop-agent spec, codex total as output, untrimmed error, link-local allowed, plain http, transcript path unchecked, huge transcript unread, task id never re-read, usage field on every endpoint) each killed.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 19:02:33 -04:00
ruv 0d94fdb4dd feat(ruflo-console): recorded recalls, real vectors on the memory map, log-based stale (ADR-472)
Learning Lab explains a recall from the hook's recall log (scores as recorded,
recomputation kept as the labelled fallback) and shows real surfaced counts.
The memory map reads stored vectors (memory list --embeddings, int8+scale) and
drops 'NOT similarity' only when they drove the layout. Memory health judges
stale by the log where it can speak and adds similar-by-meaning clusters when
vectors were read. ADR-472 documents the log schema, privacy, vector path and
rollback.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 18:34:43 -04:00
ruv 6206c11617 fix(console): Workflows layout at every dock width, replay play loop, quiet stale presses (ADR-469)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 18:28:31 -04:00
ruv d4e85e087a fix(console): triage re-run text no longer says the console cannot stop a run (0.34.1)
The Control tab's Stop asks first and calls TaskStop; it is unverified for a
workflow run's own id, so the text names Claude Code's Workflows panel as the
sure way. Found by looking at the demo GIF frames.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 09:36:40 -04:00
ruv 925d2ac782 fix(console): autopilot MCP preflight names the plugin-namespaced tool (fleet MCP prefix audit)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 02:14:53 -04:00
ruv 9df7e0f88b bench(console): startup bench separating engine module-load cost from plugin runtime
Measured: the 3-8 kit-test timeouts on this branch are the engine transpiling and scanning the larger value-reachable module graph (189 -> 265 modules, 248k -> 353k AST nodes) on every test's plugin load; plugin-side start, refresh and render are unchanged. The engine refuses dynamic import(), so the graph cannot be loaded lazily.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:54:09 -04:00
ruv 710e16ec28 test(console): hostile-text expectation matches the removal-not-spacing mask
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:29:25 -04:00
ruv d89940a289 test(console): the scan-per-event reference fold counts starts like the real fold (security pin)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:25:11 -04:00
ruv 6b17188cad merge verify/bench; ADR-468 for the bench optimisations; console 0.34.0
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:23:57 -04:00
ruv e00c40da9b test(console): kill the two surviving mutations (per-command verify permission, rotation inside the write chain)
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:23:02 -04:00
ruv 0181befe7e fix(console): merge follow-ups - denied verify counts as failed, journaled-start TOCTOU test, paths convention
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:17:33 -04:00
ruv 83e0a77dc5 Merge verify/review into verify/security (autopilot: union of both hardening sets)
ap-guard: PATH/RELATIVE_PATH/UNPLACED/NFKC from security plus URL host and GitHub repo extraction from review.
ap-loop: all paths, hosts, repos checked; deny not liftable; lost-on-restart park; sleep slack; clock-set-back fix.
ap-live: pin + held stop + slack + verifyPermission + startedCount hand-over check; rotate and adaptPass moved to ap-maint.ts (500-line limit).
ap-panel: Start card lists verify commands, repos and secret env names.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:14:57 -04:00
ruv 15933793f1 perf(console): fix per-frame transcript re-parse, quadratic journal fold, repeated tail reads; add workflow and autopilot benchmarks (ADR-467)
Frame 64 ms -> 0.06 ms, drill/search frames 1.4 s -> 0.1 ms, foldJournal 100k events 15 s -> 53 ms,
unchanged journal not replayed, unchanged oversized transcripts not re-read. Digests identical before/after.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:12:01 -04:00
ruv 19fbfdc120 fix(console): pin the recorded stop, bound the hand-over read, mask zero-width-split keys at parse, ADR-467
Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:00:24 -04:00