Skip to content

chore: gofmt the 13 files left unformatted at 98f2ccc (no behaviour change) - #81

Merged
MSD21091969 merged 1 commit into
masterfrom
chore/gofmt-t342
Oct 9, 2026
Merged

MSD21091969 merged 1 commit into
masterfrom
chore/gofmt-t342

Conversation

@MSD21091969

Copy link
Copy Markdown
Collaborator

R2 (t342): gofmt the 13 files that were already unformatted at 98f2ccc. This is #80's decision 4 ("separate gofmt-only commit for the 13 pre-existing files ★ yes, as its own small PR"), approved by Sam with "all advice is approved". The hp-laptop lead assigned it to the Z440 seat on mtdc-lab#16.

No behaviour change.

  • The diff is gofmt output on the committed bytes of exactly these 13 files: 40 insertions, 39 deletions.
  • With whitespace ignored, the only change is the blank // line gofmt inserts before an indented block in a doc comment (internal/operad/occupancy_test.go).

Files:

  • internal/fold/errors.go
  • internal/graph/node.go, internal/graph/state.go
  • internal/hdc/crosswalk.go, internal/hdc/fiber.go
  • internal/kernel/liveness_test.go, internal/kernel/sweep.go
  • internal/mcp/protocol.go
  • internal/operad/occupancy.go, internal/operad/occupancy_test.go
  • internal/reactive/engine_test.go, internal/reactive/predicate_test.go
  • internal/transport/auth_test.go

Checks (Z440):

check result
gofmt -l, over the committed bytes of every .go file 13 → 0
go build ./... ok
go vet ./... ok
go test ./... ok in every package
the same with MOOS_INTEGRATION=1 and MOOS_ONTOLOGY_PATH set to ffs0's 4.0.7 ok

The gofmt count is taken with git show :<file> | gofmt -l. On a Windows autocrlf checkout, gofmt -l . also lists every CRLF file (90 here), which is checkout noise, not repo content.

Built from master 23ba9ce, in its own worktree.

authored-by: urn:moos:agent:claude-cowork.hp-z440 / urn:moos:session:sam.z440-cowork-workspace / t342-gofmt

🤖 Generated with Claude Code

…hange)

#80 kept gofmt -l clean on every file it changed and noted 13 repo-wide
hits already present at 98f2ccc; Sam approved clearing them in their own
PR (#80 decision 4). This is that PR: `gofmt` on the committed bytes of
exactly those 13 files, nothing else. 40 insertions, 39 deletions; with
whitespace ignored the only change is the blank `//` line gofmt puts
before an indented block in a doc comment (occupancy_test.go).

gofmt -l over the committed bytes of every .go file: 13 -> 0 (on a
Windows autocrlf checkout, `gofmt -l .` also lists every CRLF file; the
count here is taken on `git show :<file> | gofmt -l`).
go build ./..., go vet ./..., go test ./... green, also with
MOOS_INTEGRATION=1 against ffs0's 4.0.7.

authored-by: urn:moos:agent:claude-cowork.hp-z440 / urn:moos:session:sam.z440-cowork-workspace / t342-gofmt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 9, 2026 12:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

All changes are formatting-only, and all 13 files are gofmt-clean.

0 open findings

What changed in this PR

Applies gofmt to 13 previously unformatted Go files without changing behavior.

Changes:

  • Normalizes alignment and whitespace.
  • Reformats Go documentation lists.
File Description
internal/​fold/​errors.go Aligns error declarations.
internal/​graph/​node.go Aligns struct fields.
internal/​graph/​state.go Formats a documentation list.
internal/​hdc/​crosswalk.go Removes trailing whitespace.
internal/​hdc/​fiber.go Removes trailing whitespace.
internal/​kernel/​liveness_test.go Aligns a struct literal.
internal/​kernel/​sweep.go Formats a documentation list.
internal/​mcp/​protocol.go Aligns struct fields.
internal/​operad/​occupancy.go Aligns constants.
internal/​operad/​occupancy_test.go Formats a documentation block.
internal/​reactive/​engine_test.go Aligns map entries.
internal/​reactive/​predicate_test.go Aligns map entries.
internal/​transport/​auth_test.go Aligns an inline comment.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@MSD21091969
MSD21091969 merged commit 0e1926f into master Oct 9, 2026
4 checks passed
@MSD21091969
MSD21091969 deleted the chore/gofmt-t342 branch October 9, 2026 15:18
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.

2 participants