docs: capture agent workflow decisions
This commit is contained in:
39
docs/00 INBOX/ai/caps-escape-design.md
Normal file
39
docs/00 INBOX/ai/caps-escape-design.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# Caps Escape Design
|
||||
|
||||
## Facts
|
||||
|
||||
- Commit `250b0b71f` removed `services.xserver.xkb.options` from the shared host module.
|
||||
- The removed option was `caps:escape_shifted_capslock`.
|
||||
- That XKB option maps Caps Lock to Escape.
|
||||
- Shift+Caps Lock still enables Caps Lock.
|
||||
- The shared host module configures Neogaia, Zeus, and Pikachu.
|
||||
- Zeus has QMK firmware that provides equivalent keyboard behavior.
|
||||
- Neogaia and Zeus enable `modules.host.cachyos` and `modules.desktop`.
|
||||
- Pikachu enables neither module.
|
||||
- `configs/nixos/hosts/neogaia/default.nix` directly sets Neogaia-specific hardware, networking, desktop application, and Waybar settings.
|
||||
- The current configuration has no Caps Lock or Escape remapping.
|
||||
- This session runs on Zeus, not Neogaia.
|
||||
|
||||
## Design Tree
|
||||
|
||||
- Restore Caps Lock behavior
|
||||
- Scope the configuration
|
||||
- Configure Neogaia only. ✓
|
||||
- Select the mapping behavior.
|
||||
- Restore `caps:escape_shifted_capslock`. ✓
|
||||
- Set `services.xserver.xkb.options` in `configs/nixos/hosts/neogaia/default.nix`. ✓
|
||||
- Define validation for Neogaia.
|
||||
- Run static checks and manually verify both keys after deployment. ✓
|
||||
- Stop after source and static validation. ✓
|
||||
|
||||
## Settled Decisions
|
||||
|
||||
1. Configure the mapping on Neogaia only.
|
||||
2. Restore `caps:escape_shifted_capslock`.
|
||||
3. Set `services.xserver.xkb.options` directly in Neogaia's host configuration.
|
||||
4. Run static checks and manually verify both keys on Neogaia after deployment.
|
||||
5. Stop after source and static validation.
|
||||
|
||||
## Frontier
|
||||
|
||||
None.
|
||||
39
docs/00 INBOX/ai/tldr-design.md
Normal file
39
docs/00 INBOX/ai/tldr-design.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# TL;DR command design
|
||||
|
||||
## Goal
|
||||
|
||||
Add a Pi command that summarizes the preceding agent response by default.
|
||||
An explicit command argument identifies the source to summarize.
|
||||
|
||||
## Decision tree
|
||||
|
||||
- Command form and scope
|
||||
- Settled: Create a project prompt template at `.pi/prompts/tldr.md`.
|
||||
- Command interface
|
||||
- Settled: Pass arguments through as a free-form source request.
|
||||
- Default source selection
|
||||
- Settled: Summarize the preceding agent response when no source request exists.
|
||||
- Summary format and length
|
||||
- Settled: Use a compact, format-free summary.
|
||||
- Ambiguous-source behavior
|
||||
- Settled: Add no special handling policy.
|
||||
|
||||
## Settled decisions
|
||||
|
||||
- **Q1 — Command form and scope:** Create a project prompt template.
|
||||
- **Q2 — Explicit source interface:** Accept a free-form source request.
|
||||
- **Default source selection:** Summarize the preceding agent response when the command has no arguments.
|
||||
- **Q3 — Summary shape:** Use a compact, format-free summary.
|
||||
- **Q4 — Unavailable source:** Add no special handling policy.
|
||||
|
||||
## Frontier
|
||||
|
||||
The frontier is empty.
|
||||
|
||||
## Shared understanding pending confirmation
|
||||
|
||||
The project gets a `/tldr` prompt command in `.pi/prompts/tldr.md`.
|
||||
Without arguments, it summarizes the preceding agent response.
|
||||
With arguments, it interprets them as a free-form source request.
|
||||
It produces a compact summary with no fixed format.
|
||||
The prompt adds no special policy for unavailable or unclear sources.
|
||||
Reference in New Issue
Block a user