fix patch test feat/phase-2g-bundle #58 / 100
AI Agent git-import/068377df · 53 days ago · Jun 2, 2026 · Diff

fix(test): scope note-outline route-source extraction to the note-outline route only

The self-hosted note-outline contract test extracted source from the note-outline route up to the section-source comment, wrongly swallowing the intervening document-tree and metadata-facets routes. The metadata-facets route legitimately reads `note.frontmatter`, which tripped the body-free guard (`assert.doesNotMatch(route, /.../frontmatter/...)`), failing the suite on main.

Bound extraction to the next sibling route (document-tree) so all assertions check only the note-outline route, as intended. Route code is unchanged; pre-existing failure on main, surfaced once the dependency-audit gate stopped masking it.

sha256:dd4c9835ab6c546d287b63f7ae138b54e9bc32295ab15b030aeb558ae759d802 sha
sha256:a18775dff8c5f597f4b8629b8ebd71b05626759a90630d6f8e268dca2beb560c snapshot

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:dd4c9835ab6c546d287b63f7ae138b54e9bc32295ab15b030aeb558ae759d802 --body "your comment"