feat: add assistant preference memory#686
Conversation
PR Review — pr-reviewerVerdict: REQUEST_CHANGES Findings
SummaryThe approval gate for inferred memory is present, but the implementation misses bundle-decision learning and over-reports active memory influence. |
|
Addressed the review findings in
Verification:
|
PR Review — pr-reviewerVerdict: APPROVE Findings
SummaryThe follow-up commit addresses the prior bundle-decision memory and explicit memory-influence persistence findings, and the linked issue goals are covered with tests and docs. |
|
Review recommendation Please gate inferred memory on a real bundle-item edit. Current path:
That means a no-op save can propose preference memory saying maintainers usually edit bundle items, even though the maintainer made no actual change. Since this PR is about learning preferences, no-op UI actions should not become evidence. Suggested acceptance criteria:
|
|
Maintainer steering For v1, be pragmatic and remove workspace separation from assistant preference memory. Reasoning:
Requested direction:
If scoped memory becomes necessary later, add explicit scope_type/scope_ref. The v1 default should be global assistant preference memory. |
PR Review — pr-reviewerVerdict: REQUEST_CHANGES Findings
SummaryThe previous review findings were fixed, but the new maintainer steering changes the acceptance target: memory needs to be global for v1, no-op bundle edits must not create evidence, and the unresolved handler-structure request needs resolution. |
|
Addressed the latest maintainer/reviewer feedback in
Verification:
Note: |
PR Review — pr-reviewerVerdict: REQUEST_CHANGES Findings
SummaryThe latest code changes address the behavior-level feedback I checked, but the docs still need to reflect global assistant preference memory for v1. |
|
Addressed the latest docs review finding in
Verification:
|
PR Review — pr-reviewerVerdict: APPROVE Findings
SummaryThe follow-up docs change now describes assistant preference memory as global v1 product memory while preserving workspace-scoped feedback and recommendation evidence, and the implementation/docs are consistent with the maintainer steering. |
PR Review — pr-reviewerVerdict: APPROVE Findings
SummaryThe latest commit updates the docs to describe assistant preference memory as global v1 product memory while preserving workspace-scoped feedback/recommendation evidence, and the final code/docs wording is consistent with the maintainer's global-memory steering. |
|
Follow-up after CI caught the newer
Verification after rebase:
Note: |
PR Review — pr-reviewerVerdict: APPROVE Findings
SummaryThe rebase/follow-up keeps the assistant memory schema strict with empty memory influence fields when unused, adds the requested |
PR Review — pr-reviewerVerdict: APPROVE Findings
SummaryThe latest head satisfies the linked issue goals and later maintainer steering: assistant preference memory is global and human-gated, recommendation influence reporting is explicit, bundle-decision learning avoids no-op edit evidence, REST/MCP/UI/docs are covered, and the requested Verification: |
PR Review — pr-reviewerVerdict: REQUEST_CHANGES Findings
SummaryThe focused Go test suite passed, and the memory behavior appears aligned with the issue goals, but the new API guidance is not fully applied to the archive endpoint. |
bd06435 to
9d3d79b
Compare
|
Rebased PR #686 onto current Conflict resolution kept the existing published-skill linking flow from Verification after rebase:
CI is green on the new head. |
Agents-Run: c3d3fd7b146edb06 Agents-Agent: coder
9d3d79b to
fb90cb2
Compare
Agents-Run: eb021c54ec668043 Agents-Agent: coder
9b955a3 to
057b2d4
Compare
|
Addressed the archive route review finding in the current head
Verification:
CI is green on |
|
Maintained PR #686 after the latest rebase/review activity and pushed
Verification:
CI is green on |
PR Review — pr-reviewerVerdict: APPROVE Findings
SummaryThe current head keeps the archive endpoint POST-only with negative DELETE route coverage, preserves global human-gated assistant preference memory, and remains aligned with issue #664 plus the later maintainer steering. Verification: |
Summary
Closes #664
Verification
go test ./internal/selfimprovement ./internal/store ./internal/workflow ./internal/daemon/observe ./internal/mcpnpm test -- --run src/app/improvements/page.test.tsxgo test ./...npm testnpm run buildgo test ./internal/store ./internal/selfimprovement -racegit diff --checkNote:
npm cireported the existing Next.js security advisory and npm audit findings; this PR does not change dependencies.