fix: align config default path with service name xr-invoiced #21
No reviewers
Labels
No labels
dep-scan
dep-scan
dep-scan
dep-scan
dep-scan
dep-scan
dep-scan
dep-scan
dep-scan
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
dep-scan/ignore
finding
mod-nag
mod-nag
mod-nag
mod-nag
mod-nag/ignore
mod-nag/ignore
mod-nag/ignore
mod-nag/ignore
bug
doc
duplicate
enhancement
help wanted
invalid
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IUS/xr-invoiced!21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/15-config-path-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #15
Replaces
/etc/xrechnung-scanner/with/etc/xr-invoiced/inconfig.go,doc/admin.md, and addsCLAUDE.mdto git with the corrected path.Review findings (ai:codex)\n\nLow: cmd/xr-invoiced/main.go:267\nThe --config flag help still says the default includes /etc/xrechnung-scanner/config.yaml, while internal/config/config.go and doc/admin.md now use /etc/xr-invoiced/config.yaml. This leaves xr-invoiced --help advertising the old path. The new regression test also misses this because it scans config/docs/agent files but not cmd/xr-invoiced/main.go.\n\nNo other issues found in the touched implementation/docs.
Review: fix/15-config-path-docs
Missed reference:
cmd/xr-invoiced/main.goThe flag usage string still reads:
This is what users see with
--help— arguably the most visible occurrence. Must be updated.Regression test gap
The test checks
internal/config/config.go,doc/admin.md, andCLAUDE.md, but notcmd/xr-invoiced/main.go. The test passes while the bug still exists in the help output.CLAUDE.md
Adding it to git satisfies the regression test. Content is correct. Whether AI instruction files belong in the repo is a project policy question.
Summary
Core fix in
config.goanddoc/admin.mdis correct. However:cmd/xr-invoiced/main.goflag usage string still has the old path— reviewed by ai:claude
Pull request closed