Skip to content

docs(config): document the layered config model + add change-config s…#31

Merged
Rfluid merged 2 commits into
mainfrom
feat/resize-config
May 30, 2026
Merged

docs(config): document the layered config model + add change-config s…#31
Rfluid merged 2 commits into
mainfrom
feat/resize-config

Conversation

@Rfluid
Copy link
Copy Markdown
Owner

@Rfluid Rfluid commented May 30, 2026

…kill

Rewrite docs/configuration.md around the five config layers (typed structs → field registry → disk → load/merge → runtime atomics mirror), with reload triggers and precedence rules. Add the missing [update] table, goblin_mode, agent/plugin color, plugin icon, and the gemini kind; complete field-reference tables matching the registry. Fix default_period allowed values (all/7d/30d, not today/this_month/all_time).

Add .agent/skills/add-or-change-config.md: a developer how-to for adding or changing a config field, keyed to the anti-drift registry test and the runtime-mirror wiring, referencing the configuration doc.

Rfluid added 2 commits May 30, 2026 15:14
…kill

Rewrite docs/configuration.md around the five config layers (typed structs →
field registry → disk → load/merge → runtime atomics mirror), with reload
triggers and precedence rules. Add the missing [update] table, goblin_mode,
agent/plugin color, plugin icon, and the gemini kind; complete field-reference
tables matching the registry. Fix default_period allowed values (all/7d/30d,
not today/this_month/all_time).

Add .agent/skills/add-or-change-config.md: a developer how-to for adding or
changing a config field, keyed to the anti-drift registry test and the
runtime-mirror wiring, referencing the configuration doc.
Decouple the modal's content-fit auto-resize from window_chrome via a
new `display.auto_resize: Option<bool>` (None ⇒ true). The auto-fit now
follows this flag in app.rs instead of `!window_chrome`, so it works the
same with or without the native title bar — preserving the chromeless
behaviour and replicating it under chrome.

window_chrome reverts to controlling only the title bar / decorations
(no is_resizable or decoration coupling beyond the original).

Fix a Windows-only invisibility bug exposed by the decoupling: the DWM
cloak is un-cloaked only by the auto-fit callback, so it must track
auto_resize, not !window_chrome — otherwise a chromeless + fixed-size
window (auto_resize = false) would stay cloaked forever.

Register the field across the self-documenting config surface
(describe/get/set/toml + tests) and document it in configuration.md.
@Rfluid Rfluid merged commit 100f072 into main May 30, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant