docs(decisions): restructure into pql governance DQR tree
Phase 1 of the pql migration. Moves the flat decisions/*.md layout into
governance/{decisions,questions,rejected}/<domain>.md — the tree pql's
`decisions sync` parses natively (record type from subdir, domain from
filename stem). Proven against pql 1.6.2: sync reports 357 records
(237 D / 108 Q / 12 R), 1057 refs, broken: 0; validate ok.
- 6 D-domain files -> governance/decisions/ (git renames)
- 5 questions-<domain>.md -> governance/questions/<domain>.md (prefix dropped)
- rejected.md split by domain -> governance/rejected/{architecture(R-001..010),
economics(R-011),perception(R-012)}.md
- decisions/README.md + questions.md index folded into governance/README.md;
pql's `decisions sync` now auto-maintains the record index appended below
the hand-written domain guidance (no more manual ID-list table upkeep).
- .pql/config.yaml: canonical vault config (tracked, not ignored).
Link rewrites are token-preserving: only the relative `foo.md` path portion
changes (e.g. `rejected.md#r-011` -> `../rejected/economics.md#r-011`); every
`[D-NNN]` bracket text and `#anchor` stays byte-identical, so pql's reference
extraction is unaffected. The one-shot transform is committed at
tooling/pql-migrate/restructure_decisions.py for provenance.
Codebase path references to decisions/ (CLAUDE.md, rules, skills, docs) are
updated in a follow-up commit.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# pql configuration for The Settled Reach.
|
||||
# Decision/question/rejected records live under governance/{decisions,questions,rejected}/
|
||||
# (pql's DQR tree); the vault is the whole repo.
|
||||
|
||||
# Frontmatter dialect: yaml | toml.
|
||||
frontmatter: yaml
|
||||
|
||||
# Wikilink dialect: obsidian | pandoc | markdown.
|
||||
wikilinks: obsidian
|
||||
|
||||
# Where to draw tag information from: any subset of [inline, frontmatter].
|
||||
tags:
|
||||
sources: [inline, frontmatter]
|
||||
|
||||
# Glob patterns to exclude from indexing. Built-in defaults (.git/, .pql/,
|
||||
# sqlite sidecars) are always honoured. Use .pqlignore for richer rules.
|
||||
exclude:
|
||||
- "**/.obsidian/**"
|
||||
- "**/node_modules/**"
|
||||
|
||||
# Per-vault ignore files the indexer consults when walking. Default follows
|
||||
# .gitignore so pql piggy-backs on what the repo already excludes (build
|
||||
# outputs, vendored deps, the rebuildable .pql/*.db).
|
||||
ignore_files: [.gitignore]
|
||||
|
||||
# Populate file.gitmtime / file.gitauthor from git log.
|
||||
git_metadata: false
|
||||
|
||||
# Build an FTS5 index of note bodies. Off by default; only worth turning on
|
||||
# if you actually use 'body MATCH ...' queries.
|
||||
fts: false
|
||||
|
||||
# Optional aliases — short names usable as PQL macros.
|
||||
# aliases:
|
||||
# members: "type = 'council-member'"
|
||||
Reference in New Issue
Block a user