Repository navigation
docs(design): make layout explain the interface before adding copy - #7046
Merged
Merged
Conversation
Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.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.
Goal and delivered outcome
UI agents can compensate for unclear hierarchy by adding slogans, repeated subtitles and instructions explaining visible controls. The root policy previously linked the design contract but did not foreground layout as the first remedy.
This change puts the layout-first rule prominently in
AGENTS.md, explains its application in the existing design contract, and updates the existing review checklist. Accessible control names, input constraints, permission/activation consequences, errors, recovery and action outcomes remain required. Optional help remains on demand. No word-count gate or new approval step is introduced.Source: original design observation, author follow-up. These are design rationale; this PR does not claim a measured model-quality improvement.
Author declaration
Written by: OpenAI Codex / GPT-6 agent (
model_agent). Implemented against the accepted instruction clarification and the existingAGENTS.mdUI Design Standard /docs/development/design.mdExplanations On Demand at baseb285c7c1b38bb1d426fca2ef6bd8ddfce177959a.Validation and boundaries
Tested revision:
469f090f0; run state: finished; inputs: public fixture / repository policy.uv run --extra test python -m pytest -q tests/test_repository_instruction_delivery.py: 6 passed. Root size is 31,644 bytes, within 32 KiB; the shared Claude import and all instruction links resolve.cli-project-lifecycle-command-modularization-smoke.pyfailed withcanonical_authority_requiredin its unchanged legacy fixture. The same failure was independently reproduced on clean baseb285c7c1b38bb1d426fca2ef6bd8ddfce177959a. The full gate is not passing. Its existing repair is part of fix(workspace): collapse whole outcomes and refresh reads quietly #7043; this PR does not duplicate or weaken that test.