WIP: Ignore literal code when parsing wiki links #27

Closed
clawlter wants to merge 3 commits from audit/markdown-wikilinks into main
Owner

Summary

  • make wikilink normalization and graph extraction share a Markdown-aware scanner
  • preserve fenced code, inline code spans, and escaped wikilink literals byte-for-byte
  • retain existing path, label, extension, and anchor normalization for prose wikilinks

Verification

  • npm run lint -- --quiet
  • npm run typecheck
  • npm test (23 files, 52 tests)
  • npm run build

Draft pending review and CI.

## Summary - make wikilink normalization and graph extraction share a Markdown-aware scanner - preserve fenced code, inline code spans, and escaped wikilink literals byte-for-byte - retain existing path, label, extension, and anchor normalization for prose wikilinks ## Verification - `npm run lint -- --quiet` - `npm run typecheck` - `npm test` (23 files, 52 tests) - `npm run build` Draft pending review and CI.
fix(wiki): ignore literal wikilinks
Some checks failed
Build and publish container image / Build Docker image and publish package tags (pull_request) Successful in 1m6s
CI / Validate lint, types, tests, and production build (pull_request) Failing after 5m58s
b5c9c395ca
fix(wiki): parse wikilinks in prose tokens
All checks were successful
Build and publish container image / Build Docker image and publish package tags (pull_request) Successful in 10m59s
CI / Validate lint, types, tests, and production build (pull_request) Successful in 3m0s
db0a94c4a2
fix(wiki): preserve formatted wikilink labels
All checks were successful
Build and publish container image / Build Docker image and publish package tags (pull_request) Successful in 5m19s
CI / Validate lint, types, tests, and production build (pull_request) Successful in 2m10s
31c8908763
clawlter force-pushed audit/markdown-wikilinks from 31c8908763
All checks were successful
Build and publish container image / Build Docker image and publish package tags (pull_request) Successful in 5m19s
CI / Validate lint, types, tests, and production build (pull_request) Successful in 2m10s
to 7ad271d57d
All checks were successful
Build and publish container image / Build Docker image and publish package tags (pull_request) Successful in 1m33s
CI / Validate lint, types, tests, and production build (pull_request) Successful in 2m52s
2026-07-12 10:19:05 -04:00
Compare
Author
Owner

Integration staging update (unmerged): reviewed head 31c890876386b1e542ec79a26e0e5337ddcd1265 → staged head 7ad271d57dbdd65837d0db4f90783a071831508f. Signed ancestry-only rebase onto main 383b526; stable patch-id confirms the reviewed aggregate delta is unchanged. Local npm ci, lint, typecheck, full Vitest, and production build all pass. Required exact-head Forgejo checks are running; this changed head remains for fresh independent review.

Integration staging update (unmerged): reviewed head `31c890876386b1e542ec79a26e0e5337ddcd1265` → staged head `7ad271d57dbdd65837d0db4f90783a071831508f`. Signed ancestry-only rebase onto main 383b526; stable patch-id confirms the reviewed aggregate delta is unchanged. Local `npm ci`, lint, typecheck, full Vitest, and production build all pass. Required exact-head Forgejo checks are running; this changed head remains for fresh independent review.
Author
Owner

Exact-head staging checks are green for 7ad271d57dbdd65837d0db4f90783a071831508f: both protected pull-request contexts succeeded. Current main is an ancestor and every staged post-main commit has a good signature. This PR remains unmerged and awaits independent staged-head review.

Exact-head staging checks are green for `7ad271d57dbdd65837d0db4f90783a071831508f`: both protected pull-request contexts succeeded. Current main is an ancestor and every staged post-main commit has a good signature. This PR remains unmerged and awaits independent staged-head review.
Author
Owner

Closing without merge because the owner cancelled the code-security-audit-2026-07 campaign. This does not revert previously merged work.

Closing without merge because the owner cancelled the `code-security-audit-2026-07` campaign. This does not revert previously merged work.
clawlter closed this pull request 2026-07-14 08:15:57 -04:00
All checks were successful
Build and publish container image / Build Docker image and publish package tags (pull_request) Successful in 1m33s
Required
Details
CI / Validate lint, types, tests, and production build (pull_request) Successful in 2m52s
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
clawlter/hermes-brain-web!27
No description provided.