Repository navigation
Conversation
This was referenced Nov 25, 2026
sunrioa
force-pushed
the
feat/discovery-m4-watches-actions
branch
2 times, most recently
from
November 26, 2026 03:00
18b56ff to
75dc75a
Compare
…ols, RPCs, and thread elevation (M1) Generated-by: OpenAI Codex
…stic stopping (M2) Generated-by: OpenAI Codex
…nd preferences.md (M3) Generated-by: OpenAI Codex
…kspaceMap, and in-place thread elevation Generated-by: OpenAI Codex
sunrioa
force-pushed
the
feat/discovery-m4-watches-actions
branch
from
November 26, 2026 08:33
75dc75a to
dd51530
Compare
This branch has not been deployed
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.
Split PR Series (from overview #7200)
#7264, merged in78cc3ec783)78cc3ec7830056), tools, RPCs (47 files, +4,995 / -454)4200ec8e620057), delta header, elastic stopping (30 files, +2,355 / -155)7b870904380058), Wander mode,preferences.md(37 files, +1,809 / -86)37f2e881110059), PendingActions, WatchScope, WorkspaceMap (64 files, +7,839 / -735)18b56fff0b44 files, +4,994 / -281)21737054c3Summary
Part 4 of 5 of the Proactive Discovery Dossiers stack (stacked on PR #7267; rebased on merged #7264).
0059_discovery_watch_runner.sql): In-place forward migration creatingdiscovery_watches/discovery_pending_actions/ authority storage cleanly withupgrade_compat.rscoverage. AddsRegisterWatch,StagePendingAction,confirmPendingAction, anddismissPendingActionwith non-boolean JSON input schemas (StagePendingAction.paramsobject schema andPointerEquals.valuemulti-type schema), compare-and-swap transitions, staleness/input-hash checks, HTTP URL & network-ceiling re-validation on poll execution, and crash-safe receipt handling.$HOMEwatching & WatchScope (UpdateWatchScope): Replace recursive$HOMEwatching with depth-1NonRecursivesubscriptions + eligible content roots,CACHEDIR.TAGfiltering, hot-reloadable include/exclude rules, cancellation propagation, and broad-deadline preservation layered cleanly onto feat(scheduler): add structured script payloads, persistent state, concurrency cap, backoff, and dry-run #7264's script payload runtime.DiscoveryMode::Onboard,UpdateWorkspaceMap): Build a durable workspace map for map-driven FollowUp/Wander scheduling with cancellation checks, single-chain deep traversal guidance, and bucket pattern collapsing.DossierThreadMode(None/Restricted/Elevated), grantWebFetch/WebSearchwhen permitted by the network ceiling, and localize Bot discovery coordination instructions across all 12plugins/agent/facts/locales/catalogs.Verification
node scripts/i18n/check.mjs— passed (12 locales, 4 catalogs, 1 doc sets)node packages/plugin-sdk/scripts/generate.mjs check&npm run build -w @maka-agent/plugin-sdk— passednode scripts/ci.mjs check format licenses migrations— passedcargo test -p maka-scheduler— 15/15 passedcargo test -p maka-agent-facts -p maka-agent-state— passedcargo test -p maka-agent-native discovery— 56/56 passed (includingall_discovery_tool_schemas_avoid_boolean_subschemas)cargo test -p maka-agent-native scheduler— 12/12 passedcargo test -p maka-cli --test upgrade_compat— passed (1/1)node --test products/maka/bundle/tests/recovery-composition.test.mjs— 5/5 passedAI use
Select exactly one:
Tool(s) and scope: AI coding assistant helped draft/review portions of the implementation, tests, and multi-locale translations; all diffs and tests were locally verified.
Checklist
Does this PR entail a breaking change or persisted-data migration?
0059_discovery_watch_runner.sqlwithupgrade_compat.rscoverage described aboveDoes this PR entail a change in behavior?