Skip to content

feat(mcpx): render docs history in mdBook - #5208

Merged
dezren39 merged 2 commits into
mainfrom
queue/7938-1865-docs-history-render
Nov 11, 2026
Merged

dezren39 merged 2 commits into
mainfrom
queue/7938-1865-docs-history-render

Conversation

@dezren39

@dezren39 dezren39 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Register docs-history as an mdBook preprocessor and package its stdlib-only Go binary into the offline docs derivation.
  • Traverse mdBook 0.5's items shape, retaining compatibility with older sections payloads.
  • Add round-trip coverage for the current protocol and a history disclosure.

Part of #1865.

Verification

  • go test ./tools/docs-history — pass.
  • nix build .#mcpx-docs --print-build-logs — pass; the output contains rendered Since: markers.

Content note: the current book source has no actual changed history entries (the only changed: text is a fenced runbook example), so the production HTML correctly has no <details> disclosure yet. The protocol test verifies the packaged renderer emits the disclosure when a section has history; no history was invented solely to populate the current site.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 3, 2026 23:42
@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

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 19 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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: af85bc29-8415-4cf9-9570-9f4819eb649c
Commits

Reviewing files that changed from the base of the PR and between 63ee781 and c6d43d1.

Files selected for processing: 4

  • pkgs/mcpx/book.toml
  • pkgs/mcpx/docs.nix
  • pkgs/mcpx/tools/docs-history/main.go
  • pkgs/mcpx/tools/docs-history/main_test.go
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T02:25:32.432500Z c6d43d1 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.

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

ℹ️ 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 pkgs/mcpx/book.toml Resolved
dezren39 pushed a commit that referenced this pull request Nov 10, 2026
@dezren39 dezren39 added queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition work/assigned Queue worker lifecycle state labels Nov 10, 2026
@dezren39

Copy link
Copy Markdown
Member Author

state: parked
task: 14763
lane: code-g
pr: 5208
outcome: ci_wait_after_refresh_by_lane_k

Task 14763 (pr_shepherd, PR #5208, batch #7297 part 4): on claim, the PR had just been refreshed by lane code-k (main merged in at 2026-11-10T23:37Z, Codex fix c36b56a pushed 23:40Z), so this lane did not duplicate that work. Verified fresh this shift:

  • PR feat(mcpx): render docs history in mdBook #5208 OPEN, no hard-stop labels, head c36b56a; diff vs merge-base is the original 4-file docs-history change (+62/-9).
  • Codex review on head c36b56a completed with no findings (the earlier Codex finding is the one lane k's head commit fixes).
  • Targeted test run by this lane on the exact head: go test ./tools/docs-history in pkgs/mcpx — ok (0.111s).
  • All PR checks are pending in the fleet CI stall.

Parking task 14763 as a CI wait on PR #5208: resume when checks complete, then merge (part of #1865, which stays open).

@dezren39

Copy link
Copy Markdown
Member Author

state: picked_up
task: 14763
lane: code-p
queue: repo-health-code-pilot

Lane code-p claimed shepherd task 14763 (direct). Fresh state: PR #5208 OPEN, no hard-stop labels, head c36b56a — the prior run of this task already dispositioned the Codex P2 (anchor rendering, fixed in c36b56a with a reply on the thread) and the latest Codex review on that commit completed clean. The PR is 160 behind main, ahead 4 (book.toml, docs.nix, tools/docs-history/main.go + main_test.go). Remaining: rebase onto current main, re-run the docs-history Go tests, push, and merge once the rebased head is verified — or park as a CI wait for the fresh Codex review.

@dezren39
dezren39 force-pushed the queue/7938-1865-docs-history-render branch from c36b56a to c6d43d1 Compare November 11, 2026 02:23
@dezren39

Copy link
Copy Markdown
Member Author

state: parked
task: 14763
lane: code-p
queue: repo-health-code-pilot

Rebased and re-verified this shift: PR #5208 head is now c6d43d1 (feat + Codex fix replayed cleanly onto current main bfa1385 from the prior worktree queue-14763-5208-docs-history / branch queue/14763-5208-refresh, force-with-lease push to the PR branch). go test ./tools/docs-history/ -count=1 passes (0.105s) on the rebased tree. PR is MERGEABLE; the only open gate is the fresh Codex review now running on c6d43d1 (the previous round on the identical tree completed clean, and its one P2 was fixed in this head's history).

Parked as a CI/review wait. Resume: confirm the Codex review on c6d43d1 completed with no unresolved findings, merge PR #5208, verify the four files on main, then complete task 14763 (issue #1865 stays open for its remaining release-stamping scope unless the merge closes it).

@dezren39

Copy link
Copy Markdown
Member Author

Agent note — shepherd resume verified, parked on CI (task 14763, lane code-v)

@dezren39

Copy link
Copy Markdown
Member Author

state: parked (CI wait; Codex dispositioned clean)
task 14763 (pr_shepherd) — PR #5208, batch issue #7297 — lane tmp-code-y, 2026-11-11

Resumed task 14763 at its recorded next step and re-verified fresh: PR #5208 OPEN on branch queue/7938-1865-docs-history-render, head c6d43d1, no hard-stop labels on the PR. Codex gate: Codex review summary on PR #5208 for commit c6d43d1 reports code review COMPLETED, has_any_findings=false, has_unresolved_findings=false — no findings to disposition (the earlier P2 thread was already resolved per the task progress). Check rollup at this read: 9 QUEUED, 2 SKIPPED, 1 NEUTRAL — the fleet CI queue stall, not a PR failure.

Terminal for this shift: task 14763 parked as a CI wait on PR #5208. Resume: when PR #5208 checks complete, merge PR #5208, verify on main, then complete task 14763.

@dezren39

Copy link
Copy Markdown
Member Author

agent-note:v1 — state: parked (CI wait) — lane any-b, task 14763 shepherding PR #5208 (batch #7297 part 4).

Fresh revalidation 2026-11-11: PR #5208 OPEN, head c6d43d1 (packet head fdf2498 superseded), no hard-stop labels; Codex review summary on this head reports has_any_findings: false, and the single Codex comment thread already carries a reply. Checks: 9 pending, 3 skipping, none failed. Parked on CI: merge when checks complete, verify on main, then complete task 14763.

@dezren39 dezren39 added queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition and removed status/parked Deliberately paused with a recorded resume condition queue/parked Queue task is parked (waiting on CI, time, or an event) status/in-progress Queue worker lifecycle state queue/claimed Queue worker lifecycle state labels Nov 11, 2026
@dezren39 dezren39 added status/in-progress Queue worker lifecycle state and removed queue/parked Queue task is parked (waiting on CI, time, or an event) labels Nov 11, 2026
@dezren39
dezren39 merged commit 2400608 into main Nov 11, 2026
3 of 12 checks passed
@dezren39
dezren39 deleted the queue/7938-1865-docs-history-render branch November 11, 2026 06:33
@dezren39

Copy link
Copy Markdown
Member Author

🤖 Agent note · shepherd outcome — MERGED (task 14763, lane code-a)

  • Agent: queue worker (repo-worker-code), lane code-a
  • PR feat(mcpx): render docs history in mdBook #5208 verified fresh 2026-11-11: OPEN, head c6d43d1, no held / user/owned / do-not-merge / do-not-auto-edit labels.
  • The sole Codex finding (P2, generated anchor swallowing the following heading) was fixed in c36b56a and dispositioned on its thread 2026-11-10; the current head carries that fix plus the mdBook items/sections compatibility fix.
  • Targeted tests on the laptop at the PR head: go test ./tools/docs-history/ — ok (2026-11-11T06:36Z). PR checks were QUEUED in the fleet Actions stall; per charter CI runs on main only, so the merge proceeded on local verification.
  • Merged: merge commit 2400608, verified as an ancestor of origin/main. (GitHub records mergedAt 2026-11-11T06:33:07Z; this lane's merge call returned success and the merged state was verified fresh immediately after.)

@dezren39 dezren39 removed status/in-progress Queue worker lifecycle state queue/claimed Queue worker lifecycle state work/assigned Queue worker lifecycle state labels Nov 11, 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