Repository navigation
feat(mcp,web): add manifestExcerpts and co-anchor badge sync to render_timelines - #1257
Merged
Merged
Conversation
kyasbal
requested review from
K53,
RyuSA,
jyane,
kkuchima and
renamoo
as code owners
November 11, 2026 05:32
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces point-in-time resource YAML manifest excerpts (manifestExcerpts) to the timeline rendering tool and bottom-docked evidence deck, extending the existing diff and log excerpt capabilities. The changes span backend slicing logic, badge synchronization, and frontend Angular components. The review feedback suggests improving error propagation in resolver_excerpt.go by returning non-nil errors alongside CallToolResult for duplicate or out-of-order badges, and optimizing SliceManifestBody by pre-checking query existence in the YAML body to fail fast.
kyasbal
force-pushed
the
push-mvxovtwoxoyp
branch
from
November 17, 2026 05:26
ab61639 to
e70d6f6
Compare
Go Quality Report (
|
| Metric | Result |
|---|---|
| Changed Scope | 20 prod file(s), 18 test file(s), 197 unit(s) |
| Patch Coverage | 98.9% (1479/1496 lines) |
| Mutation Score | 100.0% (789/789 killed, 0 survived) |
| Function Similarity | OK (109 new unit(s), 0 matches across 2633 corpus units) |
TypeScript Quality Report (origin/main) — ✅ PASS
| Metric | Result |
|---|---|
| Changed Scope | 5 prod file(s), 3 test file(s), 5 unit(s) |
| Patch Coverage | 100.0% (14/14 lines) |
| Mutation Score | 100.0% (0/0 killed, 0 survived) |
Commit: 10760f25ec64 · Cloud Build Logs
kyasbal
force-pushed
the
push-mvxovtwoxoyp
branch
from
November 17, 2026 06:23
e70d6f6 to
3969e61
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Nov 17, 2026
kyasbal
force-pushed
the
push-mvxovtwoxoyp
branch
from
November 18, 2026 02:54
3969e61 to
eb0d7f3
Compare
…est and share helpers
kyasbal
force-pushed
the
push-mvxovtwoxoyp
branch
from
November 18, 2026 04:08
cc712a5 to
10760f2
Compare
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
diffExcerptsandmanifestExcerptsslicing to explicit JSONPath selectors (paths, failing withINVALID_ARGUMENTwhen omitted rather than falling back to implicit leading lines), and support hybridpath+querywindows onlogExcerpts:$.a.b, bracket keys['key.with.dots'], array indices/slices[0],[-1],[0:2], wildcards[*], recursive descent.., and filters[?(@.type=='Ready')]) directly ongopkg.in/yaml.v3AST nodes with exact 1-based YAML subtree line bounds.diffExcerpts[].pathsacross botholdandnewrevisions so unchanged configuration fields (spec), modified fields (-/+), added fields, and deleted fields can be combined unambiguously in a single diff card without heuristicbeforeLines/afterLinesguesswork.SLICE_QUERY_NOT_FOUNDfor immediate selector correction.manifestExcerptssupport torender_timelines(pkg/server/mcp/sceneandweb/) for point-in-time (time) and active-revision (revisionIndex) manifest state cards:managedFields-stripped resource manifests via(*Workbench).GetRawResourceManifest.time-selected manifest cards at the exact queried timestamp inside[viewStart, viewEnd], and verify[rev.Time, nextRevTime)viewport overlap forrevisionIndex-selected manifest cards (clamping pins toviewStartwhen a revision started prior to the zoomed viewport and remained active).MANIFESTkind tags, single-column YAML line numbers, match highlights, and interactiveOpen Manifestsession jump buttons inTimelineEvidenceDeckComponent.MarkerAnnotationandExcerptbadges and enforce chronological badge ordering:1..Nbadges in chronologicalTimeMsascending order.(TimeMs, kindPriority, itemIndex)(diff->manifest->log) and reject duplicate excerpt badges or out-of-order manualE<n>badges with actionableINVALID_ARGUMENTguidance while preserving custom semantic badges.Verification
make pre-commitmake build-go && make lint-go && make test-gomake build-web && make lint-web && make test-web