Repository navigation
Conversation
Persist source changes, screen conversation groups fairly, and wake the existing quick worker with permission-checked, paginated evidence instead of large prompts. Include optional read-only Codex history, memory and activity source adapters. Generated-by: OpenAI Codex
Astro-Han
left a comment
There was a problem hiding this comment.
Automated review notice: This comment was posted by an automated review agent. It is not an independent human review and does not replace one.
NO-GO for merging this feature into main as submitted. The accepted repository decision says that main takes fixes and new features go to rust-preview. At 28135ab9124e00fccd7c9025fa3a421482ab9b91, this PR introduces a new capability: an opt-in source-event intake and model-screening path, a new evidence-reading tool and optional Codex/history adapters. packages/runtime-host/src/assistant/index-initiative/quick.ts adds the control and wake path, intake.ts implements the new subsystem, and packages/runtime/src/plugin-source-service.ts extends the source API. Being opt-in does not change its placement under that decision. Please develop it on the Rust line, accounting for that runtime's interfaces.
My reviewed scope is this integration decision. I read the actual PR diff for the new controls/wake routing, assistant registration, auxiliary model selection, source-feed interface and the rollout documentation; I have not completed a functional review of all 31 files. In particular, this is not acceptance of authorization rechecks, durable replay, acknowledgement/report atomicity, retention or upgrade behavior, and I did not run the author's assistant/plugin suites or a live-model evaluation. The successful head CI and a clean merge calculation against main 85a1031c10d104456127f35aac1523b9ffb1a384 do not resolve the branch-policy issue. No functional P0–P2 finding is asserted by this placement review.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
…wakes Replace per-event investigation checklists with concise durable wake hints and size screening batches against the selected model capacity. Generated-by: OpenAI Codex
Astro-Han
left a comment
There was a problem hiding this comment.
Automated review notice: This comment was posted by an automated review agent. It is not an independent human review and does not replace one.
Branch-placement conclusion at 5f46d051026eebdb08ba0a0fa3b071eca7468ce8: this feature still should not be merged into main. I freshly checked the accepted direction in Discussion #6366: main takes fixes, while feature work goes to rust-preview. There is no newer reply in that Discussion superseding that decision. The PR still targets main at 85a1031c10d104456127f35aac1523b9ffb1a384.
The update changes the proposed screening design from per-event investigation selection to persistent wake hints, adds model-capacity budgeting, and changes original-evidence retrieval. I checked the changed file lists and the current README, intake schema/prompt, wake description and model-budget entry points to reassess placement. The base tree still has no assistant/index-initiative/intake.ts; this PR introduces the opt-in source-change → screening → autonomous-discovery wake capability. Fixes to that proposed implementation do not make the overall PR a repair of a capability already on main.
This is a placement-only review, continuing my earlier comment at 28135ab9. The submitted PR now spans 37 files; the head-to-head delta touches 28 files. I have not completed a correctness review of those files, authorization races, durable wake/acknowledgement transitions, model-budget estimates, or upgrade behavior, and I have not executed the author's reported regression suites or a real model. The current CI run succeeded; that does not change the target-branch decision. I am making no P0–P2 correctness finding from this limited review.
The placement objection applies only to merging this feature into the current TypeScript main. It is resolved by an appropriate Rust-targeted implementation, or a later accountable project decision changing the accepted direction. I have neither closed the PR nor approved a merge.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
Distinguish user-relevant leads from other people's requests and routine executor progress. Return a lead instead of inventing work for the assistant, including for long-event screening. Generated-by: OpenAI Codex
…view Merge apache/maka PR apache#6510 at df86958. Preserve its source intake, screening and durable wake hints alongside versioned memory and scoped-context recovery. Add the required ASF header to the imported adapter README. Generated-by: OpenAI Codex
Summary
Source changes can wake the existing proactive-discovery Agent without waiting for its periodic check. A short, tool-free screening call reads new information and returns one JSON string: a concise direction worth exploring, or an empty string when no wake is needed. The Agent independently retrieves context, investigates and reports useful findings through Bot.
Verification
Rerun for this update:
npm run verify: build, 16 tests, typecheck and extension packaging.git diff --check.An isolated historical-source replay exercised this direction-based implementation with a real model. It demonstrated screening, autonomous investigation and Bot delivery, but also exposed incomplete evidence retrieval and stale-state suggestions. It is not a claim of complete discovery recall or live external execution. No paid model evaluation, desktop deployment or full-repository suite was started for this submission update.
Rollout and limitations
Intake remains opt-in through
QuickDiscoveryControl.eventIntake;intakeModelKeyselects a configured screening model. First observation establishes a baseline; intake positions do not advance memory-index coverage. Change feeds are polled, and sources without them retain periodic observation. Codex sources require explicit local scope configuration; this does not enable recording.Receipt, screening and wake counts are not counts of independent matters or evidence of complete investigation. Stored journals currently have no configurable retention. Search-result excerpts and extractor-interface improvements discussed after the replay are not included in this PR update.
AI use
OpenAI Codex assisted with implementation, tests, documentation and submission. Commits include a
Generated-by: OpenAI Codextrailer.Checklist