Skip to content

Explicit document profiles shared with macdoc: inherit and official #223

Description

@kiki830621

Problem

CLI 與 Word MCP 共用 ~/.config/macdoc/config.json;新增文件設定群組、預設 profile 與逐次覆寫介面,不猜測文件是否官方。
— 使用者核准的 PsychQuant/macdoc#185 計畫

Word MCP 的 create_document/open_document/execute_script 缺少共用文件 profiles 入口。

Type

feature

Priority

P2

Expected

新建文件可採 config defaultProfile 或 explicit profile。既有文件/script replay 僅 explicit profile 才變更格式。inherit 不注入字型、保留既有 styles/theme;official 採已匯入的安全格式快照並套標楷體,缺失/損壞 fail-loud。重用 OOXML 層 API,禁止另一套獨立 XML profile 實作,保留 atomic publish/verify-before-publish 與 session 同步。

Actual

create_document 直接建立 WordDocument,open_document 讀取後初始化 session,尚無 profile 決策。

Impact

工具 schema、document/session handlers、script execution adapter、測試與 plugin 使用說明。

Tracking parent: PsychQuant/macdoc#185


Current Status

Phase: implemented
Last updated: 2026-09-10 by idd-update

Reviewer dashboard

Key Decisions

  • 父案補修完成同步:先前 blocker 已修並由父案驗證;本上游仍開啟,結案/發布不自動執行。
  • 下列 FAIL 與較早測試計數均為歷史紀錄,不代表目前仍有該阻擋。
  • 父案正式驗證通知:FAIL,重播關聯/格式保留待修正。
  • 先前獨立 review 與平台驗收為歷史範圍,不能取代本輪最終 snapshot 的結論。
  • macdoc#185 已完成 Mac 與 Windows Word 實際驗收;VM 已恢復暫停。
  • 新建採 explicit > config > inherit;既有與 replay 僅 explicit 改格式。
  • 失敗 open 回復自己建立的 session;theme 工具讀寫與保存一致。
  • 獨立限定範圍複審通過,沒有未處理的 Critical/Important。
  • 完整測試 379 項,12 skips,0 failures。

Scope Changes

  • (none)

Blocking

  • 無父案已知實作 blocker;本上游結案/依賴發布仍待其獨立流程與授權。

Commits

  • 9501f61、cae5655、92e66860:replay 關聯回歸與最終證據文件。
  • 2fd544a..7c261fa1493bf8ee5331a67ed7884b5563cae0a0。
  • 分支 codex/macdoc-185-profile;未推送、合併或關閉 issue。

Dependencies

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions