Skip to content

chore: clear inherited oxfmt debt (14 files) + exempt sealed-referee tree from format:check - #63

Merged
supmo668 merged 4 commits into
mainfrom
mangyinm/chore-oxfmt-inherited-main-debt
Jul 13, 2026
Merged

supmo668 merged 4 commits into
mainfrom
mangyinm/chore-oxfmt-inherited-main-debt

Conversation

@supmo668

Copy link
Copy Markdown

Mechanical oxfmt --write on 14 pre-existing drifted files (zero logic) + sealed-tree exemption in .oxfmtrc ignorePatterns per CTO ruling: sealed artifacts are integrity-hash-locked — their canonical form is the sealed form; formatter bumps must never demand churn on a tree the implementer is barred from touching. Unblocks PR #62 (irc PHI security fix). format:check verified clean repo-wide (4947 files, exit 0).

🤖 Generated with Claude Code

supmo668 and others added 2 commits July 13, 2026 13:50
…sealed files) — unblocks PR #62 CI check

PR #62 (irc PHI fix) failed the repo-wide oxfmt --check on 16 pre-existing files it does NOT touch — inherited main format debt (oxfmt 0.33.0 version drift). Per CTO openclaw#3585: standalone mechanical oxfmt-only branch off main (7233d52), landed first as a chore so #62 greens clean. Purely mechanical (oxfmt --write, nothing hand-edited): import re-sorting (server-http/server-startup), markdown table alignment (SYN-206 contract + 7 qgr receipts), whitespace (5 test files). Zero logic change. SCOPE NOTE: 14 of the 16 drifted files. The other 2 live under the sealed-referee test tree, which the implementer agent is hook-blocked from touching (correct sealed-TDD discipline) — flagged to CTO separately as a process gap (repo-wide format check vs implementer sealed-tree block).

Generated-With: Claude Code
Co-Authored-By: cto <[email protected]>
Co-Authored-By: Claude <[email protected]>
…seal integrity outranks format conformity)

CTO ruling (option B, openclaw#3589): exempt the sealed test tree from oxfmt --check — doctrine. Sealed-referee artifacts are integrity-hash-locked; the sealed form IS the canonical form. A formatter version bump (oxfmt 0.33.0 drift) must never be able to demand churn on a tree the implementer agent is (correctly) hook-barred from touching. This is the only fix that prevents recurrence on every future oxfmt bump. Added the sealed glob to .oxfmtrc.jsonc ignorePatterns with an inline WHY comment. format:check now clean across the repo (4947 files; the 6 sealed artifacts excluded). Completes the #62 CI-check unblock: 14-file mechanical reformat (d1e6aa5) + this exclusion.

Generated-With: Claude Code
Co-Authored-By: cto <[email protected]>
Co-Authored-By: Claude <[email protected]>
@coderabbitai

coderabbitai Bot commented Jul 13, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@supmo668, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 20 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: cc544e85-2907-4826-83ba-979a75b26f3e

📥 Commits

Reviewing files that changed from the base of the PR and between 7233d52 and e1e6fd2.

📒 Files selected for processing (18)
  • .oxfmtrc.jsonc
  • .oxlintrc.json
  • docs/concepts/identity-scoped-memory.md
  • extensions/syntropy/docs/SYN-206-formatProfileBlock.contract.md
  • scripts/run-sealed-referee.mjs
  • src/agents/models-config.providers.openrouter.test.ts
  • src/config/deployed-config.test.ts
  • src/gateway/cors.test.ts
  • src/gateway/openresponses-http.e2e.test.ts
  • src/gateway/server-http.ts
  • src/gateway/server-startup.ts
  • workstreams/openclaw/qgr/SyntropyHealth-Applications-mo-openclaw-openclaw-SyntropyHealth-Applications-qgr-pr-prep-20260627-0001-a698e09.md
  • workstreams/openclaw/qgr/SyntropyHealth-Applications-mo-referee-openclaw-openclaw-qgr-pr-prep-20260705-1525-ae191f9.md
  • workstreams/openclaw/qgr/SyntropyHealth-Applications-mo-referee-openclaw-openclaw-qgr-pr-prep-20260706-1305-d1b3967.md
  • workstreams/openclaw/qgr/SyntropyHealth-Applications-mo-referee-openclaw-openclaw-qgr-pr-prep-20260707-1409-01a8e0f.md
  • workstreams/openclaw/qgr/SyntropyHealth-Applications-mo-referee-openclaw-openclaw-qgr-pr-prep-20260707-1435-7d71b0c.md
  • workstreams/openclaw/qgr/SyntropyHealth-Applications-mo-referee-openclaw-openclaw-qgr-pr-prep-20260707-2056-444cfc7.md
  • workstreams/openclaw/qgr/openclaw-mangyinm-openclaw-openclaw-SyntropyHealth-Applications-qgr-iteration-complete-20260627-1836-516a4f6.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mangyinm/chore-oxfmt-inherited-main-debt

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

⚠️ Formal models conformance drift detected

The formal models extracted constants (generated/*) do not match this openclaw PR.

This check is informational (not blocking merges yet).
See the formal-models-conformance-drift artifact for the diff.

If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there.

…tegrity doctrine) + fix 2 curly errors in the referee runner

CTO openclaw#3592: the type-aware oxlint pass surfaced 6 inherited tool-drift errors — 4 inside the sealed-referee tree (template-expression + spread lints) and 2 curly errors in scripts/run-sealed-referee.mjs (non-sealed runner).

Applied the SAME doctrine consistently: the sealed tree is exempt from LINT for the same reason it's exempt from format — seal integrity outranks style conformity; a linter version bump must never demand churn on a hash-locked tree the implementer agent is (correctly) barred from touching. Added the sealed glob to .oxlintrc.json ignorePatterns with an inline JSONC WHY comment (matching the .oxfmtrc exemption).

The referee runner script is NOT sealed → fixed its 2 curly errors properly (added braces to the single-line if/else-if at the RESULT pass/fail logging). VERIFIED: pnpm lint (oxlint --type-aware) now clean — 0 warnings, 0 errors across 3213 files, config parses. Completes the #63 chore (format exemption + lint exemption + curly fix).

Generated-With: Claude Code
Co-Authored-By: cto <[email protected]>
Co-Authored-By: Claude <[email protected]>
@github-actions

Copy link
Copy Markdown

⚠️ Formal models conformance drift detected

The formal models extracted constants (generated/*) do not match this openclaw PR.

This check is informational (not blocking merges yet).
See the formal-models-conformance-drift artifact for the diff.

If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there.

…scoped-memory.md (extension source refs → inline-code)

CTO openclaw#3594 round 3: check-docs surfaced 5 broken relative links (identity-scoped-memory.md lines 621-625) — pre-existing, only ran because the chore reformatted md. The 5 targets (persist-user-identity/IDENTITY_CONTRACT.md, auth-memory-gate/README.md + MEMORY_SCOPE_CONTRACT.md, memory-graphiti/README.md, persist-postgres/openclaw.plugin.json) all EXIST in the repo but live OUTSIDE the published docs tree, so docs-link-audit.mjs (which resolves against DOCS_DIR) correctly reports 'relative file not found' — a relative link from a published doc can never reach the source tree.

FIX: converted the 5 broken relative links to INLINE-CODE path references (the established convention — docs/tools/plugin.md:648 already refs extension source this way, e.g. ). Preserves the exact path (reader finds it in the repo), audit-clean (not a link), no external-URL/branch brittleness. Did NOT create stub files (per your instruction). oxfmt re-aligned the table. VERIFIED: pnpm check:docs fully clean — format:docs (639 files), markdownlint (0 errors, 324 files), docs-link-audit (broken_links=0, 2781 checked); repo-wide format:check still clean.

Generated-With: Claude Code
Co-Authored-By: cto <[email protected]>
Co-Authored-By: Claude <[email protected]>
@github-actions

Copy link
Copy Markdown

⚠️ Formal models conformance drift detected

The formal models extracted constants (generated/*) do not match this openclaw PR.

This check is informational (not blocking merges yet).
See the formal-models-conformance-drift artifact for the diff.

If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there.

@supmo668
supmo668 merged commit 02d2c34 into main Jul 13, 2026
20 of 23 checks passed
@supmo668
supmo668 deleted the mangyinm/chore-oxfmt-inherited-main-debt branch July 13, 2026 21:15
supmo668 added a commit that referenced this pull request Jul 14, 2026
…annel denylist, DRY profile markers, RequestSubject boundary comment (openclaw#3630) (#65)

3 code-quality items from the cross-repo architecture review (openclaw#3630), one branch, normal QG:

(1) DELETE KNOWN_THIRD_PARTY_CHANNELS (render-policy.ts): it was an exact reordered copy of registry CHAT_CHANNEL_ORDER, its own comment said it was inert (not enforcement — the deny-unknown FIRST_PARTY_PHI_CHANNELS allowlist is), and its test was tautological. Deleted the export + the tautological test + the SEC-IRC toContain assertion + the test import; verified 0 remaining consumers. The load-bearing registry-completeness test (isThirdPartyChannel===true for every CHAT_CHANNEL_ORDER channel) + the deny-unknown posture are untouched. Negative diff; the doc anchor is now derived from the registry (referenced in the FIRST_PARTY docstring).

(2) DRY the profile markers: profile.ts now EXPORTS OPEN/CLOSE ('[SYNTROPY_PROFILE]' / '[/SYNTROPY_PROFILE]') as the single source of truth; profile-context.test.ts (4 literal sites) + index-injection.test.ts (2 sites) now import + use the consts instead of re-hardcoding — prevents drift if the marker changes. Sealed suites left as-is (and hook-barred from me anyway).

(3) RequestSubject boundary comment (syntropy-mcp/src/index.ts): documented that ExchangeSubject (token-exchange.ts) is the VALIDATED discriminated-union form and toExchangeSubject is the ONLY bridge — never pass a loose RequestSubject to the exchange directly.

90 tests pass (render-policy 28 + deliver 36 + profile-context 24 + index-injection ...), tsgo clean, oxlint clean, oxfmt clean. Off fresh main c48edf0 (post #62/#63/#64).

Generated-With: Claude Code

Co-authored-by: cto <[email protected]>
Co-authored-by: Claude <[email protected]>
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