docs: strip gitignored AGENTS/ and JOB-BRIEF-FINDINGS references from code comments

Comments in tracked files pointed readers at AGENTS/specs/*.md,
AGENTS.md, and JOB-BRIEF-FINDINGS.md -- all gitignored, transient
dev notes not part of the base repo. Rewrote each to be self-contained
or point at tracked docs (docs/fish-config.md) instead.
This commit is contained in:
2026-09-08 12:54:53 -04:00
parent d4c40519e5
commit 9d7cddf758
6 changed files with 15 additions and 17 deletions
+2 -2
View File
@@ -67,8 +67,8 @@ function __fish_help_header --argument-names name
# accurate at runtime: in dops.fish it finds the header above
# `function docker` rather than attributing it to the file stem.
# One blank separator line is tolerated -- sponge_filter_secrets.fish
# is the only file that has one, and JOB-BRIEF-FINDINGS.md records it
# so this skip is not mistaken for dead code.
# is the only file that has one. Do not remove this tolerance as dead
# code.
set -l lines (string split \n -- (command cat $file))
set -l pat '^\s*function\s+'(string escape --style=regex -- $name)'(\s|$)'
set -l start 0