From d3d67bc97b99c6ba2db6c82f6673e89d18d01264 Mon Sep 17 00:00:00 2001 From: Dong1017 <55723162+Dong1017@users.noreply.github.com> Date: Mon, 23 Nov 2026 10:00:31 +0800 Subject: [PATCH 1/3] docs: give each issue at most one parent and its own completion condition Linked task issues listed each other as remaining work and stayed open until a shared acceptance, so none could close on its own. Add a working rule: an Issue may stand alone; one with a parent has exactly one, attached as a GitHub sub-issue; dependencies are one-way and acyclic; only the parent lists children and holds joint acceptance; and each Issue names the PR(s) or check that completes it, never another Issue's closure. The scoped task template asks for that completion condition and for the parent, which a standalone task may leave blank. Refs #371 Agent-assisted-by: bothouse / claude (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/scoped-task.md | 3 ++- docs/agent-collaboration.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/scoped-task.md b/.github/ISSUE_TEMPLATE/scoped-task.md index 11cfdcb44..4d3fdbe72 100644 --- a/.github/ISSUE_TEMPLATE/scoped-task.md +++ b/.github/ISSUE_TEMPLATE/scoped-task.md @@ -23,11 +23,12 @@ Conventions: docs/agent-collaboration.md --> - **Problem / desired outcome:** -- **Completion criteria:** +- **Completion criteria (the PR(s) to merge or check to pass; not another Issue's closure):** ## Scope and constraints - **In scope / out of scope:** +- **Parent Issue (at most one; attach this Issue as its sub-issue; a standalone task may leave it blank):** - **Relevant dependencies, shared interfaces or limits (if any):** ## Ownership and authorization diff --git a/docs/agent-collaboration.md b/docs/agent-collaboration.md index f6686320d..9c4fafd2a 100644 --- a/docs/agent-collaboration.md +++ b/docs/agent-collaboration.md @@ -140,6 +140,7 @@ sequenceDiagram 4. **Refresh:** reassess affected evidence after relevant head/base/content/environment/check changes. Refresh checks or explain continued applicability. Neither blanket reuse nor full hardware reruns is the default; changed hashes alone prove neither content change nor equivalence. 5. **Handoff:** only for an actual transfer or accepted decision change, record the delta, recipient and next action. Keep acceptance status/link, communication status and application status separate. "Applied" needs artifact/evidence; otherwise retain pending or unknown. No full conversation traces or new ledger. 6. **Completion:** merged PR ≠ accepted goal ≠ campaign `PASS` ≠ release. Use non-closing `Refs #N` until closure is authorized. GitHub treats a closing keyword followed by an Issue reference as closing syntax even inside a negated sentence, so never write one in PR text; for an authorized closure, put `Closes #N` alone on its own line. The ready lane's `pr-references` job reports any other use. Subtasks cannot implicitly close a parent goal. Knowledge proposals to [#17](https://github.com/InferMatrixLab/InferRSI/issues/17) are optional; no automatic promotion. Before an authorized closure, publish a closure summary card ([closure summaries](#closure-summaries)). +7. **Dependencies:** an Issue may stand alone with no parent. If it has a parent, it has exactly one, and it is attached as a GitHub sub-issue of that parent. Dependencies point one way, from child to parent, and never form a cycle. Only the parent lists its children and holds any acceptance shared by several of them, such as a joint run on the integrated main. Each Issue states its own completion condition: the PR(s) whose merge, or the check whose result, completes it. A completion condition never waits for another Issue to close, so a child does not stay open until a sibling or the parent closes. Ordering between PRs belongs on those PRs or once in the parent, not in sibling Issues' completion conditions. ## Closure summaries From 30c6b8e979d2826dc60bc2100d40b11f325128d3 Mon Sep 17 00:00:00 2001 From: Dong1017 <55723162+Dong1017@users.noreply.github.com> Date: Mon, 23 Nov 2026 13:05:25 +0800 Subject: [PATCH 2/3] docs: separate source prerequisites from closure conditions Link the repository-wide scope decision on #570 and record what it keeps: a real source or code prerequisite, and integration evidence an Issue's own scope requires, may still be recorded as dependencies that order the work; they are not closure conditions. Existing Issues change only with their author's agreement. Refs #570 Agent-assisted-by: bothouse / claude (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/scoped-task.md | 2 +- docs/agent-collaboration.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/scoped-task.md b/.github/ISSUE_TEMPLATE/scoped-task.md index 4d3fdbe72..7e6000d48 100644 --- a/.github/ISSUE_TEMPLATE/scoped-task.md +++ b/.github/ISSUE_TEMPLATE/scoped-task.md @@ -29,7 +29,7 @@ Conventions: docs/agent-collaboration.md --> - **In scope / out of scope:** - **Parent Issue (at most one; attach this Issue as its sub-issue; a standalone task may leave it blank):** -- **Relevant dependencies, shared interfaces or limits (if any):** +- **Relevant dependencies, shared interfaces or limits (if any; a source prerequisite orders the work but is not a closure condition):** ## Ownership and authorization diff --git a/docs/agent-collaboration.md b/docs/agent-collaboration.md index 9c4fafd2a..a481315eb 100644 --- a/docs/agent-collaboration.md +++ b/docs/agent-collaboration.md @@ -140,7 +140,7 @@ sequenceDiagram 4. **Refresh:** reassess affected evidence after relevant head/base/content/environment/check changes. Refresh checks or explain continued applicability. Neither blanket reuse nor full hardware reruns is the default; changed hashes alone prove neither content change nor equivalence. 5. **Handoff:** only for an actual transfer or accepted decision change, record the delta, recipient and next action. Keep acceptance status/link, communication status and application status separate. "Applied" needs artifact/evidence; otherwise retain pending or unknown. No full conversation traces or new ledger. 6. **Completion:** merged PR ≠ accepted goal ≠ campaign `PASS` ≠ release. Use non-closing `Refs #N` until closure is authorized. GitHub treats a closing keyword followed by an Issue reference as closing syntax even inside a negated sentence, so never write one in PR text; for an authorized closure, put `Closes #N` alone on its own line. The ready lane's `pr-references` job reports any other use. Subtasks cannot implicitly close a parent goal. Knowledge proposals to [#17](https://github.com/InferMatrixLab/InferRSI/issues/17) are optional; no automatic promotion. Before an authorized closure, publish a closure summary card ([closure summaries](#closure-summaries)). -7. **Dependencies:** an Issue may stand alone with no parent. If it has a parent, it has exactly one, and it is attached as a GitHub sub-issue of that parent. Dependencies point one way, from child to parent, and never form a cycle. Only the parent lists its children and holds any acceptance shared by several of them, such as a joint run on the integrated main. Each Issue states its own completion condition: the PR(s) whose merge, or the check whose result, completes it. A completion condition never waits for another Issue to close, so a child does not stay open until a sibling or the parent closes. Ordering between PRs belongs on those PRs or once in the parent, not in sibling Issues' completion conditions. +7. **Parents and dependencies** (repository-wide, [#570 decision](https://github.com/InferMatrixLab/InferRSI/issues/570#issuecomment-7092074182)): an Issue may stand alone with no parent. If it has a parent, it has exactly one, and it is attached as a GitHub sub-issue of that parent. Dependencies point one way and never form a cycle: a child links up to its parent, and only the parent lists its children and holds any acceptance shared by several of them, such as a joint run on the integrated main. Each Issue states its own completion condition: the PR(s) whose merge, or the check whose result, completes it. A completion condition never waits for another Issue to close, so a child does not stay open until a sibling or the parent closes. A real source or code prerequisite (this Issue's change needs another Issue's merged change), and integration evidence the Issue's own scope requires, may still be recorded as dependencies on the Issue or its PRs; they order the work and can hold a PR, but they are not closure conditions. Ordering between PRs belongs on those PRs or once in the parent, not in sibling Issues' completion conditions. Existing Issues are brought in line only with their author's agreement. ## Closure summaries From 8301c2484488354efdcbc42d1cdd81835cd57560 Mon Sep 17 00:00:00 2001 From: Dong1017 <55723162+Dong1017@users.noreply.github.com> Date: Mon, 23 Nov 2026 14:39:06 +0800 Subject: [PATCH 3/3] docs: let an Issue's own integration check be its completion condition Rule 7 grouped integration evidence the Issue's own scope requires with source prerequisites and said neither is a closure condition, which contradicted its own named-check completion condition and the #570 decision. Keep a source or code prerequisite as an ordering dependency that can hold a PR but is not a closure condition; let integration or acceptance evidence the Issue owns, such as a shared integration check, be that Issue's completion condition as a named check, never stated as another Issue's closure. Refs #570 Agent-assisted-by: bothouse / claude (implementer) Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com> --- docs/agent-collaboration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/agent-collaboration.md b/docs/agent-collaboration.md index a481315eb..d6dbf3532 100644 --- a/docs/agent-collaboration.md +++ b/docs/agent-collaboration.md @@ -140,7 +140,7 @@ sequenceDiagram 4. **Refresh:** reassess affected evidence after relevant head/base/content/environment/check changes. Refresh checks or explain continued applicability. Neither blanket reuse nor full hardware reruns is the default; changed hashes alone prove neither content change nor equivalence. 5. **Handoff:** only for an actual transfer or accepted decision change, record the delta, recipient and next action. Keep acceptance status/link, communication status and application status separate. "Applied" needs artifact/evidence; otherwise retain pending or unknown. No full conversation traces or new ledger. 6. **Completion:** merged PR ≠ accepted goal ≠ campaign `PASS` ≠ release. Use non-closing `Refs #N` until closure is authorized. GitHub treats a closing keyword followed by an Issue reference as closing syntax even inside a negated sentence, so never write one in PR text; for an authorized closure, put `Closes #N` alone on its own line. The ready lane's `pr-references` job reports any other use. Subtasks cannot implicitly close a parent goal. Knowledge proposals to [#17](https://github.com/InferMatrixLab/InferRSI/issues/17) are optional; no automatic promotion. Before an authorized closure, publish a closure summary card ([closure summaries](#closure-summaries)). -7. **Parents and dependencies** (repository-wide, [#570 decision](https://github.com/InferMatrixLab/InferRSI/issues/570#issuecomment-7092074182)): an Issue may stand alone with no parent. If it has a parent, it has exactly one, and it is attached as a GitHub sub-issue of that parent. Dependencies point one way and never form a cycle: a child links up to its parent, and only the parent lists its children and holds any acceptance shared by several of them, such as a joint run on the integrated main. Each Issue states its own completion condition: the PR(s) whose merge, or the check whose result, completes it. A completion condition never waits for another Issue to close, so a child does not stay open until a sibling or the parent closes. A real source or code prerequisite (this Issue's change needs another Issue's merged change), and integration evidence the Issue's own scope requires, may still be recorded as dependencies on the Issue or its PRs; they order the work and can hold a PR, but they are not closure conditions. Ordering between PRs belongs on those PRs or once in the parent, not in sibling Issues' completion conditions. Existing Issues are brought in line only with their author's agreement. +7. **Parents and dependencies** (repository-wide, [#570 decision](https://github.com/InferMatrixLab/InferRSI/issues/570#issuecomment-7092074182)): an Issue may stand alone with no parent. If it has a parent, it has exactly one, and it is attached as a GitHub sub-issue of that parent. Dependencies point one way and never form a cycle: a child links up to its parent, and only the parent lists its children and holds any acceptance shared by several of them, such as a joint run on the integrated main. Each Issue states its own completion condition: the PR(s) whose merge, or the check whose result, completes it. A completion condition never waits for another Issue to close, so a child does not stay open until a sibling or the parent closes. A real source or code prerequisite (this Issue's change needs another Issue's merged change) may still be recorded as a dependency on the Issue or its PRs; it orders the work and can hold a PR, but it is not a closure condition. Integration or acceptance evidence the Issue's own scope requires, such as a shared integration check, is different: it may be that Issue's completion condition as a named check, stated as the check's result, never as another Issue's closure. Ordering between PRs belongs on those PRs or once in the parent, not in sibling Issues' completion conditions. Existing Issues are brought in line only with their author's agreement. ## Closure summaries