Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ptr727/ProjectTemplate
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.645
Choose a base ref
...
head repository: ptr727/ProjectTemplate
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.646
Choose a head ref
  • 3 commits
  • 41 files changed
  • 1 contributor

Commits on Sep 19, 2026

  1. Ban Issue References in Comments, Docstrings, and Instruction Text (#…

    …1694)
    
    The existing comment rule banned historic narrative and cross-project
    references without naming the instance, so a citation read as rigor rather
    than as the thing the rule forbids, and nothing detected one. The tree then
    taught the opposite of the rule at scale, which no rule text competes with
    until the tree changes.
    
    Three parts, and none of them works alone.
    
    The rule now names an issue, a pull request, and a commit as what the ban
    covers, with the surfaces it reaches and the reasons it exists: a reference
    is a second lookup for a reader holding the file, the lookup can be
    impossible where a repository is private, and a rationale block that takes
    one citation per round teaches a house style the rules forbid. One record
    keeps a revision, a disproved-claims entry, whose subject is the revision
    itself.
    
    The prose gate carries a new default rule reading the pattern-detectable
    half, a reference in a comment whose marker opens its line, in a Python
    docstring, and in instruction text. A commit is not a shape a gate can read,
    a string literal is not read because a test builds the numbers it asserts
    against, and a URI fragment and a Markdown link destination are blanked
    before the scan.
    
    And every reference the tree already held on those surfaces is replaced by
    the constraint it stood for, or dropped where the reference was the whole of
    its value.
    
    A README, a tracker, a history, and a plan keep their references, as do a
    commit message and a pull request body.
    ptr727 authored Sep 19, 2026
    Configuration menu
    Copy the full SHA
    9ff38fe View commit details
    Browse the repository at this point in the history
  2. Say This README Keeps Its References Rather Than That They Are Clean (#…

    …1697)
    
    `scripts/README.md`'s `issue-ref` paragraph ended "...keep their references, which is why this file's own are clean", which reads as a claim that the file carries no reference, and that is not true of it. The intended reading was that its references break no rule, which the clause before it already establishes by naming a README outside the Skills trees as narrative.
    
    Replaced by "this file among them", which states the membership the carve-out turns on and claims nothing about the file's contents. A narrative file may carry as many references as it needs, so a count is the wrong thing to assert about one either way.
    
    Raised on the develop to main promotion.
    ptr727 authored Sep 19, 2026
    Configuration menu
    Copy the full SHA
    a409f81 View commit details
    Browse the repository at this point in the history
  3. Promote the Reference Ban and Its Gate to Main (#1696)

    Promotes the reference ban from `develop` to `main`. The delta is one
    squash commit, `9ff38fe`, and `git diff --stat origin/main
    origin/develop` is 41 files, 759 insertions, 167 deletions.
    
    ## What it carries
    
    Issue and pull request references were pervasive in this repository's
    code, comments and docstrings, and the rule that already forbade them
    named the category without naming the instance. Three parts, and none of
    them works alone.
    
    **The rule.** `comment-and-doc-style` gains an "Issue, pull request, and
    commit references" section. No comment, no docstring and no instruction
    document names an issue, a pull request or a commit. A tracker, a
    history, a plan and a README outside the Skills trees keep their
    references, as do a commit message and a pull request body. Three
    reasons, in the order that decides them: a reference is a second lookup
    for a reader already holding the file, the lookup can be impossible
    where a repository is private, and a rationale block that takes one more
    citation per round is how a file comes to teach a house style the rules
    forbid. One record keeps a revision, a disproved-claims entry, whose
    subject is the revision itself. `GOVERNANCE.md` "Documentation Style
    Conventions" gains a `### References` stub pointing at it.
    
    **The gate.** A new default `issue-ref` prose rule reads the
    pattern-detectable half: a reference in a comment whose marker opens its
    line, in a Python docstring, and in instruction text. Not read, each for
    a stated reason: a commit, because a short SHA is the shape of a blob
    id, a version fragment and a fixture hash; a string literal, because a
    test builds the numbers it asserts against; a trailing line comment,
    because which mid-line marker opens a comment differs by language; a
    Markdown comment outside instruction text, because a README is
    narrative. A URI and a Markdown link destination are blanked before the
    scan.
    
    **The scrub.** Every reference the tree held on those surfaces, replaced
    by the constraint it stood for or dropped where the reference was the
    whole of its value. The tree reads zero under every default rule.
    
    ## Review record
    
    The feature pull request ran three Copilot rounds and ten local
    adversarial passes. Round 2 stated `reviewed=41 changed=41 findings=0`,
    round 3 approved the final head, and all five threads were answered and
    resolved. Ten local passes found 13, 22, 7, 5, 6, 9, 7, 0 and 0.
    
    Six items remain open and are recorded on #1694. Each is a claim *about*
    the gate rather than its behavior, and all six are hub-only: two clauses
    of `issue_ref_findings`' docstring, two sentences in
    `scripts/README.md`, and two test docstrings. The one open item in
    content other repositories carry was deleted before the merge.
    
    ## Why it carries the `comments` label
    
    The scrub edits comment lines and `git diff --unified=0` counts a
    modified line as an added one, so `comment-added` reports them. The
    fleet's own caller also stands that rule down for a promotion of
    `develop` into the default branch, whose diff was reviewed where it
    landed.
    
    Fixes #1689
    ptr727 authored Sep 19, 2026
    Configuration menu
    Copy the full SHA
    e806ace View commit details
    Browse the repository at this point in the history
Loading