Repository navigation
feat: struggle nudge, answer cache, review throughput hardening - #159
Draft
georgenijo wants to merge 9 commits into
Draft
georgenijo wants to merge 9 commits into
georgenijo wants to merge 9 commits into
Conversation
Env/config fields for Features 5–6, BucketAnswerCache + AnswerPayload.Cached, and persist the answer-cache bucket alongside jobs/tasks. Co-authored-by: George Nijo <georgenijo@users.noreply.github.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Expert drainInbox skips LLM on role+q(+ctx) hit; tickets KV stays authority. Opt-in via MESH_ANSWER_CACHE. Refs #29 Feature 6 Co-authored-by: George Nijo <georgenijo@users.noreply.github.com>
After autoExpertReadyWait expires without BucketExpertReady, still re-deliver pending review requests and schedule spaced follow-ups so a late ServeReviews subscription catches the cold first review. Adds unit coverage, cold-start auto-expert review e2e, and STATUS/#85 doc sync. Co-authored-by: George Nijo <georgenijo@users.noreply.github.com>
Stream observer detects edit/test loops from NDJSON tool events, auto-asks async (no Run block), writes .mesh_expert_hint. Co-authored-by: George Nijo <georgenijo@users.noreply.github.com>
ValidateRecord overlays onto defaultConfig then runs config.Validate; zero struggle/answer-cache fields made every settings Put fail. Co-authored-by: George Nijo <georgenijo@users.noreply.github.com>
Co-authored-by: George Nijo <georgenijo@users.noreply.github.com>
Co-authored-by: George Nijo <georgenijo@users.noreply.github.com>
Bare timing-only fixtures made staged settings fail Validate and silently skip overlay — the restart test was a false pass. Co-authored-by: George Nijo <georgenijo@users.noreply.github.com>
Co-authored-by: George Nijo <georgenijo@users.noreply.github.com>
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.
Summary
Three product lifts on the autonomous mesh spine, planned and landed in parallel:
5 — Struggle → ask-the-expert nudge
Worker NDJSON stream observer detects repeated same-path edits / repeated test-failure fingerprints and fires an async
mesh askto an expert (never blocksRun()). Answer lands in.mesh_expert_hintfor PostToolUse / prompt injection.MESH_STRUGGLE_NUDGE=onMESH_STRUGGLE_ROLE→MESH_REVIEW_ROLE→architect6 — Exact-match answer cache (#29 slice)
Persisted
answer-cacheKV. ExpertdrainInboxlooks up(role, q, ctx)beforeExpertFunc; hits publishAnswerPayload.Cached=trueand skip the LLM. Writes go through the sharedrecordAndPublishAnswerpath.MESH_ANSWER_CACHE=on(TTL default 15m)7 — Review throughput hardening
#123 pool + #125 readiness already shipped. This adds:
STATUS.md, stale [worker] Bounded re-dispatch with review feedback on request_changes #85 comment)reviewPoolSizestays restart-coordinator in settingsDecisions logged in
docs/decisions/DECISIONS.md.Test plan
make cigreen