fix: split dops/docker, fix header doc gaps from Job 3 findings #135
No Reviewers
Labels
Clear labels
Area/CI
Area/Completions
Area/Components
Area/Config
Area/Docs
Area/Functions
Area/Integrations
Area/Prompt & Theme
Area/Scripts
Area/Tests
Compat/Breaking
Kind/Bug
Kind/Chore
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Performance
Kind/Refactor
Kind/Security
Kind/Testing
good first issue
help wanted
.github/workflows and repository automation
completions/ - tab-completion scripts
The opinionated-component system (C1-C6)
config.fish and conf.d/ - startup and environment
docs/manual/ and the generated manual, man page, and site
functions/ - user-facing functions and helpers
integrations/ - third-party tool wiring
themes/ and prompt appearance
scripts/ - standalone helper scripts
tests/ - the syntax lint and functional suite
Breaking change that won't be backward compatible
Something is not working
Tooling, dependencies, and housekeeping
Documentation changes
Improve existing functionality
New functionality
Makes existing behavior faster or lighter
Restructures code without changing behavior
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Low
4
The priority is low
Priority
Medium
3
The priority is medium
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Well-scoped and self-contained; a good place to start
Maintainer is looking for someone to pick this up
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
rootiest (Rootiest)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: rootiest/fish-config#135
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Addresses
AGENTS/JOB-BRIEF-FINDINGS.md(Job 3's out-of-scope findings). Based onfeat/header-driven-helpsince the header-doc gaps and the help-flag exempt list only exist on that branch — merge that PR first, or merge this into it.1.
dops/dockersplit (live bug)functions/dops.fishdefinedfunction docker, notdops.dopswas never defined;dockerwas only conditionally defined as a side effect of the faileddopsautoload, so its behavior could silently change mid-session depending on what a prior command had touched.functions/dops.fishnow defines a realdops: a formatteddocker ps(custom Names/Image/Status/Ports table), with its own--help. The old docstring promised "enhanced container listing" but no such logic existed anywhere in the repo — this is newly authored.functions/docker.fishis a new file holding theps-redirect wrapper, fixed to call the now-realdops(previously called itself, since the still-undefineddopsand the misnameddockerwere the same function).dockerwith no arguments no longer falls through anifwith noelse(the fish false-zero,AGENTS.mdstanding gotcha #5) and silently does nothing — it now runs the realdockerbinary, which prints its own usage.tests/functional.fish: updated the now-stale comment about why the help-flag check resolves the real function name instead of the file stem.2. Cosmetic: blank line in
sponge_filter_secrets.fishRemoved the blank line between the header comment and the
functionline — the only file infunctions/with that gap. No runtime effect; the renderer's tolerance for this case is left in place deliberately (documented in the commit), it's not dead code.3. Missing
EXIT STATUSheader docsFills the gaps the header-help audit recorded: 16 argument-less functions gain
EXIT STATUS, and 8 that already documentARGUMENTSgain it too.Not touched:
gip6,ld,parur,sudo-toggle,upgrade— the audit's "missing ARGUMENTS" group. Re-checked their bodies against that claim: none of the five take a positional argument ($argvonly appears forwarded to the--helpcheck), so anARGUMENTSsection would document something that doesn't exist. All five already haveEXIT STATUS.Verification
fish -non every touched file.fish tests/run-tests.fish: 317/317, includingtest_every_user_facing_function_has_help.dops --help,docker ps(reaches the real docker socket via the new wrapper), and baredocker(now prints real usage instead of nothing).