Conversation
[how] replace surviving and moved doors with stable titles, route deleted code-hygiene references to the development manual, and regenerate OpenAPI artifacts
[how] remove the extra indentation introduced while replacing a root charter reference
[how] replace the two nonexistent PR-validation labels with the current section title
Owner
Author
|
Cross-PR integration note from the independent review of PR #455: this PR deletes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n- Replace 69 references whose root content still exists but lost numbered doors with stable root titles.\n- Correct 5 references whose old doors now point at different content.\n- Route 5 deleted root §9 code-hygiene pointers to the five-point checklist added to the OffiCraft · 開發 manual.\n- Update spec/openapi.json and regenerate server/ocserverd/ocapi_gen.go plus frontend/src/api/generated/schema.ts.\n\n## Verification\n- git diff --check and JSON parse pass.\n- make drift-ocapi and make drift-schema-ts pass.\n- Independent pre-edit denominator: 79 root references = 69 surviving-content + 5 moved-door + 5 deleted-checklist. Positive control passes; current root old-door and deleted-checklist scans are zero.\n- Manual readback confirms five points, unchanged learnings, and caps respected.\n\nNo server/browser, merge, release, or deployment performed. Task: T-42af.
Review follow-up
The specified review snapshot was 7f6297d (base 7f95494). The current PR head is 1dcd590.
Blocker 1: nonexistent stable title
Fixed in 1dcd590:
Both now point to the exact current root heading root CLAUDE.md「驗證、CI 與出貨」. A repository scan for 驗證、CI 與出貨/PR 與驗證紀律 returns zero.
Blocker 2: gofmt
The exact-snapshot failure was fixed in the already-pushed incremental commit 1a85552, which changes only the extra indentation in server/ocserverd/routes.go. gofmt -d server/ocserverd/routes.go is empty on the current head.
Blocker 3: reproducible denominator and inventory
There are two different units in the exact patch:
Reproduce the counts from the specified first commit:
Expected output:
Positive control (must hit the pre-edit root anchor):
It returns the pre-edit authz.go line 4. The post-edit root-old-marker scan returns zero, while local spec/mcp.md §5, nested cli/CLAUDE.md §5, and server/CLAUDE.md §8 anchors remain intentionally out of scope.
One entry below equals one root numeric occurrence. The 69 surviving-content inventory is:
The 5 moved-door occurrences are:
The 5 deleted-content occurrences are:
All five now point to the five-point code-hygiene list in OffiCraft · 開發 manual §7. Therefore the occurrence-level denominator is reproducibly 69 + 5 + 5 = 79; the earlier 80/79 statement was missing the distinction between raw marker occurrences and the excluded local anchor, and is now clarified here.
Reviewer correction on blocker 3
The reviewer reran the exact GitHub compare for 7f95494...7f6297d and confirmed: 40 changed files, 78 deleted lines containing §, 80 § occurrences, exactly two multi-marker lines, and 79 root occurrences after excluding only local spec/mcp.md §5. Blocker 3 is withdrawn; 79 and the 69 + 5 + 5 classification are correct. The reproducibility command, positive control, and complete inventory above remain as the evidence.
Current exact-head cloud run 32380835762 is completed success for 1dcd590. The two PR-only jobs auto-beta and notify-main-red are skipped by trigger policy; all required PR checks pass.
Evidence command correction
The previous PR body command used the literal pattern spec/mcp.md §5, which does not match the actual Markdown link form spec/mcp.md §5. The body command is now corrected to:
This link-aware match returns local_spec_mcp_§5=1 and root_numeric_reference_occurrences=79, with the same 78 deleted-line and 80 total-occurrence counts. This is an evidence-only PR body correction; no source file or PR diff changed.