mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-05 14:42:05 +09:00
docs(contributing): hold implementations until their design is accepted
The contributing guide sends architectural changes to a design proposal in cozystack/community, but said nothing about when the code that implements one may merge. A clean implementation could land while its proposal was still under review, and the design then had to follow the code that shipped first. State that such a pull request stays in draft until the proposal is merged, and that opening it early as a proof of concept is welcome. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la>
This commit is contained in:
3 files changed
+4
-1
No files matched your search
@@ -46,7 +46,7 @@ This file provides structured guidance for AI coding assistants and agents worki
|
||||
- Read: [`.github/labels.yml`](./.github/labels.yml)
|
||||
- Action: Use labels defined there. Conventions follow the Kubernetes scheme — `kind/*` (type), `area/*` (subsystem), `priority/*` (urgency), `triage/*` (review state), `lifecycle/*` (auto-close), `do-not-merge/*` (PR blockers), `security/*` (severity)
|
||||
- For `triage/*`: `.github/workflows/issue-triage.yaml` labels an issue on arrival and sweeps daily for any open issue carrying none, so change a triage decision by replacing the label rather than removing it — remove the only `triage/*` label an issue has and the next sweep puts one back
|
||||
- A feature request that needs design first gets `triage/needs-proposal`, is re-filed in [cozystack/community](https://github.com/cozystack/community) as an issue or a design-proposal PR, and is closed here with a link to it (re-file rather than transfer, so the label stays on the closed issue as the record); work in this repository starts only once that proposal is accepted, from a new issue that references it
|
||||
- A feature request that needs design first gets `triage/needs-proposal`, is re-filed in [cozystack/community](https://github.com/cozystack/community) as an issue or a design-proposal PR, and is closed here with a link to it (re-file rather than transfer, so the label stays on the closed issue as the record); work in this repository starts only once that proposal is accepted, from a new issue that references it; the one exception is a proof-of-concept implementation, which may open earlier as a draft pull request and merges only after the proposal is accepted (see [CONTRIBUTING.md](./CONTRIBUTING.md#where-do-i-file)). After acceptance, the proof of concept follows the same implementation-issue requirement: an existing implementation issue can be reused if it is separate from the closed feature request and references the accepted proposal.
|
||||
- For `area/*`: accuracy outweighs reuse. If no existing `area/*` truly fits the change, propose a new one via PR (extend `.github/labels.yml` and the scope mapping in `.github/workflows/pr-labeler.yaml`) — do not shoehorn the change into a wrong area. `area/uncategorized` is the auto-labeler fallback; treat it as a signal to pick a fit, create a new area, or correct the PR title
|
||||
- PR titles: a Conventional Commits header (`type(scope): description`, types from [`contributing.md`](./docs/agents/contributing.md)) auto-applies `kind/*` and `area/*` via `.github/workflows/pr-labeler.yaml`. Append `!` (or add a `BREAKING CHANGE:` footer) to apply `kind/breaking-change`
|
||||
|
||||
|
||||
@@ -50,6 +50,8 @@ Cozystack work is split across two repositories. Use this table to land in the r
|
||||
|
||||
Rule of thumb: **bugs and concrete features live here; "what or whether we should build it" lives in [community](https://github.com/cozystack/community)** as a design proposal or discussion. A large feature often starts as a Discussion, graduates to a design-proposal PR, then spawns implementation issues here.
|
||||
|
||||
A pull request that implements a design proposal waits for that proposal to be accepted, that is, merged into [community](https://github.com/cozystack/community). An issue can start the discussion, but acceptance requires a merged design-proposal pull request. Until then it stays in draft, however clean the code is: code merged ahead of its design becomes the contract the design then has to follow. Opening the implementation early as a proof of concept is welcome, and linking it from the proposal helps the review. If the proposal is closed without being accepted, the implementation is closed with it.
|
||||
|
||||
## Raising Issues
|
||||
|
||||
When raising issues, please specify the following:
|
||||
|
||||
@@ -10,6 +10,7 @@ Project-side conventions for commits, branches, and pull requests in Cozystack.
|
||||
- [ ] Branch is rebased on `upstream/main` (no extra commits)
|
||||
- [ ] PR body includes description and release note
|
||||
- [ ] Ran `make generate` in every package whose `values.yaml`, `values.schema.json`, `Chart.yaml`, or `README.md` was touched, and committed the regenerated files
|
||||
- [ ] If the change implements a design proposal, the PR stays draft until the proposal is merged in cozystack/community ([CONTRIBUTING.md](../../CONTRIBUTING.md#where-do-i-file))
|
||||
- [ ] Walked the [Downstream Repositories](#downstream-repositories) trigger map against the diff, and linked a follow-up (a PR, or an issue when the PR is out of scope) in every repository the change reaches
|
||||
|
||||
## Regenerate Artifacts Before Committing
|
||||
|
||||
Reference in new issue
Block a user