Propose script-variant anchor matching - #97
kiki830621 wants to merge 2 commits into
Conversation
Verify Report — PR #97Engine6-AI ensemble: 5 general-purpose Agents (Claude reviewers) + Codex (gpt-5.5 xhigh). All 5/5 findings present + non-empty on first attempt. No Process Gaps. AggregateNEEDS CHANGES (lighter) — Path B correctly chosen, dual-capability split clean, opt-in default-off well-locked. But 4 reviewer-converging blockers around contract gaps prevent archive. Verdict is materially better than #94/#95/#96 — this PR is closer to merge-ready. Scope coverage
Cross-repo che-word-mcp#90 — script-variant anchor matchingRequirements coverage (Requirements + Codex consensus):
Findings (merged + deduplicated)
Scope CheckSpec scope is proportional to the cross-repo API contract complexity. No scope creep within the proposal. Cross-repo arrangement (umbrella spec in macdoc) is per project convention (per regression reviewer's check of Security2 MEDIUM-BLOCKER security findings (#3 normalization form + #4 homoglyph). Both can be resolved with explicit Non-Goal + negative Scenario additions; no implementation rework needed. Process GapsNone — all 5/5 reviewers produced findings on first attempt. RecommendationNEEDS CHANGES but lighter than #94/#95/#96. The path-B decision is correct, the dual-capability split is clean, the opt-in safety mechanism is robust. The 4 BLOCKERs (#1-#4) are spec-text additions, not architectural rework. Required Spec revisions:
Recommended additionals (lift quality): Path A (revise) preferred. If you prefer Path B (merge as Phase 1 + follow-ups), the 4 BLOCKERs would each need a dedicated follow-up issue. |
|
Blocked pending lighter spec revision. 4 MEDIUM-BLOCKERs (#1 Direct Mode contradiction, #2 #86 dependency tracking, #3 Unicode normalization form, #4 homoglyph Non-Goal) + 15 other findings. Closer to merge-ready than #94-#96 — Path B decision is correct + opt-in default-off well-locked. Full revision list at #97 (comment). |
Closing — Superseded by ooxml-edit-isomorphism-foundation (#99)Per #99 ADR-009 + verify report (#97 (comment)), this cross-repo proposal's 4 MEDIUM-BLOCKERs (Direct Mode contradiction, #86 dependency tracking, Unicode normalization form pinning, homoglyph Non-Goal) intersect with the foundation's Edit-type contract. When the architectural foundation's Edit type lands in #105, the script-variant anchor matching becomes a property of WordEdit's text-locating semantics rather than a parallel match_options surface on che-word-mcp tools. The Codex work in this PR remains accessible ( |
Pins the Word↔Swift edit-isomorphism contract as the macdoc OOXML toolchain's core architectural contract via: - New capability spec 'ooxml-edit-algebra' (8 Requirements) - design.md with 9 ADRs (canonical-identity, Edit-as-first-class, two-layer algebra, module split, naming, Word UI ground truth, conformance suite, lens migration path deferred, downstream rerouting) - tasks.md with hybrid scope: Edit type elevation + property-based functor tests on 3-5 representative OOXMLEdit cases only; downstream migrations explicitly deferred to follow-up Spectra changes Cross-references active 'word-aligned-state-sync' change in design.md Relationship section. Coordinates downstream PRs #94/#95/#96/#97/#98 that 6-AI verify identified as blocked on spec ambiguity — they will be reframed as front-ends to this foundation per ADR-009. Refs #99
Summary
match_options.math_script_insensitivefor insertion text anchorsValidation
spectra validate script-variant-anchor-matchingRefs PsychQuant/che-word-mcp#90