docs: freeze config discovery on ProjectDirs as it stands #149
No reviewers
Labels
No labels
priority/P0
priority/P1
priority/P2
release/v0.1.0
status/blocked
status/planned
type/bug
type/design
type/test-gap
type/tracker
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
natsukium/felis!149
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/freeze-config-discovery-137"
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?
Fixes #137.
Freezes felis's config discovery on
ProjectDirsas it already behaves: thereference and explanation docs now state the per-platform lookup path and the
reasoning behind keeping it, so the current behavior is a documented contract
rather than an accident of the dependency. The config suite's discovery and io
tests now also run on Windows, pinning the platform path the docs describe.
Doc cascade:
docs/reference/config.mdgains the resulting facts, anddocs/explanation/architecture/control-surfaces.mdcarries the decision record(rationale, rejected alternatives, revisit trigger).
Verified: just check green (fmt, clippy, nextest, deny, proto-compat); reviewed
by pi luna + pi sol; docs proofread by Gemini gemini-3.8-flash-high
Deferred
under the mingw cross shell or CI's Windows runner —
nix develop .#windowswas out of bounds for this run and ConPTY/Windows behavior never runs on this
host; the code is plain std path handling reviewed by hand, and CI's Windows
job is the real check.
APPDATAenv var as a proxy for theknown-folder API that
ProjectDirsactually queries — the test's own doccomment discloses this, and the reference prose describes the mechanism
correctly as the known-folder API, so no doc states a falsehood. A tighter,
non-env-var verification is hardening beyond #137's acceptance criteria.