Skip to content

docs: apply #15380's project-root form to the remaining show-toplevel fallbacks #15499

Description

@kyle-sexton

Problem

#15380 replaced the ${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)} fallback in work-items' 31 copies. The same fallback remains at:

  • docs/adr/0015-bind-the-tracker-at-repo-root-with-an-allowlisted-personal-overlay.md:46
  • docs/contracts/config-cascade/README.md:778 (work-items row)
  • docs/contracts/loop-lane/README.md:1499
  • plugins/source-control/skills/setup/reference/apply-convention.md:378 and :405

Do

Apply the form #15380 chose at each site, or record per site why it stays (an ADR records a decision as made, so 0015 may stay as written).

Related

Follow-up (b) of #15380.

Activity

  1. github-actions commented on Nov 12, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 2; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  2. github-actions commented on Nov 12, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: three docs/reference files (config-cascade README, loop-lane README, source-control apply-convention.md); read by maintainers and agents following those docs.
    Reversible: yes; revert the doc edits.
    Open questions: none

    Decision recorded. The acceptance checklist below adopts intake triage's own answer for this issue, under the owner's answer to the batch question for issues with only implementation questions.

    Question as put to the owner (Q42, covering #15499, #16352, #16353, #16524, #16579 and #16748): six issues with only implementation questions.

    • A (recommended, chosen): an agent session posts a **Decision recorded.** comment on each, adopting triage's own answers as the acceptance checklist, so admission takes them.
    • B: the owner reviews each first.

    Owner's answer, 2026-11-17, typed in an agent session, verbatim: "Go with recommendations."

    [quote truncated; the full decision is at the link]

    #15499 (comment)

    This decision settles the open questions. I understood the request as: replace the remaining ${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)} fallbacks with the <project root> form from #15380 (or record per site why one stays), and leave ADR 0015 as written. The decision's acceptance checklist covers the scope. The related merged change is #15380.

    Automated triage. A maintainer reviews it.

  3. melodic-automation-lanes commented on Nov 12, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: no trusted-human acceptance criteria: a listed human must put the confirmed - [ ] criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  4. kyle-sexton commented on Nov 17, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. The acceptance checklist below adopts intake triage's own answer for this issue, under the owner's answer to the batch question for issues with only implementation questions.

    Question as put to the owner (Q42, covering #15499, #16352, #16353, #16524, #16579 and #16748): six issues with only implementation questions.

    • A (recommended, chosen): an agent session posts a **Decision recorded.** comment on each, adopting triage's own answers as the acceptance checklist, so admission takes them.
    • B: the owner reviews each first.

    Owner's answer, 2026-11-17, typed in an agent session, verbatim: "Go with recommendations."

    The owner approved this agent session posting triage's answers as the checklist; he did not answer this issue's implementation details himself. Triage's answer here (triage): apply the #15380 form at each remaining site, or record per site why it stays; ADR 0015 may stay as written, since an ADR records a decision as made. All five sites are still on main today.

    The form #15380 chose: resolve the root in its own Bash calls (printenv CLAUDE_PROJECT_DIR, then git rev-parse --show-toplevel when that prints nothing) and write a literal <project root> in the snippet, as plugins/work-items/reference/tracker-seam.md ("Project root") describes.

    Acceptance criteria

    • docs/contracts/config-cascade/README.md (work-items row) uses that form (<project root>, resolved in its own call) in place of ${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)}, or the PR body records why this site keeps it.
    • docs/contracts/loop-lane/README.md uses that form in place of the fallback, or the PR body records why this site keeps it.
    • plugins/source-control/skills/setup/reference/apply-convention.md uses that form at both REPO_ROOT sites, or the PR body records why each keeps it.
    • docs/adr/0015-bind-the-tracker-at-repo-root-with-an-allowlisted-personal-overlay.md is left as written.
    • After the change, git grep -n 'CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)' over these four files matches only ADR 0015 and any site the PR body gives a reason for.

    Posted by an agent session.

  5. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"0f32180e737ebdc3684b4bcf413b3673a29d070bc3db66f85bde5dedf2e2d138","body_sha256":"162c26e5df67f7be37ebc7e0d09eaf2a518adc86ae38f8dd547962e329c2ed1e"}

  6. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor
    No description provided.
  7. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: Replace the ${CLAUDE_PROJECT_DIR:-$\(git rev-parse --show-toplevel\)} fallback with the &lt;project root> form (resolved in its own calls) in the config-cascade, loop-lane and apply-convention docs, leaving ADR 0015 as written.

    Acceptance criteria

    • docs/contracts/config-cascade/README.md work-items row (now line 789) no longer contains ${CLAUDE_PROJECT_DIR:-$\(git rev-parse --show-toplevel\)} and names &lt;project root> resolved per tracker-seam.md Project root, or the PR body records why it stays
    • docs/contracts/loop-lane/README.md snippet (now line 1477) no longer contains the fallback; it uses a literal &lt;project root> resolved in its own calls (printenv CLAUDE_PROJECT_DIR, then git rev-parse --show-toplevel when empty), or the PR body records why it stays
    • plugins/source-control/skills/setup/reference/apply-convention.md REPO_ROOT assignments (now lines 378 and 405) use &lt;project root> instead of the fallback, with the resolve-first instruction stated, or the PR body records per site why each stays
    • The apply-convention.md layer=team note that REPO_ROOT is resolved once in one Bash call is reworded to stay accurate under the new form
    • docs/adr/0015-bind-the-tracker-at-repo-root-with-an-allowlisted-personal-overlay.md is unchanged (line 46 keeps the fallback)
    • Grep for 'CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)' over the four files matches only ADR 0015 and any site the PR body gives a reason for
    • Docs lint and link checks the repo runs on docs/ and plugins/ still pass

    External state: none

    Dependencies

    • #​15380 (merged): defines the form; plugins/work-items/reference/tracker-seam.md 'Project root' section is the reference text

    Related work

    Sources read

    • context.json: owner's Decision recorded comment adopts triage's answer, apply the form per site, leave ADR 0015
    • plugins/work-items/reference/tracker-seam.md:80-86: <project root> is $CLAUDE_PROJECT_DIR else repo root, resolved in its own Bash calls; never embed $(git rev-parse --show-toplevel)
    • docs/adr/0015-bind-the-tracker-at-repo-root-with-an-allowlisted-personal-overlay.md:46: fallback still present, stays
    • docs/contracts/config-cascade/README.md:789: work-items row still has the fallback (line moved from 778)
    • docs/contracts/loop-lane/README.md:1477: root="${CLAUDE_PROJECT_DIR:-$(git rev-parse --show-toplevel)}" in the skip-an-issue snippet (line moved from 1499)
    • plugins/source-control/skills/setup/reference/apply-convention.md:378 and :405: REPO_ROOT assignments with the fallback; line 375 says REPO_ROOT is resolved once in one Bash call

    Automated refinement by the lanes App. Admission counts only criteria a listed human wrote: to confirm these, post them as your own comment whose first line is **Decision recorded.**, which sends the issue back through intake.

  8. melodic-automation-lanes commented on Nov 17, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped partway through this issue and needs a person.

    Reason: security

    Why, in the run's own words:

    The scan job refused the run's output, so nothing was published. The run's log names why.

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44126854203

    To retry, set Work status to agent-ready again (clearing the needs-human hold).

  9. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor
    No description provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    needs-triage

    Priority

    low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions