Skip to content

Let the Prose Gate's Charset Rules Admit a String Quoted Verbatim From an External Source #4058

Closed

Description

@ptr727

Problem

The prose gate's charset and charset-unknown rules read an inline code span as prose. A downstream repository that quotes a string an external system emits has no tier that admits it there. The comment-and-doc-style skill's "Character set" section admits Unicode a developer typed and the letters of a recorded name, and neither covers a third party's output quoted as evidence.

A constructed case reproduces it. A Markdown line reading The form ids look like `«r0»`. reports U+00AB and U+00BB as charset-unknown. A line reading The page printed `Issued by Example · Jan 2016`. reports U+00B7 as charset, since the tier-2 rule finds no adjacent number. The same strings inside a fenced block pass, because fence and code_block tokens are not read as prose.

Effect

A repository whose own rule is to keep a source's string byte-exact can satisfy the gate only by moving each quote into a fenced block. That breaks the sentence the quote sat in, or else it normalizes the evidence. A downstream standup has just done the fenced-block move for seven such strings so its pull request could pass.

Possible Directions

  • Treat an inline code span as quoted data for the charset rules, the way a fenced block already is.
  • Or add a tier, or a marker, for a string quoted verbatim from an external source.

Which of these fits the character-set rule's intent is the hub's call. The downstream workaround works until then.

Activity

  1. added
    gate
    on Nov 11, 2026
  2. ptr727 commented on Nov 11, 2026

    @ptr727
    OwnerAuthor

    Answered by the maintainer, 2026-11-11: the first direction. The charset rules treat an inline code span as quoted data, the way a fenced block already is. No new tier or marker is added.

  3. ptr727 commented on Nov 13, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown claim, round 1 (2026-11-13), away run, scope develop. Branch burndown/prose-charset-code-span, group: #4058, #3954. Tier: frontier (prose gate behavior and the carried comment-and-doc-style rules it enforces).

    Predicted files:

    • .github/actions/prose-gate/prose_lint.py
    • .github/actions/prose-gate/prose-gate.json
    • tests/test_prose_lint.py
    • scripts/README.md
    • GOVERNANCE.md ("Character Set" only)
    • .agents/skills/comment-and-doc-style/SKILL.md
    • .github/skills/comment-and-doc-style/SKILL.md
    • .claude-plugin/fleet-skills/skills/comment-and-doc-style/SKILL.md
    • .claude-plugin/fleet-skills/.source-digests/comment-and-doc-style
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

    gate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions