Skip to content

Add $raw_orphans, .pensarignore, two-section lint print, pensar backlog CLI#50

Merged
TroyHernandez merged 4 commits into
mainfrom
fix/lint-wiki-only
May 24, 2026
Merged

Add $raw_orphans, .pensarignore, two-section lint print, pensar backlog CLI#50
TroyHernandez merged 4 commits into
mainfrom
fix/lint-wiki-only

Conversation

@TroyHernandez

Copy link
Copy Markdown
Contributor
  • lint() now returns $raw_orphans: raw pages with no incoming wikilinks, representing the synthesis backlog. $orphans stays wiki-only.
  • .pensarignore at vault root filters globs from backlog only (raw orphans + tag clusters). Does not affect broken links, registry, or ingest. Format: one glob per line, # comments, no negation. Trailing * recurses into subdirectories.
  • print.pensar_lint() groups output into "Broken wiki graph" and "Synthesis backlog" sections.
  • New CLI: pensar backlog — full raw orphan list, no truncation.
  • schema.md template documents .pensarignore conventions.
  • Tests cover raw orphans, .pensarignore filtering, and registry preservation.

Raw pages are auto-ingested and immutable; flagging them as orphans
or reporting scraper-artifact 'broken links' is meaningless noise.
Tag clusters still scan raw (that's the signal we want).

Fixes daily vault_check Matrix spam in tiny/cornelius instances.
- lint() now returns : raw pages with no incoming wikilinks,
  representing the synthesis backlog.  stays wiki-only.
- .pensarignore at vault root filters globs from backlog only (raw
  orphans + tag clusters). Does not affect broken links, registry, or
  ingest. Format: one glob per line, # comments, no negation.
- print.pensar_lint() groups output into 'Broken wiki graph' and
  'Synthesis backlog' sections.
- New CLI: pensar backlog — full raw orphan list, no truncation.
- schema.md template documents .pensarignore conventions.
- Tests cover raw orphans, .pensarignore filtering, and that ignored
  paths still appear in vault_registry().
@TroyHernandez TroyHernandez merged commit 89e3877 into main May 24, 2026
4 checks passed
@TroyHernandez TroyHernandez deleted the fix/lint-wiki-only branch May 24, 2026 02:18
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.

1 participant