-
Notifications
You must be signed in to change notification settings - Fork 3
docs: collect the layout work under docs/layout/ #321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+135
−70
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| # `docs/layout/` — where a document goes in Git, collected in one place | ||
|
|
||
| This folder is organized by **topic**, which is a deliberate exception to the rule in | ||
| [`../INDEX.md`](../INDEX.md) that the other folders are picked by lifecycle. The layout question | ||
| (given a live object, which file in which folder receives it, and what else has to change so that | ||
| file is reachable) had grown to five documents spread across `spec/` and `design/`, and following | ||
| the argument meant knowing which of the two a given piece lived in. | ||
|
|
||
| Lifecycle is still the thing that decides whether a page binds, so each entry below is labelled | ||
| with the class it would have had in the old layout. Read the label before you read the page. | ||
|
|
||
| ## Current behavior, and the code depends on it | ||
|
|
||
| These are `spec/`-class. Go source cites them by path, and `task lint-docs` checks those citations. | ||
| If you change one of these behaviors, change the document in the same commit. | ||
|
|
||
| | Document | What it pins | | ||
| |---|---| | ||
| | [`new-file-placement-rules.md`](new-file-placement-rules.md) | where a brand-new resource's file goes: declared, the folder's one kustomize root, canonical. Sibling inference is removed, and kept as history | | ||
| | [`contextual-namespace.md`](contextual-namespace.md) | kustomize graph-aware namespace inference, and the supported subset | | ||
|
|
||
| ## Being decided | ||
|
|
||
| These are `design/`-class: intent, not shipped behavior. | ||
|
|
||
| | Document | What it proposes | | ||
| |---|---| | ||
| | [`model.md`](model.md) | the proposal: a path template is the wrong primitive, so declare what the folder **is**. `spec.layout` as a discriminated union, with registration as an invariant rather than a rung | | ||
| | [`api-wave.md`](api-wave.md) | how the layout break sequences with the other `feat(api)!` work on `GitTarget`, so the consumer pays one bump | | ||
| | [`placement-visibility-and-declared-defaults.md`](placement-visibility-and-declared-defaults.md) | the three questions the sibling-inference deletion left. Decided, mostly unbuilt | | ||
|
|
||
| ## What is deliberately not here | ||
|
|
||
| - [`../design/support-boundary/`](../design/support-boundary/README.md) owns what the operator may | ||
| edit and what it refuses. Layout decides **where** a document goes; the support boundary decides | ||
| **whether** it may be written at all. | ||
| - [`../design/open-asks-priority.md`](../design/open-asks-priority.md) is the cross-cutting queue. | ||
| It references the layout work rather than containing it. | ||
| - [`../future/config-surface-for-a-structured-repository.md`](../future/config-surface-for-a-structured-repository.md) | ||
| is the broader configuration-surface review that the layout thesis came out of. It covers | ||
| `spec.path`, modes and `commitWindow` as well, so it stayed with its companion review. |
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Update visible labels for relocated documents.
The links resolve under
docs/layout/, but several rendered labels still advertise filenames that no longer exist. Replace each stale filename label with the current basename or a stable document title so readers are not directed toward removed paths.📍 Affects 3 files
docs/layout/api-wave.md#L10-L10(this comment)docs/TODO.md#L69-L69docs/design/support-boundary/helm-light-support-boundary.md#L133-L133🤖 Prompt for AI Agents