Browse Source
- goals/xref.conf: new template - every key present but disabled ('#' lines),
per-item '##' explanation blocks; inert by construction (loader skips
comment lines), so compiled-in defaults apply unchanged
- goals_xref.tcl header: house comment convention documented ('##'
explanations stay, '#' prefixes disabled configuration lines)
- goals/AGENTS.md: orphan rule carves out xref.conf; Verification notes the
shipped template
Verified: goals_lint exit 0; goals_xref report byte-identical with the
template in place.
Assisted-by: harness=opencode; primary-model=openrouter/moonshotai/kimi-k3; api-location=openrouter.ai
master
3 changed files with 43 additions and 2 deletions
@ -0,0 +1,39 @@ |
|||||||
|
## goals_xref repo profile for punkshell - consumed by scriptlib/developer/goals_xref.tcl. |
||||||
|
## |
||||||
|
## Comment convention (house style): '##' introduces an explanatory comment |
||||||
|
## that stays; '#' prefixes a disabled configuration line - uncomment (delete |
||||||
|
## the leading '# ') to activate. This file ships with every configuration |
||||||
|
## line disabled, so the compiled-in punkshell defaults apply unchanged. |
||||||
|
## Key semantics are documented in the tool's header comment. |
||||||
|
|
||||||
|
## bare_path_roots: when 1, a bare scope token exactly naming a path root |
||||||
|
## (e.g. a sibling repo name) anchors as that root even without a '/'. |
||||||
|
# bare_path_roots 1 |
||||||
|
|
||||||
|
## prefix_anchors: when 1, an admitted multi-segment path anchor also anchors |
||||||
|
## its leading segments (src/modules/punk/x also anchors src/modules), so |
||||||
|
## file-level and area-level scopes relate. |
||||||
|
# prefix_anchors 1 |
||||||
|
|
||||||
|
## path_roots_add/remove: which top-level segments admit '/'-carrying |
||||||
|
## scope tokens as path anchors. |
||||||
|
# path_roots_add myrepo-lib myrepo-app |
||||||
|
# path_roots_remove temp_reference |
||||||
|
|
||||||
|
## stopwords_add/remove: the term-tier stop-word list. |
||||||
|
# stopwords_add myprojectterm |
||||||
|
# stopwords_remove tcl |
||||||
|
|
||||||
|
## file_extensions_add/remove: which extensions make a bare token a file anchor. |
||||||
|
# file_extensions_add conf |
||||||
|
# file_extensions_remove zig |
||||||
|
|
||||||
|
## reference_containers_add/remove: top-level dirs whose anchors damp x0.2 |
||||||
|
## (reference dumps, not live scope). |
||||||
|
# reference_containers_add reference_dumps |
||||||
|
# reference_containers_remove temp_reference |
||||||
|
|
||||||
|
## module_dirs_add/remove: dirs scanned for module-key vocabulary |
||||||
|
## (isdir <root>/<d>/<name> or <d>/<name>-*.tm present). |
||||||
|
# module_dirs_add lib/modules |
||||||
|
# module_dirs_remove src/vendormodules |
||||||
Loading…
Reference in new issue