Repository navigation
Scout 0.18.23
App
Fixed
- Edit and delete no longer show on task comments
scoutctlcan't address: inline//==<< … >>==//notes, quote-line comments, a comment after a blank line, and comments under a child task. They used to fail, edit a different comment of the same task when one of these sat above it, or, in a list indented by one space, reach the next task's line. Each comment now carries the index the engine gives it. (#556)
Plugin and engine
Changed
scoutctl kb searchprints a bounded result and says what it left out (engine/scout/kb/read.py,engine/scout/cli.py). A search with no--globstill covers every listed file, not onlyknowledge-base/(the phases use that to find every link to a moved folder), so one common word could print tens of thousands of lines, most of them from the datedaction-items/files, into a run's context.- The caps. At most 20 matching lines per file and 200 in all, each line cut to 400 characters around its match. When the total cap bites, every top-level folder with matches keeps a share of the output, so a large
action-items/can't crowd the knowledge base out. - The closing lines. In parentheses after the matches: how many matching lines and files there really are, how many were left out per top-level folder, and how to see them (a
--glob, a more specific pattern, or a higher cap). - Lifting them.
--max-matches N,--max-per-file Nand--max-line N; 0 means no limit.--allprints every matching line (long lines still cut). A search that fits under the caps prints exactly what it printed before. --jsonis unchanged: every match, whole, unless a--max-*option is given; then the output is still a list of matches and the closing lines go to stderr.- The phases that act on every match pass
--all(phases/modes/kb-deep-work.md,phases/core/kb-management.md,phases/connectors/granola.md,templates/docs/kb-page-standard.md): finding every inline owner comment, every link to a folder being moved, every transcript breadcrumb.
- The caps. At most 20 matching lines per file and 200 in all, each line cut to 400 characters around its match. When the total cap bites, every top-level folder with matches keeps a share of the output, so a large
Fixed
scoutctl action-items edit-comment/delete-commentcould reach a line of another task. The comment lister only stopped at a blank or unindented line, so in a list indented by one space it ran on into the next task's sub-bullets, and under a parent task into a child task's.--indexcould then edit or delete the neighbour's comment or its/scout-planmarker. A task's comments now end at the first line indented no deeper than the task, and a child task's sub-bullets are skipped. (#556)- The connector snapshot is built from the packaged
connectors.yamlonly (engine/scout/scripts/connectors_snapshot.py,engine/scout/connectors.py). It used to read the roster through the vault it ran in, so regenerating it, or running--check, on a Mac whose vault had a.scout-state/connectors.local.yamloverlay could write that vault's renamed or added rows into the snapshot the app ships, or report drift that CI didn't see. A malformed overlay also stopped the command. The newload_seed_registry()never reads a vault. The committed snapshot and its app copies were already clean and are unchanged. (#543) - A delegate mirror can be linked when
privacy.sync_onlydoesn't listscout-config.yaml(#550). The
allowlist kept the config home, but a mirror can't hold anything without it, sodelegate linkalways refused
(config_not_mirrored). The config is now the one file the allowlist can't keep out of a mirror, as the
generated policy file is for Agnes. The mirror's copy then holds theprivacyblock alone, and none of the
config's other keys. When the allowlist lists the config, the mirror's copy keeps those keys as before. - The mirror's
privacyblock holds only what the policy reads. It's rebuilt, at every level, from the
keys and fields the policy uses, in their canonical form, so a note, an address or any other value beside a
setting stays home.sync_onlyitself never goes: no label depends on it. - The mirror's config is checked against a fresh rebuild on every push, even when it is HEAD's blob
unchanged. Before, a copy equal to the vault's own config skipped that check. - A hidden note named "Scout" no longer keeps the config out of every mirror.
scout-config.yamlis
Scout's own name for the file, so it's no longer matched against hidden notes' names. Its contents are still
scanned. scoutctl bootstrap upgradeinstalls a brain file missing from the vault. Since v0.18.22 an upgrade recordedRESPOND.mdas installed without writing it, so Telegram replies ran without their brain. The next upgrade now writes it, which also repairs a vault an earlier upgrade left without it, and says so (installed (was missing): RESPOND.md, andinstalledin--json).bootstrap doctorwarns (yellow) when any brain file (SKILL.md,DREAMING.md,RESEARCH.md,RESPOND.md) is missing. When the vault's git history shows the file was deleted, the warning names the commit and says to turn the run off in the schedule (ortriggers.yamlfor replies) instead, because the next upgrade restores it.- A recursive search from the vault root filtered to a data format is a KB read (
engine/scout/kb/raw_read.py, #541). Thekb-read-gatehook and the eval'sprivacy_hygienecheck share one classifier. It already counted a shell search rooted at the vault or above (rg x,grep -r x .,find .,ls -R,tree), but let one through when its file filter named any format other than Markdown:grep -r x . --include='*.yaml'walkedknowledge-base/and read the YAML, CSV and JSON files kept there. A filter now keeps a search out of the KB only if it can't match a file in a format the KB keeps facts in:md,markdown,yaml,yml,csv,tsv,json,txt,html,htm, and forrg -tthe typesyaml,csv,json,txt,htmlbesidesmd. As ripgrep does, anrg -ttype no longer bounds a search that also has an include glob (rg -t py -g '*.md' xsearches notes, and was allowed).ag,ack,fdandugrepgiven a KB path are flagged likerg. Still allowed: a search given a folder outside the KB (rg x scripts/,grep -r x .scout-logs --include='*.json'), a filter that names such a folder (-g 'scripts/*.yaml'), a filter for code or logs (*.py,*.sh,*.jsonl,*.log), and a search that excludes the KB folders.rg -tpy(the type attached to the flag) is now read likerg -t py; it was denied before. The Grep and Glob tool rules are unchanged.- This changes what
privacy_hygienecounts, soraw_kb_readnumbers from eval runs scored before this release are not comparable one-to-one with later ones: an earlier run that searched the vault root with a data-format filter was scored as clean on that call.
- This changes what
- A delegate mirror's
scout-config.yamlholds only what the engine there reads (#550). It was the vault's
config with theprivacyblock rewritten, so every other key went verbatim, at every level: connector
settings, tokens, addresses. Only a key that named a hidden note stayed home. The mirror's copy is now built
from an allowlist, whether or notprivacy.sync_onlylists the config: theprivacyblock,user.timezone
(when it names a real zone; the legacy top-leveltimezonecounts),user.nameanduser.display_name, and
kb_structure.projects_dirandskip_projectswhen they point at mirrored folders. Everything else stays
home,user.emailincluded, and a value that names a hidden note is dropped. The pre-push check rebuilds it
and refuses any other copy. - The mirror's
privacyblock no longer carriessurfacesor thefederationkeys. No delegate's label
or read depends on them: surfaces class the laptop's outbound checks, and the federation keys are for
agent:*readers. They named chat ids and email addresses. The clone uses the engine defaults for them. - Connector health counts each tool call once, and counts subagent calls (
engine/scout/hooks/session_tool_log.py,engine/scout/hooks/connector_log.py). The Stop hook that fills.scout-logs/connector-calls-*.jsonlreplayed only the session's own transcript, so a connector a run reached only through a subagent (gh, WebFetch, an MCP server) looked as if it was never called. It also replayed the whole transcript every time Stop fired, so a session that stopped twice logged every call twice. It now replays the subagent transcripts too (<transcript>/subagents/*.jsonl), and each row carries the call's id (id), so a call already in the log for that session is skipped. The older PostToolUse hook (scoutctl hook connector-log) writes the same id; a vault that still wires it no longer gets double counts, and can now remove that entry and save a Python start on every tool call. - A vault that enabled Telegram as
notify:telegramgets its Telegram sections (engine/scout/scripts/connector_probes.py, #559).notify:telegramis Telegram's key in the connector roster (engine/scout/connectors.yaml), while the phase sections are gated ontelegram, the key/scout-setupwrites. Aconnectors.enabledthat listed only the roster key assembled no Telegram section: no wrap notification in SKILL.md or RESEARCH.md, no "Telegram Messages Waiting" section, and no reply instructions in RESPOND.md, and the run still exited 0.notify:telegramis now read astelegram(inCONNECTOR_KEY_ALIASES, likegmail→email) wherever a vault's config is loaded. The nextscoutctl bootstrap upgraderewrites the key totelegraminscout-config.yamland adds the sections; vaults that already listtelegramare unchanged. scoutctl bootstrap doctorwarns whennotify.wrap_channelsnames no enabled connector (engine/scout/scripts/bootstrap_doctor.py, #559). Such a vault sends no wrap notification at all, and the only sign was awarning:line on stderr of whicheverscoutctlcommand happened to load the config. That line is still printed; doctor now reports the same condition as a warning.
Performance
- The
restrict_toolsgate starts faster on every MCP call (#542;engine/bin/scoutctl,engine/scout/hooks/__main__.py). In a vault whoseconnectors.custom.yamlusesrestrict_tools, themcp-tool-gatehook runs before each MCP tool call. The launcher now sendsscoutctl hook mcp-tool-gateto the thin entrypython -m scout.hooks, as it does for the privacy hooks, so the call no longer importsscout.cliand typer. The decisions and their text are unchanged,hooks.jsonis unchanged, andpython -m scout.cli hook mcp-tool-gatestill works for a direct call. - The outbound privacy gate builds the private terms once per tool call, not once per field
(engine/scout/hooks/outbound_gate.py,engine/scout/kb/outbound.py). Each build walks the vault, so the
check cost about a second per string in the tool's input: a call with eleven strings ran past the gate's
10 s deadline, which denies the call in a scheduled run and lets it through unchecked for the owner.
The gate now asksoutbound_termsonce and matches every field against the result.
Documentation
- Two phase lines no longer contradict the "no 'Last verified' line" page rule (
phases/research/research-targets.md,phases/modes/kb-deep-work.md,templates/knowledge-base/research-queue.md.tmpl,engine/scout/scripts/migrate_perfile.py,README.md). Write-protocol rule 2 says a page carries no "Last verified" line and the date lives inlast_verified:frontmatter, but two lines still used the old wording (#572).- A research run's continuity note in
knowledge-base/research-queue.md(the run log) is now called the "Last run …" note, so it can't be read as a page's verification line. The run log's seeded header says the same. A vault's existing run log keeps its old header and notes, and the upgrade from a single-file queue still carries over a legacy**Last verifiednote unchanged. - The dreaming run's cache table describes
.scout-cache/kb-filter.mdas replacing a read of every KB file'slast_verified:/last_updated:frontmatter, which is what the staleness score further down already reads first. It used to say "Last updated" headers.
- A research run's continuity note in
Full changelog: v0.18.22...v0.18.23
Install
- Download
Scout-0.18.23.dmgbelow. - Open it and drag Scout.app into Applications.
- Open Scout. Onboarding sets up everything else: the engine, Claude Code's plugin, and your vault.
Terminal only? curl -fsSL https://raw.githubusercontent.com/Raven-Scout/Scout/main/install.sh | bash