Skip to content

style: oxfmt drift (restore the format gate to green) - #67

Merged
cryptolir merged 1 commit into
mainfrom
style/oxfmt-drift
Jun 16, 2026
Merged

cryptolir merged 1 commit into
mainfrom
style/oxfmt-drift

Conversation

@cryptolir

Copy link
Copy Markdown
Owner

What

Runs oxfmt --write on the 9 committed files that had drifted from the format gate, restoring check (format:check) and check-docs (format:docs:check) to green. These files were committed before they were ever run through oxfmt, so the gate was perpetually red on main and PRs had to merge via --admin.

6 source + 3 docs:

  • src/agents/system-prompt.ts, src/agents/tools/self-info-tool.ts, src/agents/tools/self-info-tool.e2e.test.ts, src/auto-reply/reply/get-reply-inline-actions.ts, src/gateway/server-channels.ts, src/gateway/server-methods/usage.report.test.ts
  • docs/experiments/plans/channel-error-hardening.md, docs/experiments/plans/life-per-user-memory.md, docs/experiments/plans/life-per-user-memory-architecture-review.md

Pure formatting — no logic change

Each diff was spot-checked: line collapse/wrap, an import sort in server-channels.ts (named imports — reorder is semantically safe), and markdown emphasis/table style. 42 insertions / 43 deletions total.

Verify

  • oxfmt --check (source) → All matched files use the correct format (5060 files).
  • format:docs:check → All matched files use the correct format (646 files).
  • vitest on the touched unit test (usage.report) → green.

After this, the format gate is blocking again and future PRs go green without --admin.

🤖 Generated with Claude Code

Run oxfmt --write on the 9 committed files that had drifted from the format
gate (6 source .ts, 3 docs .md), restoring check (format:check) and check-docs
(format:docs:check) to green.

Pure formatting only: line collapse/wrap, an import sort in server-channels.ts
(named imports — reorder is semantically safe), and markdown emphasis/table
style. No logic change: every diff was spot-checked and survives review as
whitespace/style; vitest on the touched unit test (usage.report) passes.

This makes the format gate blocking again so future PRs no longer need --admin
to merge past pre-existing red.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@cryptolir

Copy link
Copy Markdown
Owner Author

@codex review — pure formatting PR: oxfmt --write on the 9 files that had drifted from the gate, restoring check/check-docs to green. Please confirm no logic change (the only non-whitespace edits are line collapse/wrap, an import sort in server-channels.ts, and markdown style).

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7b9bd705e3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +46 to +47
agent-level env var): (a) proxy resolves group*id server-side from a signed per-session
token *(preferred)\_, (b) bridge injects session context on every tool call, or (c) per-run

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restore the group_id text in the memory plan

In this formatting-only pass, the documented proxy contract is corrupted: group_id became group*id, and the following (preferred) emphasis is left unbalanced as *(preferred)\_. For readers implementing the Graphiti scoping proxy from this plan, this changes the parameter name and can also break the rendered Markdown for the rest of the sentence, so please preserve the original group_id / _(preferred)_ text or wrap the identifier in backticks before formatting.

Useful? React with 👍 / 👎.

@cryptolir
cryptolir merged commit 968c95f into main Jun 16, 2026
15 of 20 checks passed
@cryptolir
cryptolir deleted the style/oxfmt-drift branch June 16, 2026 22:11
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