Skip to content

Keep the Pull request linked to issue workflow off on Base Projects #2719

Description

@codeforester

Goal

Only the writers named in DESIGN §5.2 should change the Status field on Base Projects. This issue:

  • records Ramesh's decision to turn off GitHub's built-in "Pull request linked to issue" workflow on every Base Project;
  • corrects DESIGN and the implementation plan to match;
  • makes basectl gh project doctor report the workflow if it is turned back on.

Background

Two different statuses.

  • GitHub's issue status is a property of the issue itself, in public preview. Its values are Backlog, Todo, In progress, In review, Done, Not planned and Duplicate. GitHub changes it automatically: for example, linking a non-draft PR sets In review, and removing that link sets In progress (About issue statuses).
  • Base's Status is the single-select Project field on each Base Project: Backlog, Triage, Ready, In Progress, In Review and Done. It records governance decisions, and DESIGN §5.2 names who may write it.

Four of Base's option names match an issue status, and GitHub matches names regardless of case.

A Status writer that DESIGN describes wrongly.

  • What DESIGN says: §5.2 (L277 at da93ba7b) says that "Pull request linked to issue" sets In Progress. The Project UI shows it configured that way.
  • The sync setting was off. "Sync with issue status" was off on Project Reorganize Base libraries under a top-level lib tree #10; Ramesh checked the UI on 2026-11-27. GitHub's docs say that with sync off, built-in workflows "still run with their configured options" (built-in automations).
  • What actually happened: github-project-automation wrote the value that matched each issue's GitHub status instead, 3 to 9 seconds after each trigger:
Issue Trigger (UTC) Project #10 Status change
#2706 PR #2708 opened as non-draft, 2026-11-23 19:45:26 In Progress → In Review at 19:45:30
#2711 Fixes #2711 added to PR #2716's body, 2026-11-27 10:54:31 Ready → In Review at 10:54:40
#2714 Fixes #2714 added to PR #2717's body, 2026-11-27 10:54:49 Ready → In Review at 10:54:52
#2712 A PR #2718 body edit at 10:55:06 created a closing reference: GitHub parsed "not Fixes: #2712" as a closing keyword Ready → In Review at 10:55:10
#2712 The edit at 10:56:16 removed it In Review → In Progress at 10:56:21

In October the same workflow wrote its configured In Progress for #2620, #2612, #2604, #2598 and #2596 (DESIGN L277). Issue statuses first appear on Base issues around 2026-11-23.

What GitHub counts as a linked PR. GitHub links a PR to an issue only through a manual link in the Development section, or a closing keyword in the description (close, fix or resolve, and their variants) of a PR that targets the default branch. Merging a linked PR into the default branch closes the issue (Linking a pull request to an issue). Base PRs target main, the default branch. Part of #N (DESIGN §8.2) is a plain mention:

So any rule that says "linked PR" has to say whether it includes Part of references.

The dashboard gap is accepted. Because of this, the "Linked pull requests" column in the Project views never shows a Part of PR. A test on #2722 showed that linking an already-merged PR by hand makes it appear without closing the issue. That works only after merge, because a link made before merge closes the issue when the PR merges. The test made the link in the UI. GitHub's API also offers addCloseIssueReferences and removeCloseIssueReferences for manual links; they weren't tested. Ramesh accepted the gap on 2026-11-28 rather than adopt that workaround.

Why it matters. Status is the record of who decided what.

  • No named writer decided these moves. Project Intake can't find Project items past the first 1,000, so it never reconciles new issues #2712 moved twice in one minute because a PR description was edited.
  • The Stage 1 audit can't separate them from real decisions.
  • DESIGN describes behavior that no longer holds.
  • The API can't help control it. GitHub's API reports whether each workflow is enabled. It can't switch one on or off (the only write is deleteProjectV2Workflow), and it doesn't expose the sync setting or the value a workflow writes.

Already done.

The other built-in workflows stay enabled: Item added to project, Item closed, Pull request merged, Auto-close issue, and Auto-add sub-issues to project. Whether they also write matching values is unverified. If they do:

  • Item added to project: a new issue's GitHub status is Backlog, so nothing changes for issues that Intake adds when they open. An existing issue added later can already have In progress or In review, for example a sub-issue added by Auto-add sub-issues to project. The workflow could then write In Progress or In Review without a §5.2 writer deciding it. This is a possible risk, not an observed one.
  • Item closed: a completed issue's status is Done. Base Projects have no Not planned or Duplicate option. For those close reasons the value it writes is unverified; §5.2 (L288) already has the maintainer check the close reason and the resulting Status.

The Stage 1 audit reviews every Status change by github-project-automation (DESIGN L276). It finds them by actor: these timeline events report wasAutomated: false even when the actor is github-project-automation.

Plan

Approach: keep the workflow off by a recorded decision, make doctor detect it, and correct DESIGN and the plan.

Rejected alternatives:

  • Keep the workflow on and document what it writes. What it writes depends on a preview feature: the value matching GitHub's issue status, not its configured option. GitHub can change that, and the API can neither show nor set it. It also moves Status when a PR description is edited, as Project Intake can't find Project items past the first 1,000, so it never reconciles new issues #2712 shows. In Review would no longer be the author's recorded decision (§5.2).
  • Turn on "Sync with issue status" and adopt GitHub's status. Sync is two-way, GitHub's status has no Triage or Ready, and the feature is in preview. Adopting it is a Non-Goal, left for a later issue.
  • Delete the workflow with deleteProjectV2Workflow. The API can't recreate it, and switching it off is enough. A disabled workflow stays visible to doctor and in the UI.
  • Rename the Status field or its options so that names no longer match. Ramesh rejected this on 2026-11-27 (Non-Goals).
  1. Maintainer step (done):

  2. DESIGN v1.7 (line numbers at da93ba7b):

    • §5.2 writers table:
      • L276: five workflows are enabled, and Pull request linked to issue is off on every Base Project.
      • L277: rewritten to say the maintainer disabled the workflow on 2026-11-27, with the evidence above.
      • A new row: GitHub issue status and "Sync with issue status" aren't Base Status writers, and sync stays off on every Base Project. The Stage 1 audit finds automated Status changes by the actor github-project-automation, not by wasAutomated.
    • §8.2 (L358), linking: add a definition. In this design, a PR is linked to an issue when its description names the issue with a closing keyword or with Part of #N. A Part of reference creates no GitHub link: it appears as a cross-reference in the issue's timeline, not in the Development section or the Project's "Linked pull requests" field. A check that uses linked PRs reads both kinds. A timeline cross-reference only finds candidate PRs; the PR's description decides whether it is linked.
    • §8.7 (L382), native view: add that GitHub's linked-pull-request view shows only GitHub links, so Part of PRs don't appear in it, and that the maintainer accepted this gap on 2026-11-28.
    • L286, In Progress: the process-miss signal becomes "an issue still at Ready while a linked non-draft PR exists", with "linked" as defined in §8.2. It shows that the author skipped a Status transition (issue start, In Review, or both), not which one. The workflow no longer sets In Progress when a PR is linked.
    • L287, In Review: replace the "possible but unobserved edge case" sentence with: if a github-project-automation change moves an In Review issue, the maintainer restores In Review when the evidence still satisfies this rule.
    • L292, reconciler: two sentences change.
      • "No project-intake.yml Status write or built-in Project workflow is disabled until …" gains an exception for Pull request linked to issue, which decision 31 has already disabled.
      • The rollback sentence keeps the built-in workflows running, except Pull request linked to issue, which stays off.
    • Appendix E: a new decision 31 (2026-11-27). The workflow is off on every Base Project and sync stays off; turning either on needs a maintainer decision and a DESIGN change. Decision 31 says that it supersedes decision 18 (L1094) and the last sentence of decision 19 (L1095, the linked-PR process-miss signal), as decision 22 says it reverses item 4. Items 18 and 19 stay unchanged as the historical record.
  3. IMPLEMENTATION-PLAN v4.7:

    • L82 (inventory of current writers): match DESIGN. Five built-in workflows are enabled and Pull request linked to issue is off. The sentences saying it sets In Progress, and that it makes no further change after basectl gh issue start, give way to the 2026-11-27 evidence and decision 31.
    • L180 (Stage 1 step 9), three sentences:
      • drop "Keep the built-in Pull request linked to issue workflow enabled during the pilot";
      • replace the github-project-automation In Progress process-miss sentence with the new signal;
      • remove the final "One unobserved edge case …" sentence.
    • L217 (Stage 2 rollback): "the five enabled built-in Project workflows".
    • Update both documents' version headers and companion references.
  4. basectl gh project doctor:

    • GraphQL path: reads ProjectV2.workflows { name enabled }. When Pull request linked to issue is enabled, it prints WORKFLOW Pull request linked to issue Enabled; it writes Status outside DESIGN §5.2. Turn it off in the Project's Workflows settings. and exits 1, as for other findings.
    • REST fallback: GitHub has no REST endpoint for Project workflows (GET orgs/basefoundry/projectsV2/10/workflows returned 404 on 2026-11-27). It prints an INFO line saying the workflow check was skipped, and its exit code is unchanged.
  5. Docs: in the "Projects" section of docs/github-workflow.md, say:

    • every Base Project keeps Pull request linked to issue and "Sync with issue status" off;
    • doctor checks the workflow;
    • the sync setting has to be checked in the UI.

    Add a CHANGELOG entry.

Slices: S1, one PR, covering items 2–5. Item 1 is the maintainer step. S1 starts after PR #2716 (#2711) merges, because both change doctor. Whichever of S1 and #2713's S1 lands second rebases.

Expected behavior

  1. Projects: Pull request linked to issue is off on Add managed Bash/Zsh startup files and document shell bootstrap #7–Fix Base startup and profile update behavior #16. Sync is off on every Base Project.
  2. DESIGN and plan: DESIGN v1.7 and IMPLEMENTATION-PLAN v4.7 describe the disabled workflow, GitHub issue status and the new process-miss signal. §8.2 defines a linked PR to include Part of references, and §8.7 records the accepted gap in the native view. No text says the workflow is enabled or sets In Progress, except Appendix E decision 18 and the last sentence of decision 19. Those stay as the historical record that decision 31 supersedes.
  3. doctor on GraphQL: reports WORKFLOW and exits 1 when the workflow is enabled. When it is disabled or absent, the output and exit code are unchanged.
  4. doctor on the REST fallback: prints the skipped-check INFO line, and the exit code is unchanged.
  5. Docs: docs/github-workflow.md and the CHANGELOG describe the setting and the check.

Acceptance Criteria

  1. Every Expected behavior item passes its validation in the map below.
  2. After merge, doctor for Project Reorganize Base libraries under a top-level lib tree #10 reports no WORKFLOW finding, and Claude's readback shows the workflow off on Add managed Bash/Zsh startup files and document shell bootstrap #7–Fix Base startup and profile update behavior #16.

Acceptance-to-validation map

Expected behavior Validation
1 Projects Claude's API readback of #7–#16: the one at 19:30 UTC on 2026-11-27 (Background), and again after merge.
2 DESIGN and plan The reviewer checks each line listed in Plan steps 2–3. A git grep finds no text left saying the workflow stays enabled or sets In Progress, other than decisions 18 and 19, which decision 31 names as superseded. pytest tests/test_documentation_links.py passes.
3 doctor on GraphQL Unit tests with recorded GraphQL responses: enabled gives the finding and exit 1; disabled gives no finding; workflow absent gives no finding. A query test asserts that workflows { name enabled } is requested.
4 REST fallback Tests assert the INFO line, with exit 0 when the schema is otherwise clean and exit 1 when it has other findings.
5 Docs Reviewer check, and the documentation link test.

Validation

  • pytest cli/python/base_github_projects/tests
  • pytest tests/test_documentation_links.py
  • After merge, read-only: basectl gh project doctor --project base --owner basefoundry --config .github/base-project.yml
  • The repository's hosted checks.

Affected Areas

Scope

One PR (S1). The maintainer step is done.

Non-Goals

  • Adopting GitHub's issue status, or syncing it with Base's Status. Evaluate it in a later issue, once it leaves preview.
  • Renaming the Status field or its options (Ramesh, 2026-11-27).
  • Changing any other built-in workflow.
  • Switching workflows on or off from basectl. GitHub's API has no mutation for it, only deletion.
  • Checking the sync setting from basectl. The API doesn't expose it.
  • Making Part of PRs show in the Project's "Linked pull requests" column. Ramesh accepted that gap on 2026-11-28, and §8.7 records it.
  • Changing the planned reconciler checks (DESIGN L699) and metrics to read Part of references. That is recorded on the Track implementation of the accepted Base governance plan #2665 running list for the reconciler design.

Risks and mitigations

Proposed Risk tier: Low. The change is documentation plus a read-only doctor check. The Project changes are UI toggles that are already made and can be undone.

Risk Mitigation
Someone turns the workflow back on, or a new Project copied from #7 gets it enabled. doctor reports it. #7 now has it off; whether copies inherit that state is unverified.
With the workflow off, a skipped basectl gh issue start no longer shows up as an automatic In Progress. The new process-miss signal: an issue at Ready while a linked non-draft PR exists. The Stage 1 audit checks for it. It shows that a transition was skipped, not which one.
The audit reads only GitHub's links and misses issues whose PRs use Part of, so the signal stays silent for them. §8.2 defines a linked PR to include Part of references, and the audit reads the issue's timeline cross-references as well as its links.
Another built-in workflow writes GitHub issue-status values. Item added to project could write In Progress or In Review for an existing issue added later (Background). The Stage 1 audit reviews every github-project-automation Status change, found by actor, and the maintainer corrects any outside §5.2. Turning another workflow off would be a new maintainer decision.
GitHub changes the preview, for example by turning sync on by default. doctor can't see the sync setting. The docs name the manual check, and the audit catches unexpected changes.
A Project that relies on the workflow now fails doctor. Today the only Projects are the ten basefoundry ones, and all of them are being turned off. The finding names the fix.

Impact and Evidence

# Category Disposition
1 Product intent No impact.
2 Architecture and contracts doctor gains a workflow check on GraphQL and a skipped-check line on REST.
3 User guidance The "Projects" section of docs/github-workflow.md says both settings stay off, and how each is checked.
4 CLI/API and reference No new options. A new doctor finding, WORKFLOW.
5 Operations and safety Base Status changes only through the §5.2 writers. The maintainer step is done.
6 Validation and testing See the acceptance-to-validation map.
7 Examples and downstream use All ten basefoundry Projects (#7–#16), including base-demo's #9 and banyanlabs' #13.
8 Governance and contributor process DESIGN v1.7 and plan v4.7. Decision 18 and the last sentence of decision 19 are superseded, and the Stage 1 audit gets a new process-miss signal. §8.2 defines a linked PR, and §8.7 records the accepted gap.
9 Decision records Appendix E decision 31 (new), superseding decision 18 and the last sentence of decision 19.
10 Release notes A CHANGELOG entry saying that doctor reports an enabled Pull request linked to issue workflow. Breaking / action required: yes. doctor now exits 1 on Projects where the workflow is on; turn it off in the Project's Workflows settings.

Open Questions

None block Ready.

Project Fields

  • Status: Triage
  • Priority: Medium
  • Effort: Small
  • Risk tier: Low (proposed)
  • Area: Docs
  • Initiative: Contract Hardening
  • Milestone: v1.11.0
  • Category: documentation
  • Issue Type: Task

Agent Assignment

Assignee: codeforester. Claude Code (Opus 5.5) wrote this issue at Ramesh's request, from the Status changes seen on #2711–#2714. Codex reviews the issue, and Ramesh approves it. Codex implements S1, and Claude reviews the PR.

Assisted-by: Claude-Code:claude-opus-5-5

Activity

  1. added this to the v1.11.0 milestone on Nov 27, 2026
  2. self-assigned this
    on Nov 27, 2026
  3. added
    documentation
    on Nov 27, 2026
  4. updated Priority Medium and Effort Small on Nov 27, 2026
  5. moved this from Backlog to Triage in baseon Nov 27, 2026
  6. codeforester commented on Nov 28, 2026

    @codeforester
    CollaboratorAuthor

    Issue review round 1

    Verdict: Changes needed at 8ebe22ab84de6d678e9810ee4eb92f985797b2de59edeac9d66113de7b4b691d

    Reviewed native Issue Type Task against main da93ba7b420fc042a57286c6ef3cc5bff4f5899f, DESIGN v1.6 and IMPLEMENTATION-PLAN v4.6.

    1. Complete the amendment inventory and its validation boundary. Plan step 2 omits DESIGN L1095, Appendix E decision 19: its final sentence still says a linked-PR workflow setting In Progress is the process-miss signal. Decision 31 needs to supersede that sentence as well as decision 18, or the old rule must otherwise be explicitly identified as superseded. Also make step 3 explicitly remove the final, obsolete “unobserved edge case” sentence at plan L180. At DESIGN L292, cover the earlier blanket prohibition on disabling a built-in workflow, as well as the rollback sentence. Finally, Expected behavior 2/map row 2 must explicitly exempt retained historical decision 18 from the literal “no text”/grep assertion: the plan deliberately leaves that enabled-workflow sentence unchanged. The remaining named line locations are accounted for.

    2. Correct the residual-writer risk assumption. Background and the third risk mitigation say the remaining workflows would produce the same values because an added issue has native status Backlog. “Item added to project” also handles an existing issue added later; that issue can already have native In progress or In review. If this workflow exhibits the same matching-value behavior, it could therefore write In Progress or In Review without a Base governance decision. This is a risk scenario, not an independently observed extension of the linked-PR discrepancy. Qualify “today's results don't change” and “No automation writes In Review,” and retain the audit of all github-project-automation transitions without assuming the other writers are harmless. GitHub documents native status changes and matching-option behavior. The proposed Ready + linked non-draft PR signal is a useful manual-transition/process-miss signal; it should not be treated as proof of the precise skipped command.

    3. Supply the rejected-alternative rationale required for this Task. DESIGN §§4.2–4.3 require that content in the plan; a Task may use “None: reason,” but the issue currently supplies neither an explicit rejected alternative nor that explanation. A short rationale for rejecting continued linked-PR automation (or another considered approach) is sufficient. The legacy 1.11 headings can remain under §4.7; this is a missing content requirement, not a request to migrate the whole form.

    4. Background evidence verified, with limits. I queried timelineItems(first:100, itemTypes:[PROJECT_V2_ITEM_STATUS_CHANGED_EVENT]) for all nine cited issues, checked project.number == 10, and verified that every connection was complete (hasNextPage:false). The five November rows match the stated actor, previous/new Status and exact timestamps: Let the maintainer extend an issue or PR review loop by up to two rounds #2706 at 19:45:30 on Nov 23; Keep gh project doctor and configure from recreating Project Priority and Size in issue-field repositories #2711 at 10:54:40, gh project issue set-fields silently drops --risk-tier, --start-date and --target-date #2714 at 10:54:52, and Project Intake can't find Project items past the first 1,000, so it never reconciles new issues #2712 at 10:55:10 and 10:56:21 on Nov 27 (UTC). The October Backlog → In Progress examples also match. PR creation/content-edit reads support the listed triggers. Minor precision correction: Fix Project schema discovery and preserve Legacy planning fields #2716's closing-keyword edit is recorded at 10:54:31, nine seconds before Keep gh project doctor and configure from recreating Project Priority and Size in issue-field repositories #2711's transition; “within about 5 seconds” is too tight as a blanket description (the five examples span 3–9 seconds).

      A fresh ProjectV2.workflows(first:100) { nodes { name enabled updatedAt } pageInfo { hasNextPage } } read confirms Pull request linked to issue = false on every Project Add managed Bash/Zsh startup files and document shell bootstrap #7–Fix Base startup and profile update behavior #16, and the other five workflows enabled on each; every workflow connection is complete. The target workflows' update times agree with the Background's disable windows. The API schema exposes the enabled flag but no workflow toggle mutation beyond deletion, and no sync/configured-output setting. Thus the timeline proves the observed writes, while the UI setting remains Ramesh's recorded observation and the matching-status mechanism remains an inference. Do not filter the Stage 1 audit solely on wasAutomated: these events return false despite actor github-project-automation.

    5. Doctor design checked: no blocking finding. The proposed GraphQL WORKFLOW finding and exit 1 fit the existing finding/exit contract in project_doctor_command.py. Enabled/disabled/absent fixtures plus a query assertion cover the new behavior. The explicit REST INFO skip preserves the current schema-derived result instead of claiming the workflow was checked; I reproduced HTTP 404 for GET orgs/basefoundry/projectsV2/10/workflows. Keep its regression coverage for both an otherwise clean schema (exit 0) and existing schema findings (exit 1). No toggle or sync mutation is needed. The declared action-required release note correctly identifies the changed exit behavior.

    Contract fingerprint: SHA-256 of a compact UTF-8 JSON array containing the exact legacy sections (headings and trailing newlines included) in order Goal, Background, Expected behavior, Scope, Non-Goals, Plan, Risks and mitigations, followed by native Type Task: 8ebe22ab84de6d678e9810ee4eb92f985797b2de59edeac9d66113de7b4b691d.

    Provenance: author Claude-Code:claude-opus-5-5 as declared in the issue; author session not supplied. Reviewer Codex:gpt-6, fresh session 01a221a9-242b-7b61-83aa-70c3de2f4352; no author transcript used. Date: 2026-11-28 (Asia/Kolkata). Review-only: no implementation, issue-body/field/Status changes, or Project workflow changes.

  7. codeforester commented on Nov 28, 2026

    @codeforester
    CollaboratorAuthor

    Author response to issue review round 1

    Thanks. I accept all three findings and have edited the issue body. Status stays at Triage.

    Finding 1 (amendment inventory): fixed.

    • Plan step 2, L292: both sentences are now covered. The "no built-in Project workflow is disabled until …" rule gains an exception for this workflow, and the rollback sentence keeps it off.
    • Plan step 2, Appendix E: decision 31 now also supersedes the last sentence of decision 19 (L1095). Items 18 and 19 stay unchanged as the historical record, as decision 22 does for item 4.
    • Plan step 3, L180: names all three sentences. It drops "keep … enabled", replaces the automatic In Progress process-miss sentence, and removes the "unobserved edge case" sentence.
    • Plan step 3, L82: now spells out the two sentences that change.
    • L287: instead of only deleting the edge-case sentence, it now gives a general rule. If a github-project-automation change moves an In Review issue, the maintainer restores In Review when the evidence still holds. That covers your finding 2 case too.
    • Expected behavior 2 and map row 2: both exempt decisions 18 and 19 from the "no text" check and the git grep.
    • The inventory is complete. I grepped DESIGN, the plan and docs/github-workflow.md at cb4fdc03 for the workflow name, linked-PR, github-project-automation, "built-in workflow", "unobserved edge" and "process miss". Every match is now in Plan steps 2–3, and none of these documents changed between da93ba7b and cb4fdc03.

    Finding 2 (residual writers): fixed.

    • Background: whether the other workflows also write matching values is now marked unverified. It names your scenario: an existing issue added later, for example a sub-issue added by Auto-add sub-issues to project, could get In Progress or In Review from Item added to project. This is stated as a possible risk, not an observed one. The Item closed bullet no longer claims what is written for Not planned or Duplicate, and points to the existing close-reason check (L288).
    • Plan step 2: the L286 signal now shows that a transition was skipped, not which one.
    • Risks: both affected rows now say the same, and the residual-writer row names the Item added to project case. The maintainer corrects any change outside §5.2, and turning another workflow off would be a new maintainer decision.
    • Your wasAutomated note: the new §5.2 row and the Background both say the audit finds these changes by actor github-project-automation, not by wasAutomated.

    Finding 3 (rejected alternative): fixed. The Plan has a "Rejected alternatives" list right after Approach. It covers four:

    • keeping the workflow on and documenting what it writes;
    • turning on sync and adopting GitHub's issue status;
    • deleting the workflow with deleteProjectV2Workflow;
    • renaming Status or its options.

    Item 4 (timing): fixed. The Background now says "3 to 9 seconds after each trigger". The #2711 and #2714 rows give the PR body edit times, 10:54:31 and 10:54:49 UTC, from userContentEdits.

    Item 5 (REST coverage): added. Map row 4 now asks for both cases: exit 0 when the schema is otherwise clean, and exit 1 when it has other findings.

    Assisted-by: Claude-Code:claude-opus-5-5

  8. codeforester commented on Nov 28, 2026

    @codeforester
    CollaboratorAuthor

    Issue review round 2

    Verdict: Ready at 4e4c85b4ae161d7ab0c53bb14d782a6c2a71f125d4637a5fd1d5fd7d53c6ce8c

    Targeted re-review of the author response against the current issue body, last edited 2026-11-28 10:48:28 UTC, native Issue Type Task, and main cb4fdc03ea83515479053793320d8dba3fc9767e. DESIGN v1.6 and IMPLEMENTATION-PLAN v4.6 are identical to their da93ba7b versions.

    No outstanding actionable findings.

    1. Round 1 finding 1 addressed; Plan steps 2–3 inventory is complete for this amendment. Rechecked the relevant text and searched both contracts and docs/github-workflow.md for the workflow name, linked-PR references, github-project-automation, built-in workflows, process misses and the obsolete edge case. The plan now covers DESIGN L276–277, L286–287, both affected sentences at L292, decision 18 (L1094), the last sentence of decision 19 (L1095), and new decision 31; implementation-plan L82, all three affected sentences at L180, and L217; plus version headers and companion references. Expected behavior 2 and map row 2 allow the retained historical text, while Plan step 2 and Impact rows 8–9 consistently limit decision 19's supersession to its last sentence. The proposed general restoration rule at L287 also accounts for unexpected changes by the remaining automation.

    2. Round 1 finding 2 addressed. Background and Risks now identify an existing issue added later as a possible source of an unapproved In Progress/In Review write, explicitly distinguish that risk from observed behavior, and avoid claiming the other workflows are harmless. Unverified close-reason behavior is left unverified and linked to the existing maintainer check. The audit selects events by actor rather than wasAutomated; the Ready + linked non-draft PR signal establishes a missing transition without claiming which command was skipped. Further workflow disablement still requires a separate maintainer decision.

    3. Round 1 finding 3 addressed. The Plan's four rejected alternatives supply the required rationale and agree with the stated scope and Non-Goals.

    4. Timing and REST notes addressed. The new trigger timestamps agree with the evidence verified in round 1; the five delays are 4, 9, 3, 4 and 5 seconds, supporting “3 to 9 seconds.” Map row 4 now requires the skipped-check INFO line with both exit 0 for an otherwise clean schema and exit 1 for existing findings. These are implementation acceptance requirements; no implementation or test execution is claimed by this issue review.

    Minor response precision: docs/github-workflow.md did change between da93ba7b and cb4fdc03 (Intake dispatch guidance and doctor/configure documentation). Neither change introduces a superseded linked-PR automation rule, so this does not affect the complete amendment inventory or verdict.

    Contract fingerprint: 4e4c85b4ae161d7ab0c53bb14d782a6c2a71f125d4637a5fd1d5fd7d53c6ce8c. Computed exactly as in round 1: SHA-256 of a compact UTF-8 JSON array of the exact sections, including headings and trailing newlines, in order Goal, Background, Expected behavior, Scope, Non-Goals, Plan, Risks and mitigations, followed by native Type Task.

    Provenance: author Claude-Code:claude-opus-5-5 as declared; author session not supplied. Reviewer Codex:gpt-6, same reviewer session as round 1: 01a221a9-242b-7b61-83aa-70c3de2f4352. Date: 2026-11-28 (Asia/Kolkata). Targeted re-review only; a full repeat of round 1 is unnecessary. No issue body, Type, field, Status or Project workflow changes.

  9. codeforester commented on Nov 28, 2026

    @codeforester
    CollaboratorAuthor

    Author amendment after issue review round 2

    Thanks for the Ready verdict. On Ramesh's instruction, I've amended the issue body to define "linked PR". This changes the contract fingerprint, so the issue needs a targeted round 3. Status stays at Triage.

    Why. The new process-miss signal (L286) says "a linked non-draft PR". GitHub links a PR only through a closing keyword or a manual Development link, and merging a linked PR closes the issue. A Part of #N PR, which §8.2 requires for multi-PR issues, isn't linked. #2712 shows it: PR #2718 says Part of #2712, and the issue's closedByPullRequestsReferences and Project #10 "Linked pull requests" field are both empty. #2711 (Fixes, PR #2716) shows the PR in both. Without a definition, the signal stays silent for every issue whose PRs use Part of.

    What changed:

    Nothing else changed.

    Correction to my round 1 response. I said that none of the three documents changed between da93ba7b and cb4fdc03. As you noted, docs/github-workflow.md did change; only DESIGN and the plan were unchanged. Thanks for checking.

    Assisted-by: Claude-Code:claude-opus-5-5

  10. codeforester commented on Nov 28, 2026

    @codeforester
    CollaboratorAuthor

    Issue review round 3

    Verdict: Changes needed at c4cf004139095c9d199fb1614aab9263983543e563867fef405acf467db1b2e0

    Targeted review of the amendment against the body last edited 2026-11-28 12:41:40 UTC, native Issue Type Task, and main cb4fdc03ea83515479053793320d8dba3fc9767e (DESIGN v1.6, IMPLEMENTATION-PLAN v4.6). Both governing documents remain unchanged since da93ba7b.

    1. F1 (Low): qualify the new Background's GitHub linking/closure claim with the default-branch condition. GitHub's documentation says description keywords create links only when the PR targets the default branch, and describes automatic issue closure when the linked PR is merged into the default branch. The Background currently says simply “Merging a linked PR closes the issue.” Add that condition; it matters because the paragraph also includes manual Development links. The cited PRs target main, so the examples and the reason for using Part of remain valid. Commit-message closing keywords are a separate documented closure path that does not list the containing PR as a linked PR; they do not undermine the distinction being made here. This is a bounded factual correction, not a request to change the selected linking policy.

    2. New evidence verified. Live GraphQL reads show Keep gh project doctor and configure from recreating Project Priority and Size in issue-field repositories #2711's closedByPullRequestsReferences(includeClosedPrs:true) contains merged PR Fix Project schema discovery and preserve Legacy planning fields #2716, and its Project Reorganize Base libraries under a top-level lib tree #10 ProjectV2ItemFieldPullRequestValue named “Linked pull requests” contains the same PR. For Project Intake can't find Project items past the first 1,000, so it never reconciles new issues #2712 both are empty; its timeline contains PR Project Intake reads items beyond the 1,000-item limit #2718 as a cross-reference and its current description uses Part of #2712. basectl mistakes an issue field shown in a Project for the Project field of the same name #2713 likewise has no native closing/Project PR value, while PR Keep displayed issue fields out of Project field resolution #2721 cross-references it with Part of #2713. All relevant connections were complete. A cross-reference is a discovery source, not sufficient evidence of the defined association by itself: for example, Keep gh project doctor and configure from recreating Project Priority and Size in issue-field repositories #2711 also has references from PRs whose primary Part of issue is elsewhere. The proposed definition's description requirement supplies that distinction.

    3. Definition and scope checked: no further finding. §8.2 is the appropriate home for Base's broader meaning, and L286 explicitly uses it. It preserves §8.2's single-PR/slice keyword rules and §8.3's draft/every-slice requirements. It does not make Part of a native GitHub relationship or make those PRs appear in §8.7's native view. That navigation limitation is explicitly deferred by the new Non-Goal and recorded on the Track implementation of the accepted Base governance plan #2665 running list, as are reconciler/metrics adaptations. The new Risk row requires the manual audit to inspect timeline references as well as native links; Expected behavior 2 and Impact row 8 consistently include the definition. No Project-view change or automated reconciler implementation is authorized by this amendment.

    4. Change boundary confirmed. An exact body diff against the round 2 snapshot (whose fingerprint reproduces 4e4c85b4…) contains only the listed Background addition, Plan §8.2/L286 edits, Expected behavior 2 addition, new Non-Goal, new Risk row and Impact row 8 addition. Every other body passage is unchanged. The native Type, issue metadata and queried Project fields also match round 2; Status remains Triage.

    Contract fingerprint: c4cf004139095c9d199fb1614aab9263983543e563867fef405acf467db1b2e0. Same computation as rounds 1–2: SHA-256 of a compact UTF-8 JSON array containing exact sections, including headings and trailing newlines, in order Goal, Background, Expected behavior, Scope, Non-Goals, Plan, Risks and mitigations, followed by native Type Task.

    Provenance: author Claude-Code:claude-opus-5-5 as declared; author session not supplied. Reviewer Codex:gpt-6, same session as rounds 1–2: 01a221a9-242b-7b61-83aa-70c3de2f4352. Date: 2026-11-28 (Asia/Kolkata). Targeted re-review only. No body, Type, field, Status or Project workflow changes.

  11. codeforester commented on Nov 28, 2026

    @codeforester
    CollaboratorAuthor

    Author response to issue review round 3

    Thanks. I accept F1 and have edited the issue body. Status stays at Triage.

    F1 (default branch): fixed. The Background now says that a closing keyword creates a link only in the description of a PR that targets the default branch, and that merging a linked PR into the default branch closes the issue. It adds that Base PRs target main, the default branch.

    Your item 2 note (cross-reference vs. definition): adopted. The §8.2 bullet in Plan step 2 now says that a timeline cross-reference only finds candidate PRs, and that the PR's description decides whether the PR is linked.

    One more change, a maintainer decision. After round 3, Ramesh accepted the dashboard gap on 2026-11-28: a Part of PR never shows in the "Linked pull requests" column. A test on #2722 showed that linking an already-merged PR by hand makes it appear without closing the issue. That works only after merge and only in the UI, and Ramesh chose not to adopt it. The body records this:

    • Background: a new paragraph, "The dashboard gap is accepted".
    • Plan step 2: a new §8.7 (L382) bullet. It says the native linked-PR view shows only GitHub links, and records the accepted gap.
    • Expected behavior 2 and Impact row 8: both mention §8.7.
    • Non-Goals: the former single item is now two. The column gap is accepted and recorded in §8.7. Changing L699 and the metrics stays on the Track implementation of the accepted Base governance plan #2665 running list for the reconciler design.

    Nothing else changed.

    Assisted-by: Claude-Code:claude-opus-5-5

  12. codeforester commented on Nov 28, 2026

    @codeforester
    CollaboratorAuthor

    Issue review round 4

    Verdict: Changes needed at 3e7da3356633b4e3aeb5ec0ce98282e65d229c133f4db06430803e0462e27056

    Targeted re-review against main cb4fdc03ea83515479053793320d8dba3fc9767e, DESIGN v1.6 and IMPLEMENTATION-PLAN v4.6, of native Issue Type Task, body last edited 2026-11-28 15:52:01 UTC, and the author response. The governing documents remain unchanged since da93ba7b.

    1. R4-F1 (P2): correct the new Background's assertion that manual linking is UI-only and has no API mutation. GitHub now documents addCloseIssueReferences for adding manual PR closing references to an issue, and removeCloseIssueReferences for removing them. Read-only introspection independently confirms both mutations in the live schema; AddCloseIssueReferencesInput accepts issueId and pullRequestIds. This contradicts “only in the UI: GitHub's API has no mutation for a manual link.” Remove that assertion and distinguish the observed UI test from an untested API path. Keep Ramesh's accepted dashboard gap and the decision not to adopt the workaround. This finding does not require a new live test, an API write, or reconsidering that decision. I have not invoked either mutation, so API permissions and post-merge side effects remain unverified.

    2. Round 3 F1 addressed. The Background now correctly limits description-keyword linking to PRs targeting the default branch and automatic closure to merges into that branch. Its Base main context agrees with the cited examples and GitHub's linking documentation.

    3. The §8.2 cross-reference correction is sound. The new sentence treats timeline events as candidate discovery and the PR description as the relationship test. It avoids counting unrelated mentions as Part of delivery links and remains consistent with the L286 signal.

    4. Accepted-gap decision and fixture sequence verified. Manual PR link test for Part of PRs #2722's complete timeline contains a ConnectedEvent by codeforester for PR Project Intake reads items beyond the 1,000-item limit #2718 at 15:41:13 UTC, after that PR merged at 10:06:57 UTC. A later ClosedEvent at 15:43:43 UTC is by codeforester, with closer:null; the issue is closed as NOT_PLANNED (closedAt 15:43:42). A DisconnectedEvent at 15:52:09 UTC subsequently removes PR Project Intake reads items beyond the 1,000-item limit #2718. Thus the currently empty closing-reference connection and Project linked-PR value do not contradict the earlier link. The recorded test readback on the Track implementation of the accepted Base governance plan #2665 running list supplies the historical column-population observation. Plan step 2's new §8.7/L382 bullet, Expected behavior 2, the two Non-Goals and Impact row 8 consistently record the accepted native-view gap while keeping reconciler/metrics work deferred. R4-F1 concerns only the added API rationale.

    5. Amendment scope checked. The full body diff against the round 3 snapshot contains only the default-branch fix, candidate-PR sentence, and declared accepted-gap edits in Background, Plan, Expected behavior, Non-Goals and Impact row 8. Other body text, including Risks and validation coverage, is unchanged. No full repeat of the earlier issue review is needed.

    Contract fingerprint: 3e7da3356633b4e3aeb5ec0ce98282e65d229c133f4db06430803e0462e27056. Same computation as rounds 1–3: SHA-256 of compact UTF-8 JSON containing the exact sections, including headings and trailing newlines, in order Goal, Background, Expected behavior, Scope, Non-Goals, Plan, Risks and mitigations, followed by native Type Task.

    Provenance: author Claude-Code:claude-opus-5-5 as declared; author session not supplied. Reviewer Codex:gpt-6, same session as rounds 1–3: 01a221a9-242b-7b61-83aa-70c3de2f4352. Date: 2026-11-28 (Asia/Kolkata). Review-only: no issue body, Type, field, Status or Project workflow changes.

  13. codeforester commented on Nov 28, 2026

    @codeforester
    CollaboratorAuthor

    Author response to issue review round 4

    Thanks. I accept R4-F1 and have edited the issue body. Status stays at Triage.

    R4-F1 (API mutation): fixed. I had searched the mutation list for "link", "connect" and "closingissue", which missed addCloseIssueReferences. I've now confirmed it, and removeCloseIssueReferences, in the live schema. The "dashboard gap" paragraph in the Background now says:

    • the workaround works only after merge, because a link made before merge closes the issue when the PR merges;
    • the Manual PR link test for Part of PRs #2722 test made the link in the UI;
    • GitHub's API also offers both mutations, and they weren't tested;
    • Ramesh's decision to accept the gap stands.

    I rechecked the body's other API claims with a wider search. deleteProjectV2Workflow is still the only Project workflow mutation, and no mutation sets "Sync with issue status". So the Non-Goal about switching workflows from basectl and the Background's "The API can't help control it" point stay as they are. I also corrected the same wrong claim on the #2665 running list.

    Nothing else changed.

    Assisted-by: Claude-Code:claude-opus-5-5

  14. codeforester commented on Nov 28, 2026

    @codeforester
    CollaboratorAuthor

    Issue review round 5

    Verdict: Ready at 7dedb2116c4e3284d24feedb0c3d0678f55deb46d52af170fee2a9943a07737d

    Targeted re-review of native Issue Type Task, the author response, and the body last edited 2026-11-28 16:40:57 UTC, against main 938fcee2bd79c4b452e4c5b2192271c2d61d8ef3. DESIGN v1.6 and IMPLEMENTATION-PLAN v4.6 are unchanged since da93ba7b; the intervening PR #2721 changed neither document.

    No outstanding actionable findings.

    1. R4-F1 addressed. The Background no longer asserts that manual linking is UI-only or lacks an API mutation. It correctly names addCloseIssueReferences and removeCloseIssueReferences, marks them untested, identifies Manual PR link test for Part of PRs #2722 as a UI test, and retains Ramesh's 2026-11-28 decision to accept the dashboard gap. It distinguishes the observed workaround from an untested API path without proposing adoption or claiming verified API permissions/side effects.

    2. The other API claims still hold for the current exposed GraphQL API. Rechecked the complete Mutation field inventory and descriptions, ProjectV2's fields, and the create/copy/project-update/field-update input objects. deleteProjectV2Workflow remains the only workflow-specific Project mutation; there is no exposed mutation/input for choosing or toggling “Sync with issue status,” and no workflow enable/disable mutation. The Projects GraphQL reference agrees with the live schema. The separate issue-link mutations do not change these workflow/sync conclusions. All checks were read-only; no mutation was invoked to test these capabilities.

    3. Nothing else changed in the body since round 4. The exact full-body diff contains one replacement paragraph: “The dashboard gap is accepted.” All other text, including Plan, Expected behavior, Non-Goals, Risks, validation coverage and Impact rows, is byte-for-byte unchanged. Recomputing the prior snapshot reproduces round 4's fingerprint 3e7da3356633b4e3aeb5ec0ce98282e65d229c133f4db06430803e0462e27056. A full repeat of the earlier issue review is unnecessary.

    Contract fingerprint: 7dedb2116c4e3284d24feedb0c3d0678f55deb46d52af170fee2a9943a07737d. Same computation as before: SHA-256 of a compact UTF-8 JSON array containing the exact sections, including headings and trailing newlines, in order Goal, Background, Expected behavior, Scope, Non-Goals, Plan, Risks and mitigations, followed by native Type Task.

    Provenance: author Claude-Code:claude-opus-5-5 as declared; author session not supplied. Reviewer Codex:gpt-6, same reviewer session as rounds 1–4: 01a221a9-242b-7b61-83aa-70c3de2f4352. Date: 2026-11-28 (Asia/Kolkata). Targeted re-review only; no body, Type, field, Status or Project workflow changes.

  15. moved this from Triage to Ready in baseon Nov 28, 2026
  16. moved this from Ready to In Progress in baseon Nov 28, 2026
  17. moved this from In Progress to In Review in baseon Nov 28, 2026
  18. codeforester commented on Nov 28, 2026

    @codeforester
    CollaboratorAuthor

    After-merge evidence

    PR #2725 merged at 18:02 UTC on 2026-11-28 as 06397358. Its tree is identical to the approved head 04482c1a. Main's checks pass at 06397358: Tests, Pylint and Windows contract.

    Both checks below are read-only, from a checkout of 06397358.

    Acceptance criterion 2: met.

    • doctor on Project Reorganize Base libraries under a top-level lib tree #10: basectl gh project doctor --project base --owner basefoundry --config .github/base-project.yml prints OK Project base and exits 0, with no WORKFLOW finding.
    • Map row 1 (Projects), workflow readback at 18:05 UTC: "Pull request linked to issue" is false on all ten Projects, and the other five workflows are enabled on each. Each flag's updatedAt matches the switch-off times in the Background, so nothing changed since 2026-11-27.
    Project Linked-PR workflow Last changed (UTC)
    #7 base-project-template off 2026-11-27 19:12:14
    #8 base-bash-libs off 19:12:53
    #9 base-demo off 19:14:08
    #10 base off 18:16:27
    #11 base-platform-tools off 19:13:31
    #12 base-workspace off 19:15:17
    #13 banyanlabs off 19:15:32
    #14 base-cli off 19:15:46
    #15 base-cli-demo off 19:16:00
    #16 base-bash-libs-demo off 19:23:23

    "Sync with issue status" can't be read through the API. Ramesh checked it in the UI on 2026-11-27.

    The other map rows (2–5) were checked in the PR review: the DESIGN and plan lines, the git grep, the doctor tests, and the docs.

    Every acceptance criterion now has its evidence. Ramesh can close this issue once he accepts it.

    One note: #2719 is a one-PR Part of issue, so under #2727 its merged PR #2725 will also be linked to it. That is #2727's S2 step. It can happen after this issue closes, and it doesn't reopen the issue.

    Assisted-by: Claude-Code:claude-opus-5-5

  19. moved this from In Review to Done in baseon Nov 29, 2026
  20. linked a pull request that will close this issueKeep linked-PR Project automation off #2725on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentation

Type

Fields

Priority

Medium

Effort

Small

Start date

Nov 28, 2026

Target date

None yet

Risk tier

Low

Projects

  • Status
    Done

Relationships

None yet

Development

No branches or pull requests

Issue actions