feat: add repository-aware brainstorm suggestions - #1352
ivankuznetsov wants to merge 47 commits into
Conversation
Reviewer: codex-ce-code-review - Pass 01High
Medium
Nit |
Reviewer: claude-opus-5-ce-code-review - Pass 01Code review — repository-aware brainstorm suggestions (pass 1)Scope: Reviewers: correctness, security, adversarial, reliability, testing, maintainability, project-standards, api-contract, frontend-races, performance. High
Medium
Nit
Verified cleanChecked and found sound, recorded so pass 2 need not re-derive them:
VerdictNot ready. The envelope grammar's handling of malformed reserved regions defeats the feature's stated central invariant in two verified ways — a damaged open delimiter makes advisory text a parsed answer, and an unanchored token match deletes operator questions outright. Both are narrow one-line fixes in Suggested fix order: (1) |
aa79c77 to
0064b2e
Compare
Reviewer: codex-ce-code-review - Pass 02High
Medium
Nit |
54c433b to
44792d1
Compare
44792d1 to
bd9c66a
Compare
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
bd9c66a to
8df5045
Compare
8d0288d to
205b1bb
Compare
Hive-Task-Slug: add-repository-aware-answer-suggestions-260826-528d Hive-Fix-Pass: 02 Hive-Fix-Findings: 9 Hive-Triage-Bias: courageous Hive-Reviewer-Sources: codex-ce-code-review Hive-Fix-Phase: fix
Hive-Task-Slug: add-repository-aware-answer-suggestions-260826-528d Hive-Fix-Pass: 02 Hive-Fix-Findings: 5 Hive-Triage-Bias: courageous Hive-Reviewer-Sources: codex-ce-code-review Hive-Fix-Phase: fix
Hive-Task-Slug: add-repository-aware-answer-suggestions-260826-528d Hive-Fix-Pass: 02 Hive-Fix-Findings: 1 Hive-Triage-Bias: courageous Hive-Reviewer-Sources: codex-ce-code-review Hive-Fix-Phase: fix
Verify legacy-parser equivalence before rewriting malformed advisory regions so a failed downgrade cleanup cannot partially mutate operator state.
Remove the provider-name branch so the explicit data-only capability is the sole admission boundary, while built-in profiles without it still fail closed. Keep redaction tests scoped to the supported SecretPatterns API.
Keep transition cleanup under the exact task lease while retaining the missing-folder diagnostic and giving archive fixtures canonical runtime identities.
Exercise every line identified by the exact coverage gate across context screening, process cleanup, freshness observation, provider transport, sidecar cleanup, scheduler fencing, and advisory-free Git persistence.
Allow the kernel a short scheduling window to transition a signalled grandchild to absent-or-zombie state under exhaustive coverage load.
Require complete shell commands in the Codex preservation prompt so the real producer can safely retain unanswered suggestion envelopes without replacing the round or leaving it in an agent-working state.
Align operator documentation and the project template with the controller-owned transport, external freshness invalidation, lifecycle cleanup, recovery, and browser/producer proof paths. Keep the full Rails suite isolated from the advisory sidecar fixture it intentionally retains during one example. Hive-Execute-Complete: 88a43c4350e4f98da33d8004cbf8b6bcdd52e57b7a9a21b225b955469c0d1ec7
Hive-Task-Slug: add-repository-aware-answer-suggestions-260826-528d Hive-Stage: 6-review Hive-Auto-Commit: residue Hive-Auto-Commit-Reason: stage_exit
Hive-Task-Slug: add-repository-aware-answer-suggestions-260826-528d Hive-Fix-Pass: 01 Hive-Fix-Phase: ci
058b7c5 to
4725a2b
Compare
Reviewer: codex-ce-code-review - Pass 03High
Medium
Nit |
Summary
Add repository-aware suggestions for unanswered brainstorm questions without giving them answer or workflow authority. Suggestions use bounded tracked repository/wiki context, isolated workers, validated provenance, and freshness bindings; stale or unsafe results remain hidden.
The TUI, Web, and JSON views now project the same advisory state. Operators can approve, decline, restore, or retry suggestions, while only the existing answer submission paths persist answers. Cleanup removes actionable advisory state when brainstorm ownership ends and before a feature downgrade.
Validation
bundle exec rake coverage— 14,057 runs, 278,174 assertions, 0 failures/errors; 100.00% linesbundle exec rubocop— 1,809 files, no offensesThe aggregate Web system run was stopped by an unrelated existing Kanban reconnect hang; the affected suggestion system suite passed independently.