Skip to content

docs(AGENTS.md): GitNexus is optional — replace the injected MUST-use block - #1812

Merged
100yenadmin merged 5 commits into
mainfrom
docs/gitnexus-optional-agents-md
Oct 6, 2026
Merged

100yenadmin merged 5 commits into
mainfrom
docs/gitnexus-optional-agents-md

Conversation

@100yenadmin

@100yenadmin 100yenadmin commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Pull Request

Summary

Replaces the GitNexus block that gitnexus analyze injected into AGENTS.md with a short note marking it optional. Machine policy changed on 2026-10-06, with the owner's approval: GitNexus is no longer "use first". A 12-task Opus 5.5 / Sol 6.1 bench showed no measurable gain from GitNexus-first guidance, and several of its tools gave wrong answers (upstream abhigyanpatwari/GitNexus#3486–#3492).

The removed block told agents they MUST run impact before editing any symbol and detect_changes before every commit. It also told them to run node .gitnexus/run.cjs analyze / npx gitnexus analyze when the index looked stale. That instruction contradicts the machine rule: the read-only launcher refuses analyze, and the nightly refresh owns the index.

Linked Issue

None. This is machine-policy alignment (codex-operating-kit#152 makes the same change in the global Codex policy).

Tracker / Milestone

  • Tracker or milestone: none
  • Required? no. This is a docs-only agent-guidance change.

Changes

  • AGENTS.md: the <!-- gitnexus:start -->…<!-- gitnexus:end --> block (43 lines) becomes a 5-line "GitNexus (optional)" note:
    • alias worldos;
    • default to rg/file reads; use the graph for caller/impact questions and verify against source;
    • never run analyze here.
  • AGENTS.md: the first heading drops "(read before the GitNexus block)".
  • docs/OPERATIONS.md, extensions/renderers/godot/HANDOFF.md and docs/KIMI-ONBOARDING.md are aligned with this change. These were the remaining "re-index per merge batch" and gitnexus analyze instructions, and a claim that AGENTS.md mandates impact/detect_changes (Codex review finding).

Licensing / CLA

  • I have read CLA.md and submit this contribution under the WorldOS Contributor License Agreement.
  • I have not included confidential information, private customer data, private imported content, or third-party-restricted material.
  • Any third-party material in this PR is clearly identified with source and license.

Review Thread State

  • Current-head unresolved review threads: 0 at open
  • P0-P2 blocker count: 0
  • P3/advisory count: 0
  • Top-level bot comments requiring action: pending
  • Check annotations requiring action: pending
  • Bot rerun status: n/a

Validation

  • No code, test or workflow references AGENTS.md content (git grep on origin/main).
  • Docs-only diff across 4 files. A branch-wide git grep for gitnexus analyze|re-index|npx gitnexus|run.cjs analyze|MUST run impact finds only the new prohibition lines.

Release / WorldOS Proof Tier

Docs only; no runtime change.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-06T03:50:35.395215Z eb4be06 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 14 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 0b155cc1-4417-43e0-9360-f9b561668d2c
📥 Commits

Reviewing files that changed from the base of the PR and between 673139e and 2c6a1c6.

📒 Files selected for processing (3)
  • docs/KIMI-ONBOARDING.md
  • docs/OPERATIONS.md
  • extensions/renderers/godot/HANDOFF.md

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 087d5249-3518-49dd-abfc-1fe6f599cbf1
📥 Commits

Reviewing files that changed from the base of the PR and between 466ae73 and 673139e.

📒 Files selected for processing (1)
  • AGENTS.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout. (17)
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (python)
  • GitHub Check: Analyze (actions)
  • GitHub Check: viewer-tests
  • GitHub Check: quality-gate
  • GitHub Check: server-contracts
  • GitHub Check: test
  • GitHub Check: paint-drift-gate
  • GitHub Check: license-check
  • GitHub Check: qa-release-gate-tests
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (python)
  • GitHub Check: Analyze (csharp)
  • GitHub Check: qa-release-gate-tests
  • GitHub Check: paint-drift-gate
  • GitHub Check: test
  • GitHub Check: viewer-tests
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: CR
Repo: electricsheephq/WorldOS

Timestamp: 2026-10-06T03:29:55.423Z
Learning: Source excerpt:
# WorldOS Agent Instructions

## GitNexus (optional)

GitNexus indexes this repo as `worldos` (pass `repo: "worldos"` to its MCP tools). It is optional (machine
policy since 2026-10-06): default to `rg`/file reads, use it for caller/impact questions, and verify its
results against source. Never run `gitnexus analyze` or `npx gitnexus` here; the machine's nightly refresh
owns the index (runbook `/Users/m1/Codex/runbooks/gitnexus.md`).
🪛 markdownlint-cli2 (0.23.2)
AGENTS.md

[warning] 1-1: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)

🔇 Additional comments (1)
AGENTS.md (1)

64-69: LGTM!


📝 Summary

Priority Level: P4/NIT
Confidence: 90%

Summary

AGENTS.md replaces the detailed GitNexus instructions with a short optional-use note. It says to default to rg and file reads, use GitNexus for caller or impact questions, verify results against source, and not run analyze. The first heading no longer refers to a GitNexus block.

Review findings

No current review findings were supplied, so P0–P3 severity counts are unavailable. I found no actionable issue in the supplied change summary and AGENTS.md content. No fix is required before merge based on the available evidence.

Validation

Test results and completion status were not supplied.

Walkthrough

AGENTS.md updates its title and GitNexus guidance. GitNexus use is optional, with rg and file reads recommended by default. The guidance prohibits running GitNexus analysis commands because a nightly refresh owns the index.

Changes

Agent workflow guidance

Layer / File(s) Summary
Update GitNexus usage guidance
AGENTS.md
The title no longer refers to a GitNexus block. The guidance makes GitNexus optional, recommends rg and file reads by default, limits its use to caller and impact questions with source verification, and prohibits running analysis commands.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 67313

This guidance-only change has no supported merge-blocking risk.

Architecture Summary

Architecture risk: 🔵 Low · up to 67313

The change affects 1 system.

Changed systems: AGENTS.md

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — AGENTS.md (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in AGENTS.md: The title drops the parenthetical directing readers to read it before the GitNexus block.
  • observed — Modified behavior in AGENTS.md: The GitNexus usage and impact-analysis requirements, including mandatory pre-edit and pre-commit checks and CLI/resource references, are removed. In their place, the section says GitNexus is optional, recommends rg and file reads by default, limits its use to caller/impact questions with source verification, and prohibits running gitnexus analyze or npx gitnexus because nightly refresh owns the index.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description gives clear context, changes, and validation, but it conflicts with the provided change summary: it says four files changed, while the summary and objectives describe only AGENTS.md. I… Verify the actual changed files, then align the Changes and Validation sections with the diff. Add the missing Release Notes / Changelog, Safety / Rollback, Evidence, and Notes For Next Agent sections, or state why each is not applicable. S…
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly identifies the main change: replacing the required GitNexus block with optional guidance. Confidence: 99%.
Full details: Description check

Explanation

The description gives clear context, changes, and validation, but it conflicts with the provided change summary: it says four files changed, while the summary and objectives describe only AGENTS.md. It also omits the template’s Release Notes / Changelog, Safety / Rollback, Evidence, and Notes For Next Agent sections. Confidence: 95%.

Resolution

Verify the actual changed files, then align the Changes and Validation sections with the diff. Add the missing Release Notes / Changelog, Safety / Rollback, Evidence, and Notes For Next Agent sections, or state why each is not applicable. Select the applicable Release / WorldOS Proof Tier checkbox.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


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.

@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: 673139e2cf

ℹ️ 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 thread AGENTS.md

@evaos-code-review-bot evaos-code-review-bot 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.

Walkthrough

PR: #1812 - docs(AGENTS.md): GitNexus is optional — replace the injected MUST-use block
Head: 673139e2cf1e1fc8dffac8f2d3bcf63a676fb21c into main. Review event: COMMENT.
Estimated review effort: 1/5 (~12 min)

Changed Files

File Status Churn Purpose Risk
AGENTS.md modified +6/-43 Documentation Low

Review Signal

No validated inline findings.
Dropped findings before posting: 0. High-severity findings: 0.

Maintainer Analysis

Changed behavior:

  • Repository guidance no longer mandates GitNexus analysis before edits or commits; it now defaults agents to source inspection and reserves GitNexus for optional caller/impact analysis.
  • The documented GitNexus repository identifier is now worldos, and manual indexing commands are prohibited in favor of the machine-managed nightly refresh.

Affected invariants:

  • The engine sole-writer, gameplay-proof, Unity, save-state, build, and release-readiness rules are unchanged.
  • GitNexus results must still be verified against current source.

Evidence:

  • AGENTS.md:1 removes the obsolete reference to a mandatory GitNexus block.
  • AGENTS.md:64-68 replaces the injected mandatory workflow with the optional, machine-policy-aligned guidance.

Limitations:

  • Review was limited to the supplied AGENTS.md diff; no commands or tests were run.
  • No runtime, Unity scene, prefab, package, save-state, or build files changed.

No-finding rationale: The patch is documentation-only and consistently implements its stated policy change. The replacement repository alias, source-verification requirement, indexing prohibition, and runbook reference align with the supplied governing instructions; no correctness, security, data-loss, CI, Unity, or release regression was validated.

Risk Taxonomy

No finding categories.

Validation and Proof

Documentation-only changed surface; runtime execution proof is not required by default.

  • recommended: Docs/readme review - All reviewed files are documentation paths. Proof: PR description notes the docs intent.
  • not_applicable: Unity editor or Play Mode smoke - WorldOS repo profile implies Unity runtime risk. Proof: Unity editor smoke; Play Mode log; scene/prefab screenshot or recording.
    Proof status: not_applicable - No required behavior proof selected for this changed surface.

Related Context

Related issues/PRs: #3486, #3492, #152.

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.

@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: eb4be06616

ℹ️ 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 thread docs/KIMI-ONBOARDING.md Outdated

@evaos-code-review-bot evaos-code-review-bot 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.

Walkthrough

PR: #1812 - docs(AGENTS.md): GitNexus is optional — replace the injected MUST-use block
Head: eb4be06616b5a7e5f85f57ebf09123a72135e4f4 into main. Review event: COMMENT.
Estimated review effort: 1/5 (~12 min)

Changed Files

File Status Churn Purpose Risk
AGENTS.md modified +6/-43 Documentation Low

Review Signal

No validated inline findings.
Dropped findings before posting: 0. High-severity findings: 0.

Maintainer Analysis

Changed behavior:

  • Repository guidance no longer mandates GitNexus impact analysis or change detection for every edit; GitNexus is now optional and reserved primarily for caller/impact questions.
  • Repository guidance now forbids manual GitNexus analysis commands and points to the machine-managed nightly refresh and runbook.
  • The introductory heading no longer references the removed GitNexus block.

Affected invariants:

  • No engine, Unity scene, prefab, package, project setting, save-state, gameplay, build, or runtime behavior is changed.
  • The guidance still requires GitNexus results to be verified against source.

Evidence:

  • AGENTS.md:1 changes only heading text.
  • AGENTS.md:64-68 replaces the mandatory generated GitNexus block with concise optional-use policy.
  • The provided diff modifies only AGENTS.md.

Limitations:

  • No project tests, builds, scripts, shell commands, external services, or GitNexus tools were run, as required.
  • This review cannot prove how external tooling may regenerate the removed marker-delimited block.

No-finding rationale: The change is documentation-only and consistently replaces obsolete mandatory GitNexus instructions with the stated optional machine policy. The provided diff shows no validated correctness, security, data-loss, CI, Unity, gameplay, or release regression.

Risk Taxonomy

No finding categories.

Validation and Proof

Documentation-only changed surface; runtime execution proof is not required by default.

  • recommended: Docs/readme review - All reviewed files are documentation paths. Proof: PR description notes the docs intent.
  • not_applicable: Unity editor or Play Mode smoke - WorldOS repo profile implies Unity runtime risk. Proof: Unity editor smoke; Play Mode log; scene/prefab screenshot or recording.
    Proof status: not_applicable - No required behavior proof selected for this changed surface.

Related Context

Related issues/PRs: #3486, #3492, #152.

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.

@evaos-code-review-bot evaos-code-review-bot 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.

Walkthrough

PR: #1812 - docs(AGENTS.md): GitNexus is optional — replace the injected MUST-use block
Head: 2c6a1c60f7a17293261ac9b6e7b96d7b89e3328c into main. Review event: COMMENT.
Estimated review effort: 1/5 (~12 min)

Changed Files

File Status Churn Purpose Risk
AGENTS.md modified +6/-43 Documentation Low

Review Signal

No validated inline findings.
Dropped findings before posting: 0. High-severity findings: 0.

Maintainer Analysis

Changed behavior:

  • AGENTS.md now treats GitNexus as optional, defaults agents to source inspection, and prohibits local GitNexus analysis commands in favor of the machine-managed nightly index.
  • The repository overview heading no longer refers to an adjacent injected GitNexus block.

Affected invariants:

  • The engine sole-writer, geometry, agent-playthrough, rendered-frame, bootstrap-order, Unity, and release-readiness instructions are unchanged.
  • GitNexus results must still be verified against current source.

Evidence:

  • AGENTS.md:1 removes only the obsolete GitNexus-block qualifier from the heading.
  • AGENTS.md:64-68 replaces mandatory GitNexus usage and local indexing instructions with the current optional-use policy and canonical worldos alias.

Limitations:

  • Review was limited to the supplied AGENTS.md diff; no commands, tests, builds, CI status, or external runbook contents were inspected.
  • The operational availability of the referenced nightly index and /Users/m1/Codex/runbooks/gitnexus.md was not proven from this diff.

No-finding rationale: The change is documentation-only and consistently implements the stated policy shift. No current runtime, Unity, persistence, security, CI, or release behavior is modified, and the diff does not establish a concrete regression requiring a finding.

Risk Taxonomy

No finding categories.

Validation and Proof

Documentation-only changed surface; runtime execution proof is not required by default.

  • recommended: Docs/readme review - All reviewed files are documentation paths. Proof: PR description notes the docs intent.
  • not_applicable: Unity editor or Play Mode smoke - WorldOS repo profile implies Unity runtime risk. Proof: Unity editor smoke; Play Mode log; scene/prefab screenshot or recording.
    Proof status: not_applicable - No required behavior proof selected for this changed surface.

Related Context

Related issues/PRs: #3486, #3492, #152.

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.

@100yenadmin
100yenadmin merged commit c748202 into main Oct 6, 2026
24 of 30 checks passed
@100yenadmin
100yenadmin deleted the docs/gitnexus-optional-agents-md branch October 6, 2026 05:14
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