Repository navigation
docs(mecatui): organize UI contributor guidance by task - #2597
Merged
Merged
Conversation
Add a scoped agent entry point and reorganize the UI handbook around implementation tasks, shared contracts, and targeted verification. Co-authored-by: Mecatl <[email protected]>
Remove duplicated routing and verification prose, keep presentation conventions explicit, and colocate test references with the relevant guidance. Co-authored-by: Mecatl <[email protected]>
Merged
2 tasks
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.
Summary
The UI contributor guide had accumulated unrelated rules under broad headings, making it difficult for agents working in
cmd/mecatui/uito find the right contract before editing.AGENTS.mdentry point with essential boundaries, task routing, and focused verification guidance, plus the requiredCLAUDE.mdsymlink.docs/tui.mdby implementation task: client/server boundaries, surfaces, lists/forms, geometry and safe rendering, conversation/tool presentation, and themes/terminal capabilities.docs/tui.mdremains the canonical cross-component UI contributor guide; the scoped instruction file is an entry point, not a second handbook. Publicuser-docs/mecatui/pages continue to own client usage.Issue relationship
No linked issue; requested contributor-documentation cleanup.
Type of change
Test plan
task lint)task test:race)go run ./cmd/mecademo), including tool call, permission ask/approval, and final resulttask docs), with no broken links, broken anchors, or unreachable documentstask site:build)git diff --checkThe separate non-race
task testrun was omitted because the complete race suite passed. Engine API checks are not applicable to this documentation-only change.Changes
cmd/mecatui/ui/AGENTS.mdcmd/mecatui/ui/CLAUDE.mdAGENTS.mddocs/tui.mdUser-facing change
None. Contributor documentation and agent instructions only; no runtime behavior changes.
API compatibility
No wire, Go API, or stored-data changes. No API major or feature identifier changes and no upgrade implications.
Special notes for reviewers
Focus on whether task routing makes the existing guidance easier to apply without weakening ownership, asynchronous-result, terminal-safety, or geometry invariants. Detailed conventions remain in the handbook rather than being copied into the scoped entry point.