Propose macdoc docx workflow CLI - #94
kiki830621 wants to merge 1 commit into
Conversation
Verify Report — PR #94Engine6-AI ensemble: 5 general-purpose Agents (Claude reviewers) + Codex (gpt-5.5 xhigh). Initial spawn rate-limited; full Recovery Protocol Step 2.5b retry with FULL context re-paste succeeded — all 5/5 findings present + non-empty. No Process Gaps. AggregateNEEDS WORK — 0 P0 blockers (no production code regression), but multiple SPEC GAPS that conflict with the merge intent of locking #92's design direction. Recommend either:
Scope coverage
#92 — feat: dxedit declarative docx edit CLI + libraryRequirements coverage (per Codex + Requirements + Logic agreement):
Findings (merged + deduplicated across 6 sources)
Scope CheckNo scope creep — diff is pure spec proposal under one directory. Re-scoping from standalone dxedit → integrated SecurityThis is a spec-level security review (not code). The proposal does not contain an adversarial-input handling section. 9 gaps documented. Severity HIGH (#4 above) because Phase 1 implementation could ship without trust-boundary enforcement if the spec doesn't require it. Process GapsInitial spawn rate-limited (transient API throttle). Recovery Protocol Step 2.5b (retry with FULL context re-paste) successful — 5/5 reviewer findings produced. No coordinator self-review fallback needed. RecommendationDo NOT merge as-is if the goal is "lock the spec for #92". This proposal addresses ~50% of issue #92's surface and would force significant Phase 2+ Spectra changes. Two paths: Path A (proper IDD): Block merge. Send Codex back with a revision request covering:
Path B (pragmatic): Merge as Phase 1 minimum (with explicit acknowledgement that it's not the full #92). File 4 follow-up issues / Spectra changes:
Path B sacrifices spec discipline (locks half-spec) for momentum. Path A is the correct IDD discipline but blocks the PR. |
|
Blocked pending spec revision (6 HIGH gaps). Full verify report: #94 (comment) Required revisions before merge:
Additional medium-priority items (resolve in same revision if low cost):
The current revision sign-off chain is single-author (Codex same-day Current Status edit); requesting third-party review before merging this back to lock the design direction for #92. |
Closing — Superseded by ooxml-edit-isomorphism-foundation (#99 merged in PR #106)Per #99 ADR-009, this proposal is reframed as a Layer 3 (DSL frontend) front-end of the architectural foundation. The current spec has known gaps (see verify report findings) that the foundation's locked contract addresses naturally. The re-framing work is tracked at #102 — Codex (or other authors) can open a new PR citing Issue #92 (original umbrella) was closed as absorbed into #99 architecture; #102 is the operational follow-up. |
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
…-§10) Shipped (apply phase, 11/35 tasks): - §8.1 Cross-reference to ooxml-edit-isomorphism-foundation in word-aligned-state-sync/design.md Relationship section - §8.2 Follow-up issue #101 (word-builder-swift lens migration) - §8.3 Follow-up issue PsychQuant/che-word-mcp#162 (MCP boundary refactor) - §8.4 Follow-up issue #102 (PR #94 dxedit re-frame) - §8.5 Follow-up issue #103 (PR #96 R-wordbuilder re-frame) - §8.6 Follow-up issue #104 (PR #95 pptx-mcp re-frame) - §9.1 .github/PULL_REQUEST_TEMPLATE.md with CD-diagram requirement - §9.2 EditAlgebra/README.md documenting CD discipline + worked examples - §10.1 spectra validate green - §10.3 docs/structural-editing-paradigm.md cross-reference - §10.4 docs/lossless-conversion.md cross-reference Deferred to Phase 2 Spectra change (§1-§7 + §10.2 Swift implementation, 23/35 tasks): Edit protocol code, OOXMLEdit/WordEdit enums, Document.apply API, property-based functor tests. Deferral rationale documented in tasks.md ASSUMPTION block; new follow-up Spectra change 'ooxml-edit-algebra-implementation' opens after this foundation archives. Decision-pinning (this change) + runtime implementation (Phase 2) serve different review modes and benefit from being separate changes. Refs #99
Summary
macdoc-docx-workflow-clifor issue feat: dxedit — declarative docx edit CLI + library (manifest-driven, ooxml-swift direct, peer to che-word-mcp MCP front-end) #92macdoc docxcommands instead of a Phase 1 standalonedxeditbinaryValidation
spectra analyze macdoc-docx-workflow-cli --jsonspectra validate macdoc-docx-workflow-cligit diff --check -- openspec/changes/macdoc-docx-workflow-cliRefs #92