Repository navigation
feat(cindy): add scoped recall and automatic memory hooks - #1564
Conversation
There was a problem hiding this comment.
license-eye has checked 1511 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 1081 | 2 | 428 | 0 |
Click to see the invalid file list
- integrations/cindy/plugins/powercontext/settings.html
- integrations/cindy/scripts/package.sh
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
| @@ -0,0 +1,52 @@ | |||
| <!doctype html> | |||
There was a problem hiding this comment.
| <!doctype html> | |
| <!-- | |
| ~ Copyright (c) 2026 OceanBase. | |
| ~ | |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); | |
| ~ you may not use this file except in compliance with the License. | |
| ~ You may obtain a copy of the License at | |
| ~ | |
| ~ http://www.apache.org/licenses/LICENSE-2.0 | |
| ~ | |
| ~ Unless required by applicable law or agreed to in writing, software | |
| ~ distributed under the License is distributed on an "AS IS" BASIS, | |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| ~ See the License for the specific language governing permissions and | |
| ~ limitations under the License. | |
| --> | |
| <!doctype html> |
c8aac61 to
a613b39
Compare
|
Please address the CI failures before merging. At Please resolve these failures, including any base/merge-related issues, and let the required checks complete successfully before merging. |
|
@PsiACE Following up on the CI request: the head is still The quality failure and the four failures in the 3.12 unit job report a persistence compatibility-review digest mismatch. I checked the actual CI merge Please reconcile the compatibility review with the target base, investigate the remaining e2e failures, and rerun the required checks before merging. The Cindy package check is passing. |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
hidb4ai
left a comment
There was a problem hiding this comment.
Re-reviewed cd9c0c8. Cindy acceptance now uses a pinned source commit, and CI selection covers Cindy and its shared client inputs. The earlier compatibility-review failures are cleared. I found no blocking code defects; this change adds no Server HTTP/MCP operations or database schema changes.
Approved for the documented experimental integration. Electron installation and complete Desktop routing remain unqualified. Required CI is still pending and must pass before merging.
Which issue or RFC does this PR close?
Related: RFC 1345, RFC 1489.
Rationale for this change
Give Cindy users scoped PowerContext recall, optional automatic context and prompt capture, and access to the full Server tool catalog through native MCP.
What changes are included in this PR?
resolve_scope,prepare_context, andsearch_memorytools.will-user-messageand independently capture its incoming prompt as a Source. Preserve delivery identity; report uncertain writes without retrying them.Are there any user-facing changes?
Cindy 0.1.115 users can import the Ghost archive and configure its connection once for plugin recall and hooks. Explicit recall remains available when automatic memory is disabled. Automatic capture is separately selectable and Source acceptance does not establish Memory production.
Recall rewrites the displayed, persisted, and dispatched user message. Explicit writes, Handoffs, reviews, and the full catalog use a separately configured native MCP connection; the Ghost cannot enforce its Scope arguments. Cindy's built-in memory settings remain user-controlled.
The integration remains experimental. Electron installation, secret-store UI, and complete Desktop harness assembly are not qualified.
How was this change tested?
make check: lock, generated-contract checks, pre-commit hooks, Python type checks, and integration manifest tests.make cindy-test: reproducible standalone worker build, 20 behavior tests, and archive packaging.make docs-test: lint, tests, static build, and exported-page/link verification.POWERCONTEXT_CINDY_SOURCE=/path/to/cindy-v0.1.115 POWERCONTEXT_CINDY_CODEX_BINARY=/path/to/codex uv run pytest tests/e2e/test_cindy_mcp_chain.py tests/e2e/test_cindy_hooks_chain.py -q: 5 passed against a real authenticated TCP Server.maker-coreAppServerHost with Codex CLI 0.159.2 and its existing login. Independent sessions answerQUARTZ-8413from injected history andQUARTZ-9021through a model-initiated plugin recall call. Server readback confirms one original Cindy Prompt Source per Scope, with no captured recall history or extra Sources from explicit reads.The credential/message bridge, root plugin-instance identity, and unused Desktop storage dependencies are simulated. Native MCP transport checks exercise the provider's direct compatibility path, not Desktop's default MCP Apps facade. The live-model check is opt-in; ordinary CI skips it without an explicit Codex binary.
AI usage statement
Implemented with OpenAI Codex, including code, documentation, tests, and live acceptance validation.