Propose R wordbuilder MVP - #96
kiki830621 wants to merge 1 commit into
Conversation
Verify Report — PR #96Engine6-AI ensemble: 5 general-purpose Agents (Claude reviewers) + Codex (gpt-5.5 xhigh). All 5/5 reviewer findings present + non-empty on first attempt (no Recovery Protocol invoked this round). Codex completed. AggregateNEEDS WORK — Spectra structure is valid ( Scope coverage
#88 — R package that emits WordBuilderSwift scriptsRequirements coverage (Codex + Requirements + Logic + Regression consensus):
Findings (merged + deduplicated across 6 sources)
Scope CheckSpec proposal is in-scope for #88 MVP framing, but silent re-scopes on list-of-character + model summary (HIGH #3, #4) plus omission of audience-reach analysis (HIGH #10) constitute Issue-intent drift not explicitly acknowledged. SecurityPer CRITICAL findings #1 + #2 + HIGH #7-9, #14, #15: this proposal specifies an arbitrary-code-execution surface (R-controlled string → Swift code → Process GapsNone — all 5/5 reviewer findings produced on first attempt. RecommendationDo NOT merge. Severity now elevates above PR #94/#95: 2 CRITICAL (code injection + portability collapse) + 10 HIGH. Path A only. Required Spec revisions before merge:
This is a larger revision request than #94 or #95 because the proposal claims a security-sensitive boundary it doesn't define. |
|
Blocked pending spec revision per verify report. 2 CRITICAL: (1) R→Swift code injection model entirely absent from spec — R user-controlled strings flow straight to Swift source without normative escaping requirement; (2) retained .swift contains absolute paths, breaking the 'committable artifact' product differentiator. Full revision list at #96 (comment) (17 items). |
Closing — Superseded by ooxml-edit-isomorphism-foundation (#99 merged in PR #106)Per #99 ADR-009, this proposal is reframed as a Layer 4 (caller) 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 #103 — Codex (or other authors) can open a new PR citing Issue #88 (original umbrella) was closed as absorbed into #99 architecture; #103 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
r-word-builder-mvpfor issue feat: R package that emits WordBuilderSwift scripts from R analysis results #88wordbuilderValidation
spectra analyze r-word-builder-mvp --jsonspectra validate r-word-builder-mvpgit diff --check -- openspec/changes/r-word-builder-mvpRefs #88