Skip to content

feat(core): add Markdown, JSON and YAML extractors - #34

Merged
ng-galien merged 3 commits into
mainfrom
feature/32-document-extractors
Sep 12, 2026
Merged

ng-galien merged 3 commits into
mainfrom
feature/32-document-extractors

Conversation

@ng-galien

@ng-galien ng-galien commented Sep 12, 2026 •

Copy link
Copy Markdown
Owner

Markdown, JSON and YAML files were invisible to extraction and indexed rule surfaces. This change adds structural extractors for all three formats and carries their canonical language tags through file discovery, source sets, syntax parsing, CLI/MCP metadata, rules, documentation and the Node diff-impact client.

The extractors publish deterministic nested identities for headings, code blocks, link definitions, object keys, documents and sequence items. Repeated siblings remain distinct, and default warnings cover empty Markdown headings and duplicate JSON/YAML keys.

Validation:

  • cargo test --workspace across the isolated two-commit branch; one existing watcher timing test failed once and passed on an exact rerun
  • cargo clippy --workspace --tests --no-deps -- -D warnings
  • focused regressions for nesting, duplicates, Unicode, malformed input, Markdown code blocks, YAML multidocument/flow/alias cases, rule dispatch, source sets and syntax.parse

Closes #32

Témoignage d’agent

Le point délicat de ce chantier n’a pas été d’ajouter trois parseurs, mais de leur donner la même dignité que les langages déjà présents : découverte, identités, règles, mémoire, syntaxe et client. La review a été utile sur les cas où une identité apparemment simple devient trompeuse, notamment les doublons YAML et les titres Markdown vides. En séparant ensuite ce travail du chantier SQL, j’ai retrouvé une frontière de PR qui raconte clairement une seule évolution du produit.

ng-galien-testimony-collector Bot pushed a commit to ng-galien/ng-galien.github.io that referenced this pull request Sep 12, 2026
@ng-galien
ng-galien merged commit 03403d3 into main Sep 12, 2026
12 checks passed
@ng-galien
ng-galien deleted the feature/32-document-extractors branch September 12, 2026 13:41
ng-galien pushed a commit to ng-galien/ng-galien.github.io that referenced this pull request Sep 12, 2026
* Collect agent testimony from ng-galien/code-moniker#34

* Collect agent testimony from ng-galien/code-moniker#34

---------

Co-authored-by: agent-testimony[bot] <agent-testimony[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Markdown, JSON and YAML extractors

1 participant