Conversation
Add a configuration page covering the ~/.config/padio/context extension point, the four resolution rules, and hidden modes, with the herdr plugin as one producer rather than the only one. Extend the profile field table, the sample config, and the annotated example with an agent mode reached only via context. Closes #13 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation pass for the automatic mode switching work (#8, #9, #10, #12).
What changed
docs/configuration/automatic-modes.md— the~/.config/padio/contextmechanism, the four resolution rules, hidden modes, the producer contract, and herdr as one producer among others. Framed as a general extension point: anything that can write a file can drive PadIO's mode.docs/configuration/profiles.md—context_modesandhidden_modesadded to the profile field table, plus automatic switching listed alongside the manual mode switchers.config.jsonanddocs/example-config.md— the terminal profile gainscontext_modes,hidden_modes, and anagentmode that is reachable only via context.README.md— one feature bullet.mkdocs.yml— nav entry.Verified
mkdocs build --strictpasses with no warnings.context_modes/hidden_modesentry resolves to a mode that exists.hidden_modesfiltersprev_mode/next_modecycling as well as the picker, which the issue did not anticipate, and that is now documented.One correction made along the way: an early draft used a
textaction type that does not exist. Text injection is akeystrokewith a backtick-delimitedkey, which is what shipped.Closes #13
🤖 Generated with Claude Code