Repository navigation
feat(analysis-view): select retained JavaScript metadata and native facts - #4265
Merged
Merged
Conversation
Page original application observations by exact retained locations and node kinds, selecting property values while preserving canonical identities, Evidence and source coverage. Share module/fact coverage at one owner. Checkpoint for #4190; no PR or integration claim yet. Public filesystem and portable/retained parity, existing view/service regressions, static/docs and SDK-converted schema/presentation checks passed. Completed real Joplin controls match export-and-filter facts; token and agent tradeoffs remain under evaluation. Follow up the observed property-discovery friction. Co-authored-by: Kaoru0822 <[email protected]>
Preserve opt-in field names and exact observation provenance. Retain real Joplin export/view controls and qualified Codex CLI pilot results, including negative token and latency outcomes and historical harness failures. Co-authored-by: Kaoru0822 <[email protected]>
Preserve the measured feature checkpoints and refresh integration against main 2202e3f before final validation. Co-authored-by: Kaoru0822 <[email protected]>
Record the integrated 101-case suite and paired real-Joplin controls while preserving earlier source versions, negative token results and agent trials. Co-authored-by: Kaoru0822 <[email protected]>
Codex Review SummaryThis 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. |
3 tasks done
Contributor
[Medium impact] The PR appears safe to merge based on the reviewed changes; no blocking issue was found. SummaryAdds
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart LR
CLI[CLI JSON request] --> Service[Shared analysis view service]
MCP[MCP request] --> Service
Service --> Source{Evidence source}
Source -->|Retained| Ledger[Exact session lookup]
Source -->|Inline| Authenticate[Authenticate complete Evidence]
Ledger --> Project[Select matching observations and properties]
Authenticate --> Project
Project --> Result[Rows with original Evidence]
Project --> Coverage[Source coverage separate from page exhaustion]
Reviews (3) · Last reviewed commit: "docs(verification): recheck retained fac..." · Reviewed by Greptile |
Probe the selected Codex CLI before a trial and retain command, recording and cleanup diagnostics without replacing the original failure. Preserve completed trials on cleanup-time cancellation and verify eight controlled entrypoint scenarios with production runtime roots and error contracts. Co-authored-by: Kaoru0822 <[email protected]>
Integrate main after the upstream lifecycle and ADB snapshot-test corrections landed. Preserve the existing retained-facts implementation and revalidate the shared CLI/MCP and real-application workflows. Co-authored-by: Kaoru0822 <[email protected]>
Record114 focused cases across explicit invocations,106 Python cases and four fresh real-Joplin export/view controls after lifecycle integration. Preserve earlier trials, failed fixture attempts, source/runtime pins and the default-client schema compilation diagnostic. Co-authored-by: Kaoru0822 <[email protected]>
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
Read retained JavaScript application metadata, native facts and processing gaps by exact Evidence paths, selected properties and pages, using existing CLI/MCP
inspect_analysis_view. Preserve original node/observation identities, null versus missing, source-map references, full per-row Evidence and source coverage independently of page exhaustion. Optional property-name discovery avoids returning unselected values. Both adapters share the projector and coverage owner; no executor, cache or target authority is added.Fixes #4190; part of #4027. Code mode remains deferred by #4091.
Validation
Updated to main
1b97b0f37after #4274 merged; merge2ca63f4d9preserves this feature's implementation. The earlier unrelated ADB CI assertion is fixed upstream and now passes locally.Cost tradeoff: latest normal retrieval 4.241 s export/projection versus 0.153 s view, but selected structured BPE 8,947 versus17,421. The generic view contract/Evidence wrapper can cost more context. Seven earlier actual Terra/high Codex trials retain worse field-discovery and slower partial-task outcomes too. No universal token/latency benefit, peak-context reduction or billing claim.
Executed sources, reproduction scripts, all attempts, compact results and limitations.
Verification is Linux x64 static CLI/stdio MCP on shipped Joplin 3.7.21. Live Electron/browser, native-provider execution and macOS/Windows provider behavior are unverified. Downloadable apps, full Evidence and raw large transcripts/profiles are excluded. The earlier runner review fixes preserve actual CLI version and primary/cleanup errors; historical harnesses remain reconstructible.
Final merge evidence: merged as
d9d085a15e17bce525a316a48c7e3eeae1f60423. At merge, all 41 status checks succeeded, including all 36 CI jobs. Both exact-head reviews were clear and both prior threads resolved. The first Windows lane attempt exceeded an unchanged 15-second CLI deadline despite complete Evidence output; one unchanged-source lane rerun passed, including curated tests, Node Inspector, packaging and Node 22 path controls. That first failure remains in attempt 1. All 16 authored source hashes, the entire tracked tree versus tested8ea84cc6, required coauthor and #4190 closure were verified after merge.Author readiness
Human owner: @N0zoM1z0
The session authorized implementation, validation, ready PRs and merging, including waiving manual declarations. The agent reviewed the diff/evidence. A human final-diff review is not asserted; declarations remain unchecked.
Before merge