Skip to content

PROOF ONLY, never merge: claw-suggest on a misformatted spec (refs #10365) - #10374

Closed
gHashTag wants to merge 3 commits into
masterfrom
claw-suggest-proof-10365
Closed

gHashTag wants to merge 3 commits into
masterfrom
claw-suggest-proof-10365

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Throwaway draft for #10373: the main PR plus two tab-indented lines in specs/claw/suggest.t27, so the claw-suggest job has a suggestion to post. Close after the review appears.

Not for merge. Refs #10365.

🤖 Generated with Claude Code

… suggestion review on the pull request (Closes #10365)

specs/tri/fmt_source.t27 is the formatter behind `t27c fmt`, now lossless: a leading
tab becomes four spaces, trailing space/tab/CR are dropped, trailing blank lines are
dropped and the file ends with one newline; every other byte is copied through, and
fmt_accept refuses to print unless the non-whitespace byte stream is identical. The old
AST printer dropped every `;` comment and wrote `i += 1` as `i = 1`. run_fmt in
bootstrap/src/main.rs is now thin I/O glue around bootstrap/gen/rust/tri/fmt_source.rs
(t27c gen-rust output); the stale pretty-printer is deleted.

specs/claw/suggest_feed.t27 is the driver: head file + the @@ headers of the pull
request diff -> formatted text -> changed line ranges -> rows for suggest.t27 -> review
JSON (gen/c/claw/suggest_feed.c). The new claw-suggest job of gate-topology.yml mints
the TRI CLAW token with exactly the pr-suggestions row of github_surface.t27
(pull_requests write, contents read), reads head blobs with git show (no symlink is
followed) and posts the review as event COMMENT. That row moves PLANNED -> LIVE
(census 10/1 -> 9/2). spec-guards regenerates and diffs both generated files.

Census re-bless: gates shell jobs 89 -> 91, run: steps 316 -> 320, quiet "named a path
but not quiet" 204 -> 208 (the new job plus the census base catching up).

Shrink offset: spent scripts/gen_w{672,681,682,683,698,709,713,716,718,721,728,729,731,732}.py,
all ported under specs/port/scripts/ and called by nothing.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-18 10:05:52 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 50
PRs with All Checks Green 0
READY 0
FAILING 50
PENDING 0
NO CHECKS YET 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=fad12492937a != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

gHashTag and others added 2 commits October 18, 2026 17:09
… secret in gHashTag/t27

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…uggest has something to suggest

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@gHashTag
gHashTag force-pushed the claw-suggest-proof-10365 branch from 6341097 to 565cdad Compare October 18, 2026 10:10

@tri-claw tri-claw Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TRI CLAW formatting suggestions: 2 posted, 0 left out (outside this diff, over the caps, or unreadable). Whitespace only: every comment and token is kept.

Comment thread specs/claw/suggest.t27
pub const EVENT : str = "COMMENT";
/// The only side a suggestion anchors on.
pub const SIDE : str = "RIGHT";
pub const SIDE : str = "RIGHT";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pub const SIDE : str = "RIGHT";
pub const SIDE : str = "RIGHT";

Comment thread specs/claw/suggest.t27

/// Comments per review and lines per suggestion (law 4).
pub const MAX_COMMENTS : u32 = 20;
pub const MAX_COMMENTS : u32 = 20;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pub const MAX_COMMENTS : u32 = 20;
pub const MAX_COMMENTS : u32 = 20;

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-18 10:11:31 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 48
PRs with All Checks Green 2
READY 0
FAILING 48
PENDING 0
NO CHECKS YET 0

These columns do not partition: 0 + 48 + 0 + 0 = 48, and there are 50 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=fad12492937a != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag

Copy link
Copy Markdown
Owner Author

Proof done (suggestion review visible). Never merged.

@gHashTag gHashTag closed this Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant