Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Low impact] This documentation-only change appears safe to merge. SummaryClarifies the retention boundary for
No new actionable issues were found. GitHub access was unavailable, so whether another PR supersedes this one could not be checked. Reviews (44) · Last reviewed commit: "docs(mcp): clarify view and parent reten..." · Reviewed by Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bb38ca2b92
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e3926d3e60
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Hey @atharhive, thanks for this! The docs update looks good. What's left: there are 2 unresolved review threads from Codex (1 still on current code), e.g. "Tell inline callers to reuse the inline source"; the one on an outdated line may just need resolving if it's already handled. Happy to merge once that's sorted. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7089891b89
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Hey @morluto, thanks for following up! Checked this, merged latest upstream changes, and verified clean. |
1 similar comment
|
Hey @morluto, thanks for following up! Checked this, merged latest upstream changes, and verified clean. |
|
Superseded by #2791: the relocated MCP contracts guide includes the same parent-retention and sessionless-view clarification. The updated branch passed docs:check after merging main. |
Summary
Fixes #8433. Document in docs/mcp-contracts.md that when an inline Evidence record is passed to inspect_analysis_view, the projected view is retained in the active MCP session, but the caller-supplied parent record remains caller-owned and is not automatically retained.
Problem and expected behavior
Issue #8433 observed that calling inspect_analysis_view with an inline Evidence record (source.kind: 'inline') successfully creates and retains the resulting view in session state, but does not retain the parent observation. When callers or autonomous agents later query that parent ID as retained Evidence, the session returns evidence_integrity_mismatch with reason 'missing', even though the view cites that parent ID in normalized_result.parent_evidence_id and evidence_links.
Existing tests in tests/boundary/mcp/analysisViewMcp.test.ts explicitly verify that the parent remains unretained ('points omitted inline messages to the caller's parent without promising session recovery'). However, this retention boundary was not documented in docs/mcp-contracts.md, leading agents to assume the parent record was queryable in session retention.
Expected behavior is for docs/mcp-contracts.md to state clearly that inline parents remain caller-owned, and that callers needing subsequent retained lookup for parent_evidence_id should import or retain the source record via import_evidence_bundle.
Change and scope
Documentation update in docs/mcp-contracts.md:
Contribution scope: not applicable (documentation clarification of existing tested contract).
Contract and boundary impact
Expected effects:
Evidence and regression coverage
Boundary and lifecycle regressions: not applicable (documentation only).
Validation performed
Compatibility, safety, and release
Author readiness
Human owner: @atharhive
Before merge
Review follow-up caf4723 distinguishes retained-parent lookup from supplying a source again, and qualifies view retention for sessionless servers. Verified against the session recorder and Evidence delivery code;
npm run docs:checkpassed. The same wording is present in the overlapping #2791 layout branch.