文件一致性契約(Documentation Consistency Contract)
Runtime Context 的 Agent canonical 文件為 orchestration/RUNTIME_CONTEXT.md;Runtime Context、矩陣及 Scenario 198 改動時,需同步架構、Technology Guide、Conformance 與 Integration Gate 說明。
Human Docs 與 Agent canonical protocols 分工,但 behavior-bearing change 必須同步更新適用文件。
Retrieval relation extraction is an internal module behind the existing retrieval_intelligence.py facade. Changes preserve the public import and candidate evidence semantics, with the non-compiler-resolved boundary documented in Project Intelligence guidance.
Evolution deterministic pre-analysis follows the same facade rule: evolution_analysis.py remains the CLI/import entry point while evolution_preanalysis.py owns its implementation; behavior and authority documentation stay in the Evolution topics.
文件角色
The shared OpenCode integration lifecycle contains independent Skill Explorer and creative-import cases; document each contract in its own canonical topic.
Upstream native Skill lifecycle behavior is documented in User Guide and Harness; ownership-safe removal and source validation evidence belong in Technology Guide, Maintenance, and Scenario 259. Keep command behavior aligned across these canonical sections.
Harness registration remains an explicit user action after AIPS CLI installation. Keep the OFF/ACTIVE/UNKNOWN classification, refresh eligibility, and uninstall preservation of unknown local data aligned across Installation, Harness, User Guide, Technology Guide, and lifecycle evidence.
docs/human/*.md
→ Human current behavior / how-to / explanation
CHANGELOG.md
→ release history
docs/human/CONFORMANCE.md
→ verification / Scenario history
SYSTEM.md / orchestration / roles / skills
→ Agent canonical protocolCurrent-behavior placement contract
The Claude diagnostics update is a publication and security contract; it does not change creative behavior or provenance documentation.
Runtime Policy diagnostics must stay synchronized across Resource Authorization, Claude adapter guidance, Security Assurance and Scenario 177; keep direct Change Impact scope distinct from global coverage.
For Qwen Image Edit Plus reference mapping, keep the user and technology guides, Scenario 236, Creative Direction, and the candidate Core Change matrix aligned; preserve the Qwen Image 2.1 object-map contract and local execution boundary.
OpenCode Harness/adapter 超限行為同步於 Harness guide、OpenCode Compatibility、Turn-Aware Global Harness、Agent adapter instructions 與 Scenario 235。超限仍 fail closed;只公開安全 byte counts/固定 section 名稱與 read-only recovery,不新增權限或 Host enforcement claim。
Publication CLI 的 prepare/diagnose JSON 錯誤行為以 User Guide 為操作說明、Scenario 261 為回歸證據;診斷不得被解讀為授權。
Claude Code 發布寫法以 Claude Code adapter 為代理說明、Scenario 261 為回歸證據;拒絕訊息中的寫法範本不構成授權。
The character-artwork trigger remains scoped to creative behavior. Publication evidence changes are documented in publication and security topics and do not change artwork or provenance guidance.
Project lifecycle guidance records that new AIPS state is external and attach/detach never write project files or Git metadata; Scenario 044 covers no-write behavior and legacy-data preservation.
OpenCode READY+STALE advisory behavior is documented with Project Intelligence and Harness current behavior; Scenario 267 and its lifecycle evidence are the executable contract.
AVIF content-safety behavior is synchronized across User Guide, Security Assurance, Runtime Content Safety protocol and Scenario 265; no AV1 decode or visual-quality claim is implied.
跨 runtime 的 publication guard 變更須同步共享診斷契約、受影響的 native adapter 版本限制,以及 Scenario 261 的相容性證據。 Creative Git asset import is mapped to the User Guide Creative Direction section, Technology Guide Execution, Architecture Overview Creative Workflow, Agent Creative Direction protocol, and Scenario 264.
Plan41 synchronizes the shared commit scanner, strict marker behavior, supported media metadata parsing, redacted denial fields, read-only CLI and fail-closed errors across the Content Safety topic, Hook/CLI guidance, Scenario 263 and both Conformance views. Plan42 adds bounded TTF/OTF/WOFF/WOFF2 metadata parsing, fontTools/Brotli dependency installation, pre-read staged blob sizing and publication/history parity to the same placements. Human Authority, Required Checks and Git Publish Approval remain unchanged. Plan47 adds versioned injection rules and scans added lines for injection while preserving full staged-blob secret/PII scanning; exact expiring exceptions, safe recovery and regression evidence are synchronized through Scenario 266 and both Conformance views.
WebM candidate scanning is a bounded EBML metadata pass shared by worktree, final-tree and commit-history scans. Keep the 32 MiB default, supported text-field coverage, fail-closed malformed/unsupported handling, payload exclusion and redacted findings consistent across Security Assurance, Technology Guide, Architecture, the Content Safety protocol and Scenario 263. The scan does not decode video or alter creative review or publication authority.
Plan40 keeps reason-code mapping, candidate/runtime binding, diagnostic trace privacy, and separate planning/authorization/Host/execution states aligned across the User Guide, Maintenance, Claude and OpenCode adapter guidance, and Scenario 261. Diagnostic lookup reads only an explicitly configured, hash-chain-verified allowlisted event; it creates no ledger and grants no authority.
Scenario 177 keeps Resource Authorization Profile source details, no-fallback recovery, redacted destination constraint differences, and the distinction between Claude pre-tool denial and observed native failure aligned across the Runtime Policy protocol, adapter guidance, Human security/runtime docs, and lifecycle tests.
Resource Authorization/Profile and local ComfyUI diagnostics use the existing Runtime Resource and Creative topics. Their canonical source mapping, four bounded asset presets, Scenario 262 and static-only MPS evidence are synchronized through the plan39 placement rule. Opt-in model-agnostic workflows add bounded local schema/graph validation and explicit input bindings under Scenario 268; custom/API nodes and implicit resource choices remain denied, and synthetic evidence does not claim inference. The fixed FLUX 3 Klein TextGenerate live-schema and final-payload compatibility checks remain in the same Creative topic and Scenario 236; they do not claim MPS inference.
Required Checks policy, skipped provider outcomes and Claude's one-shot Doctor behavior are synchronized with Scenario 260/261.
Publication troubleshooting belongs in the canonical User Guide and Security Assurance topics, with adapter contracts in Harness and scenario evidence in Conformance.
Publication recovery documentation must be updated within existing canonical H2 topics and retain the required Human/Harness/Orchestrator synchronization; ad-hoc topic append is not a substitute for the placement policy.
Publication diagnostics and Doctor are one shared behavior across Human guidance and Claude Code, Codex and OpenCode adapters. Keep Required Checks state names, GitHub provider outcomes, redaction, read-only behavior, Claude's single retryable Doctor observation, and the no-policy-mutation/no-merge-authority boundary aligned with Scenario 260.
Plan44 also synchronizes stable unsupported-command detail_code values and Claude's distinct PostToolUseFailure native-execution observation across User Guide, Security Assurance, Maintenance, Claude adapter guidance and Scenario 261. Keep raw Host errors private and preserve the PreToolUse NOT_EXECUTED state.
Documentation rules match concrete behavior-bearing paths and map them to their owning topics. Shared registries such as tests/scenario_coverage.yaml do not by themselves imply that unrelated product domains changed; use scenario-specific rules when one scenario owns the behavior. CLI facade files follow the command group they route, not every feature that happens to use the same facade.
Native Agent Skill projection changes map scripts/native_skill_projection.py, its CLI consumers and ownership tests to Installation / User Guide setup, Harness host behavior, Technology Guide implementation boundaries, and Scenario 233/235 evidence. Documentation must separate generated-file lifecycle guarantees from live Host discovery and invocation acceptance.
Upstream Skill eligibility follows canonical ID collision: every non-canonical upstream ID is installable by user choice regardless of disposition, while exact canonical matches use AIPS. Keep this behavior, Codex/Claude explicit-invocation metadata and Gemini activation consent aligned across the Explorer, CLI, lifecycle evidence and Human instructions.
Publication prepare/diagnose observations remain read-only and worktree-bound; follow the canonical Git publication procedure in USER_GUIDE.md and preserve native authority, candidate validation and host permissions.
Changes to the publication scanner also update the recursive documentation closure for architecture, installation, Project Intelligence, security, technology, conformance, Harness and Runtime Content Safety. Scenario 261 remains the canonical failure and recovery evidence.
The creative workspace import CLI workflow is maintained in USER_GUIDE.md and orchestration/CREATIVE_DIRECTION.md.
Creative quality benchmark v2 uses a prompt-free registered matrix and keeps profile-case coverage, model/check/compiler failures, Human review, user acceptance and runtime attestation distinct. The benchmark lifecycle is schema/path evidence only; it does not establish generated-image quality.
Keep Scenario 235, OpenCode compatibility, Harness, Installation, and Technology Guide aligned on exact-host evidence and the unsupported Shell/MCP/out-of-process boundary. A legacy report missing unsupported_effects remains UNVERIFIED; it cannot be upgraded from static installation evidence.
創作修正同步範圍包含 native admission、quality-check/feedback/repair/compare/quality-loop、機器與人工狀態、版本化來源及有限預算。CLI、OpenCode catalog、Scenario 238 與 Human 指南依同一契約更新。
Skill routing changes update the canonical Skill sources and skills/INDEX.yaml, then synchronize task guidance, scenario coverage, the Human conformance view, and applicable architecture and maintenance sections. Manual scenarios remain explicitly distinct from executable evidence.
Skill inventory and routing changes also regenerate docs/human/public/skill-catalog.html with python scripts/skill_catalog.py; update Explorer links, CLI/Harness/Technology/Architecture guidance, Scenario 259, and both placement and sync registries. The catalog is generated output and must not be edited directly. Upstream disposition records pin the reviewed commit, retain vendored source paths and entrypoint hashes, and classify every source as integrated, auto-routed, or experimental/optional when it overlaps an existing AIPS capability.
Skill catalog CLI and Portable Command changes keep cross-Agent install, MCP Resource loading, and uninstall instructions aligned in Harness, Installation, Architecture, Documentation Map, and Scenarios 233/259. Removal may delete only recorded, digest-matching AIPS-owned projections; native Skills that predate AIPS, lack ownership records, or differ from the recorded digest must remain and surface as conflicts.
Creative authorization remains independent from Git publication grants and native merge confirmation; preserve that boundary in the Human and Agent topic mappings.
Git publication mode behavior is documented in the User Guide and Security Assurance; proposal and self-improvement sources map there through config/documentation-placement.yaml. Keep the personal-mode origin trust limitation explicit in both behavior and security guidance. Per-merge confirmation is provided by Claude Code's native ask and the active Gemini extension's interactive ask_user policy; Codex remains advisory and higher-priority Gemini policies can override the extension rule.
Publication issuer 接入與 unsigned-record migration 放在 Security Assurance,使用流程放在 User Guide 的 Git Publication 與 Release;Harness/architecture 記錄 external trust domain 與 advisory limits。
文件大小報告提供 H2 reading_sections 與來源種類,協助逐步閱讀。新增內容放在其既有 Canonical 主題,Registry 與原始政策保持單一來源。
Project Intelligence candidate behavior is synchronized across its user guide, architecture and conformance topics; candidates remain unreviewed and non-canonical.
Creative prompt compilation、model advice 與 review-assist 的文件閉包由 config/documentation-sync.yaml 和 config/documentation-placement.yaml 登錄;建議報告不得取代 Human review 或 user acceptance。
Behavior-preserving extraction of prompt compilation or model advice keeps creative_execution as the compatibility facade and records exact output and object-identity evidence; it does not imply a new user workflow or provider capability.
Creative workflow changes synchronize the explicit request, bounded OpenCode clarification, local execution and independent visual acceptance boundaries across the User Guide, Technology Guide, Architecture Overview, Harness guidance and Scenario 238.
Change-amplification metrics record direct paths, recursive closure, required additions and repeated requirements; repetition triggers review but does not authorize deleting canonical content.
Creative multi-item generation is documented in User Guide, Architecture Overview, Technology Guide and the Creative Direction protocol; its transient prompt grant, job manifest and resume behavior are verified by Scenario 238.
Creative readiness changes synchronize command/runtime/model/preflight/inference evidence, fixed-loopback ComfyUI discovery and advisory Apple Silicon FP8 guidance across the executor, OpenCode, Scenario 236 and their canonical Human docs.
Project Diagnostics 將 aips project diagnose 的唯讀行為、狀態 reason code、恢復建議與 UNVERIFIED Host 邊界放在 Human Project Intelligence、System Reference、Harness 與對應 Scenario;不可將靜態 MCP/設定檢查描述為實機執行證據。
ComfyUI model profile 的模型清單、拓樸家族、元件檔名與 sampler 欄位由 registry template 和 executor 共管;已審核家族內的資料型 profile 仍受欄位範圍、live schema 與本機元件清單驗證,新增節點/家族須程式審核。同步 Z-Image Turbo、FLUX 3 Klein Base/Distilled workflow、dynamic edit 一至八張有序參考綁定與 Scenario 236 證據,不擴大為任意節點或遠端 execution。 拓撲範本節點圖變更須同步 Technology Guide、Scenario 271 與 Core Change Matrix;使用者本機 profile 的核准不得由代理自動執行。
Z-Image Turbo 的 generate-only 能力說明放在 Creative/Execution/Runtime 主題內;ComfyUI 固定 split-loader API 工作流與可由本機 API 核對的三項權重維持原行為。另有明確 opt-in 的 dynamic_local 路徑,僅接受經本機 schema 驗證的 core-node graph 與明確綁定,拒絕 custom/API nodes;Scenario 268 不宣稱實際 inference 或 image quality。
角色圖片保留要求的媒材;以受限 configure 建立新的 Bundle,並載入校準、方向與視覺審查 skill。執行、圖片容器、人工審查與使用者接受分開回報。
創作可靠性 Core candidate 保留完整 Gate、媒材拒絕及取消授權回歸。損壞 PNG fixture 必須失敗;合成測試不能替代真實模型與人工品質驗收。
OpenCode Harness 行為變更需同步 adapter contract、Human 安裝/使用說明、Scenario 235、Capability Registry 與架構 surface;exact-candidate 文件閉包由 publish resolver 檢查。
The scoped EPHEMERAL Creative Bundle tool updates the OpenCode compatibility contract, Creative Direction, User Guide, Harness, Technology Guide, Architecture Overview, Scenario 236 and the existing design Skills. Other MCP/custom tools remain outside the guard.
The creative_execution.prepare CLI and OpenCode routes share the same create-only Profile/Bundle contract; Scenario 236 records version allocation, supported reference bounds and synthetic engine coverage.
OpenCode native Context and guard limits are maintained in the adapter compatibility contract and Scenario 235; capability and architecture views derive from the canonical Capability Registry.
Creative-artifact validation, local execution bundles, model provenance and creative-protocol changes map to the existing Creative Direction User Guide topic, Technology Guide Execution topic, Architecture Overview Creative Workflow, Scenario 234/236 and canonical Agent protocol. OpenCode adapter changes also update the Harness compatibility boundary. A deterministic manifest result never substitutes for independent visual review.
OpenCode 操作指引歸於 Harness 的 Native Runtime Adapters、MCP Interoperability 與 Ownership 章節;canonical Skill description 維持在原始 SKILL.md。
Changes to runtime hook input validation, resolver diagnostics or installer locking update the matching Harness, Security Assurance and Installation topics together with this map; machine-readable output stays documented alongside the canonical Harness protocol.
固定 AIPS system context 由 SYSTEM_CORE.md 與任務專屬 orchestration pointers 組成;SYSTEM.md 是相容入口。Turn Context 或 protocol routing 行為變更時,同步更新 Harness、Architecture、Technology Guide、Scenario Conformance 與核心測試矩陣。
主要模型/Skill metadata 變更同步更新模型路由、架構、技術指南、維護與 Conformance;REST/visual Skill 精簡仍須保留 canonical orchestration 指標與原有 evidence 規則。
Keep exactly one canonical Unreleased heading empty when a release candidate is ready, and record finalized notes under the matching VERSION heading. Keep the latest five full releases and all stable version anchors in CHANGELOG.md; manually archive older full sections without loss under docs/history/changelog/. The document-size audit remains report-only and never moves files. Phase 7 records the current Plan26 notes under 0.81.0; exact-candidate readiness is read-only and does not itself authorize tag or release publication.
共用快取解析器歸既有 publication-preflight 主題,套件安裝診斷器歸 installation 主題;修正與文件閉包一起驗證,不建立重複的治理或文件層。
Publication preflight changes synchronize the local Python/Node environment checks, GitHub workflow runtime pins, exact-candidate Gate instructions and Scenario 165. Local docs builds use Node 24+ and the installed VitePress bundle without package-manager or registry access.
OpenAPI contract tooling and its optional dependency file have an explicit placement rule: workflow commands belong in User Guide quality guidance, technical limits in the Technology Guide, and lifecycle claims in Scenario 194. Keep the Agent contract and Human descriptions synchronized when the validator or evidence schema changes.
Phase 3 Profile/Gate enforcement 另由 implementation-enforcement placement rule 綁定。新增 CLI、Profile 欄位、報告 schema 或 Scenario 195 行為時,同步檢查 User Guide、Architecture Overview、Technology Guide、Security Assurance 與 Conformance 的既有主題;維持「雜湊一致不等於 generator 已執行」與 Human authority 的界線。
Deterministic execution ownership 由 Scheduler、run state、projection 和 dashboard 共用同一個 canonical contract。更新 lease 或授權行為時,需同步更新 Human 操作/技術文件、run-state schema、Scenario 182 與 placement map。
Changes to turn intent, scoped instruction selection, event serialization, observed stage evidence, Agent Eval freshness and review attestation must update their canonical Human and orchestration sections together with config/documentation-placement.yaml.
Telemetry export sources map to the observability/run-state topics and Scenario 181; new source files must add a canonical placement rule before Human documentation is considered complete.
The p17-required-files-parity-pilot rule maps the versioned required-files mirror and its validator/lifecycle sources to Maintenance and Technology Guide. Changes to the placement registry itself also require updates to Architecture Overview, this contract, and Documentation Map.
publication-transfer placement rule 將新的 API transfer guard 與 lifecycle evidence 對應至 User Guide、Maintenance 和 Technology Guide 的現有章節;規則本身變更時仍需檢查 Architecture Overview、Documentation Map 及此文件的遞迴閉包。
提交前的 Publication Preview 會以工作樹為輸入檢查 H2 placement,包含已追蹤與未追蹤的新增內容;缺少 canonical H2 或內容落在不允許的段落時,診斷會列出允許的 H2。最終 Repository Preflight 仍驗證已提交的 diff。
tests/validation/ears_requirement_contracts.py 對應 Scenario Conformance;只有測試契約改動時更新 Conformance 與 Technology Guide,需求追蹤程式、規劃範本或 canonical requirement 文件仍觸發完整 Requirement Planning 閉包。
External Eval / Red-Team Interoperability 的來源由 eval-interoperability placement rule 綁定到 Architecture Overview、Conformance、Security Assurance、User Guide、Technology Guide 與 Documentation Map;orchestration/EVAL_INTEROPERABILITY.md 定義受限匯入、證據及人工確認流程,外部分數不直接成為 AIPS PASS/BLOCK。
Publication Preflight preview reports each required document with the sync or placement rule that introduced it, so maintainers can locate the exact source of recursive documentation requirements.
Publication authority and scanner changes use the existing personal-publication-modes placement: update the Human User Guide, Security Assurance, Architecture/Technology guidance, Scenario 240 and the corresponding Agent protocol. .m4a validation is a bounded extension of the existing secret-scanner/commit-safety boundary, not a new publication route.
Keep the Node lockfile, npm CI installation and lockfile-triggered docs-site build aligned when changing documentation dependencies. GitHub merge-method reporting belongs to the existing publication-preflight guidance and does not change Human approval requirements.
Mandatory Candidate Secret Scanning extends the existing publication-preflight and security topics. The built-in scanner and policy must stay aligned across local preflight, Integration Gate and the early CI fail-fast step; all paths use the same exact candidate and redacted evidence contract.
Parallel Run Dashboard implementation and orchestration references use the registered dashboard placement contract, with operational behavior kept in the canonical run-state and execution sections.
Runtime Content Safety Boundary 的 behavior-bearing source 由 config/documentation-placement.yaml 的 content-safety rule 綁定到 Architecture Overview、Technology Guide、User Guide、Security Assurance、Maintenance 與 orchestration/CONTENT_SAFETY_BOUNDARY.md。新增 sink 或 detector 時,必須同步更新其 canonical placement 與 conformance scenario。
Independent review isolation is mapped by the independent-review-isolation rule to the task/context schemas, Scheduler, bounded review packet, Integration Gate evidence contract, scenario coverage and Human/Agent guidance. The mechanism is implemented but PR enforcement is disabled by default in the active matrix until trusted attestation is available. Keep exact candidate binding, read-only authority, context exclusions and verifier status consistent; structural evidence checks alone cannot mark a review verified.
Portable Command Registry、CLI lifecycle 與 MCP renderer 的 current behavior 由 Harness topic 說明;Host placement 未經官方能力驗證時,文件只能宣稱 AIPS-managed projection、MCP 或 generic fallback。
Requirement clarification 與 Planning Package 的變更由 requirement-planning placement rule 綁定至 User Guide 的需求釐清主題、Technology Guide 的 Product Delivery / Quality & Verification,以及對應的 Agent protocols。v2 Manifest、研究、domain 與 cross-artifact 範本由同一閉包維護,電商 domain pack 依索引觸發並按需載入。需求登錄檔和兩個檢查器只驗證結構及 ID 關聯;CLI 可輸出 JSON PASS/FAIL 並以零/非零退出碼表示結構檢查結果,語義審查與實際測試仍屬其他流程。
Implementation Resolution、Profile 範本、語言 Profile、結構驗證器與 Scenario 193 由同一 requirement-planning placement rule 綁定至 User Guide、Technology Guide、Architecture Overview、Conformance 和相關 Agent protocols。Profile validator 的 PASS 只表示結構符合,不代表語言、框架或架構建議經語義驗證。
Phase 4 generator adapter、報告 schema、Gate fixture 與 Scenario 196 沿用 requirement-planning placement closure;Human 文件同步標示本機 --execute、CI/Gate 不執行專案 generator、ownership/hash 保護與 subprocess 不具 OS sandbox 的限制。
Phase 5 的可選 Phase 4 report 核對及 Scenario 197 共用參考案例沿用同一 placement closure。User Guide 說明執行與多產品邊界;Technology Guide、Architecture Overview、Maintenance、Conformance 與 Documentation Map 同步記錄證據與適用限制。
Risk-adaptive Change Impact traversal 的操作流程與 READY 證據由 orchestration/CHANGE_IMPACT.md 定義;Human 使用方式落在 Project Intelligence 的 Change Impact topic,架構層次與限制同步到 Architecture Overview 和 Technology Guide。tests/scenarios/175-risk-adaptive-bounded-impact.md 綁定 lifecycle 與 contract evidence。
Structured Change Impact unknown dispositions remain in this same topic. Documentation Sync maps the validator, template and lifecycle evidence to the Project Intelligence, Change Impact and Conformance canonical sections; evidence requirements and legacy fail-closed behavior are not restated as a separate policy. CI validation evidence is stored in the runner temporary directory until checks finish, then uploaded as artifacts. The report location does not become a repository documentation source or alter the exact revision being validated.
新功能不允許再使用「不知道放哪裡,所以在文件最後加一段 vX.Y 說明」的模式。
config/documentation-placement.yaml 定義 current-behavior 文件的 canonical H2 sections 與 subsystem → allowed placement mapping。scripts/documentation_placement.py 在 CI 檢查:
- current-behavior doc 必須只有一個 H1;
- 禁止以 vX.Y / Scenario N 當 current-behavior H2;
- 禁止 duplicate numeric H2;
- behavior-bearing source change 必須真的修改對應 Human doc;
- 所有會觸發 Technology Guide 的 behavior-bearing source 都必須命中一條 placement rule;沒有 mapping 就 fail closed;
- 每條 subsystem placement rule 也必須限制 Technology Guide 應更新的 canonical domain;
- changed lines 必須落在該 subsystem 的 allowed canonical section;
- legacy standalone HTML 不得再累加新 section。
Placement contract 本身新增 trigger 或 ownership 時,必須同步更新 Documentation Map、Architecture Overview、Technology Guide 與 Agent synchronization contract,讓新的 source → topic 關係可供讀者與 validator 查核。當 placement 調整是為既有 Runtime/MCP topic 補上 ownership,其新增說明仍留在既有 Runtime canonical section。
安裝、Harness 與 CI gate 的變更也必須在對應的 task-oriented Human 文件與 canonical 技術/架構區段留下可驗證說明。
Publication preflight 的 candidate resolver、browser runtime probe、clean checkout 與 Core Matrix hash binding 屬於既有 CI/Integration Gate topic;相關 source 變更必須同步 Human Map、Sync、Maintenance 與 Agent Gate protocol。
Temporal Project Intelligence 屬於 Project Intelligence 的既有 canonical topic:變更 temporal assertion schema、Git revision 查詢、validity/supersession 判定或 provenance 行為時,至少同步 Project Intelligence、Technology Guide、對應 Agent protocol 與 Conformance evidence;不得另建平行的時間軸文件。
Temporal 查詢的有效歷史以可驗證 Git revision 與 assertion provenance 為準;無法驗證的歷史只可呈現為 UNKNOWN,不得被 current/as-of/between/why 查詢當成已確認事實。
若新 capability 沒有適合 section,應先設計新的 topic section並更新 placement config,而不是直接 append。
Behavior-bearing source changes must first map every new source path in config/documentation-placement.yaml to its canonical Human topic and allowed H2 section. Update all required Human and Agent documents in the same change; diff-aware preflight checks both closure and changed-line placement. Quality ratchet baselines and report-only coverage claims stay aligned across Maintenance, Technology Guide, Scenario 228 and architecture records.
Plan36 publication diagnostics preserve this topic's existing behavior and authority boundaries.
Scenario 269 places task-scoped refresh and Retrieval index policy in existing current-behavior sections without adding a new topic.
Official Docs Site
Skill Explorer website changes keep SKILL_EXPLORER.md, the /SKILL_EXPLORER VitePress route, scripts/skill_catalog.py, generated JSON and legacy static HTML aligned. The display data is derived from skills/INDEX.yaml, skills/locale/zh-TW.json, and the pinned upstream manifest. Keep upstream source identity and installability distinct from disposition; the Explorer is read-only and never installs a Skill. Preserve the /ai-product-system/ base for the project Pages site and serve previews over the local VitePress preview server.
網站的使用者說明以繁體中文為主,第一次出現的專有名詞以中文解釋並補充英文;命令、API/欄位名稱、路徑與機器狀態維持 canonical 拼法。首頁應按讀者任務導覽,不得以變更備忘錄取代操作說明。架構圖與流程圖需指向目前實際邊界,並附上文字替代說明與圖說。
文件工具鏈安全修補需同步 package.json 的限定 Vite 覆寫與 npm lockfile。保留 VitePress 穩定版時,跨 Vite 主要版本的覆寫必須驗證乾淨安裝、audit、build、開發/預覽及熱更新;本機存取設定與操作限制維護在 Technology Guide 的 Documentation Platform。
Pinned Actions updates require synchronized operational documentation. setup-node v7 executes with Node 24; upload-pages-artifact v5 uses upload-artifact v7. GitHub-hosted Ubuntu 24.04 supplies the runner; PR builds keep deployment skipped and main retains the configured Pages-state guard.
docs/human/ 同時是 Official Docs Site 的 source;VitePress 只是 renderer。Website build output 不提交為 canonical content。
PR 會 build site;main 才具有 Pages deploy path。Workflow 會先讀取 repository Pages 狀態:已設定才 upload/deploy,未設定則明確記錄 SKIPPED_NOT_CONFIGURED。啟用 hosting 的一次性 repository 設定是 Settings → Pages → Build and deployment → Source = GitHub Actions。
Docs deployment 不取得 code merge、release 或 product production authority。
Technology Guide
System Facts 的公開命令與 Runtime 支援清單須同步更新;Project Diagnostics 的 Human 操作說明位於 Project Intelligence 與 Installation canonical topics。
Project Intelligence promotion 與 repository governance snapshot 的行為說明,分別維護在 Project Intelligence 與 Security Assurance canonical topic,Technology Guide 僅摘要導覽。
Post-merge reconciliation is implemented in scripts/publish_post_merge.py; scripts/publish_preflight.py remains the compatible CLI facade. Keep both modules, lifecycle coverage and integration inventory synchronized when changing this boundary.
內部模組抽離若保留既有 CLI facade 與輸出,仍同步更新架構/文件觸發索引;操作說明只描述使用者可觀察的 current behavior。
Trajectory evaluator、trace template 或 Scenario evidence 的變更,必須同步更新 docs/human/TECHNOLOGY_GUIDE.md 的 Quality & Verification 說明與對應的 placement/Conformance bindings。
config/system-facts.yaml 保存 command、platform、runtime、optional dependency、validation 與 documentation bindings。執行 python scripts/system_facts.py --write 更新 SYSTEM_REFERENCE.md 的標記區塊;CI 以 --check 驗證來源與衍生表格一致。Generator 只產生表格,不改寫解釋性文字或 policy prose。
Canonical source 是 docs/human/TECHNOLOGY_GUIDE.md。舊 HTML 只保留 backward-compatible link stub。
文件互相導向
Getting Started / Installation / User Guide 以 task-oriented方式導覽;Architecture / Technology Guide 負責 explanation;Conformance 負責 reference/evidence history;Maintenance 文件給 maintainer。
Deterministic protection
混合候選的文件同步(Scenario 221):Documentation Sync、Repository Preflight 與文件同步 CLI 共用同一個逐檔分類及完整路徑集合綁定;只排除已驗證 pin 檔,其他候選路徑繼續套用所有既有規則。Action pin 仍須精確 action 身分、完整 40 碼 SHA、符合審查下限的版本註解及人工確認上游 tag 對應 commit。
Plan50 documents parser AST evidence, one repo-local literal cd, a hash-only Claude Auto Mode PermissionDenied observer, and opt-in docs-only review. Keep the three Claude event sources distinct and preserve scans, Human approval, and reconciliation.
External-state lifecycle guidance remains mapped to its canonical topics; publication scan evidence is private user-cache data and never project content.
Placement and synchronization previews include staged, unstaged and untracked candidate paths; missing downstream canonical references remain blocking until updated.
Scenario 266 records content-safety verification while preserving existing maintenance and publication authority boundaries.
Scenario 263, its registered lifecycle, and the regenerated conformance projections are synchronized as one candidate-bound documentation change.
The Claude Code Doctor recovery description remains limited to one read-only observation for retryable network, rate-limit or GitHub server failures.
Publication diagnostics document candidate identity, target policy identity, observed API status, safe recovery classification and native Hook output together across the mapped Human and Agent topics.
Publication prepare/diagnose observations remain read-only and worktree-bound; follow the canonical Git publication procedure in USER_GUIDE.md and preserve native authority, candidate validation and host permissions.
Plan29 #6 binds its Change Impact and Core Change Test Matrix to the exact implementation candidate before publication.
Branch lifecycle reporting follows one current behavior across the Human maintenance guide, Agent-facing Branch Hygiene protocol, and Scenario 257 evidence. The workflow classifies with current exact-SHA evidence and remains read-only; never describe a cleanup candidate as authorization to delete.
創作修正同步範圍包含 native admission、quality-check/feedback/repair/compare/quality-loop、機器與人工狀態、版本化來源及有限預算。CLI、OpenCode catalog、Scenario 238 與 Human 指南依同一契約更新。
Publication documentation closure checks the behavior source map and the allowed canonical section for each added line; a successful placement audit does not replace exact-candidate validation.
Publication placement covers the runtime requirements, new authority/parser/reference issuer and v2 Approval Record. Core candidate checks both changed-path closure and added content in the original semantic topics.
Placement/Sync 明確映射新增的 Discovery、Query Terms、Creative Trace、Asset Validation 與 observed quality 工作入口;以相同 Facade 主題驗證文件閉包,不另立平行政策。
The relationship-candidate registry and its generated capability projections are included in the recursive documentation and validation closure.
For creative prompt/model/review behavior, placement and synchronization registries name the existing canonical Creative sections and Scenario 234/236/238 evidence; generated output remains advisory.
Documentation tooling requires content in each mapped canonical topic and reports misplaced additions; a complete path closure alone does not satisfy topic placement.
Creative prompt-grant behavior and resumable job schemas are maintained in the Creative Direction protocol, User Guide, Technology Guide, Architecture Overview and Scenario 238.
Documentation Impact Gate 以固定點映射確認 Project Diagnostics 的 Human/Agent canonical topics,並要求新行落在指定 H2;不得以文件尾端追加繞過放置檢查。
創作流程同步須涵蓋 discover/configure、Context 正規化、取消後不沿用授權及媒材拒絕。文件與測試都須保留「執行成功不等於視覺合格」及真實引擎未驗證限制。
The creative CLI and OpenCode tool share one mapped behavior contract; keep their preparation scope, create-only writes, and explicit execution boundary synchronized with Scenario 236.
Creative execution behavior is documented in the Creative Workflow and execution topics, with Scenario 236 and the generated current conformance summary kept in sync.
OpenCode behavior remains documented in the Harness contract and Scenario 235; exact-candidate closure and canonical placement are checked before publication.
OpenCode adapter、projection manager 與 ownership templates 共用 Harness 的文件 placement;原生驗證狀態需與 compatibility matrix 一致。
主要實作保留合格的 Runtime/使用者模型;Skill frontmatter 產生相容 v1 INDEX,決定性 lifecycle 與人工模型政策驗收分開記錄。
Plan21 Phase 0 compatibility fixtures and the one-run validation timing baseline are linked from Architecture Overview, Maintenance, Technology Guide and Conformance. Keep the exact candidate/environment, measurement-only interpretation and unchanged-runtime boundary aligned; do not promote the observation into a timeout or performance claim.
Plan21 Phase 2 records scripts/aips_common/ as the single implementation for shared canonical JSON/hash, relative-path and glob primitives. Keep facade compatibility and the separate governance/runtime digest ownership aligned across Architecture Overview, Documentation Map, Technology Guide, Maintenance and the lifecycle evidence; source graph coverage remains partial unless independently reviewed.
新增 behavior-bearing helper 必須同步更新 placement 與 sync registry;Project Intelligence promotion 保留既有 approval facade,治理快照維持唯讀並在資料不可讀時回報 UNKNOWN。
Prospective aips docs impact --base HEAD --planned-path <path> resolves sync and placement closure to a fixed point. Each triggered rule requires an update in its canonical topic; combined changes use the union of those topics. Validate every text anchor before applying the batch. Closure is scope evidence and never grants publication authority.
Document the shared Python bootstrap caller-declared import profile and dependency check alongside the canonical requirements and tested constraints.
The tests/validate_repository.py runner is part of the maintenance reliability closure: keep its exact-candidate optional-toolchain selection, OpenAPI evidence classification and subprocess environment isolation documented with the required repository aggregate boundary.
Evolution evaluation changes must synchronize the Human Radar guides, Scenario 218 and its Human/Agent conformance references with the p16-evolution-human-evaluation placement entry.
The runtime architecture inventory and System Reference are regenerated from canonical registries; CLI source modules are part of the runtime-context documentation trigger and must remain covered by the module-extraction lifecycle.
The pull-request advisory preflight is documented with the required full repository gate and its Scenario 220 contract; changes to either surface update the Human and Agent conformance records together.
Dependency update classification stays advisory and maps each package class to recommended evidence. Preserve unknown-package high-risk behavior, human decision authority, and the explicit prohibition on automatic merges and policy edits across the classifier, Scenario 221 and published guidance.
Document-size measurement remains informational: preserve the 50,000-byte threshold, non-blocking WARN behavior, and no-archive/no-move boundary across the audit, baseline and Scenario 222.
Changes to shared Python workflow bootstrap, timing bounds or concurrency policy update the affected Human maintenance/technology guidance, Scenario 207 evidence and Agent conformance crosswalk. Timeout rationale records sample count and observed range; concurrency serializes only identical-revision or same-cohort work and preserves distinct observation evidence. Evolution Effectiveness queues same-period Issue writes without cancelling any report.
New behavior-bearing scripts and workflows must receive an explicit source-to-topic placement before Human documentation changes. Validation and release additions also update their registered Scenario evidence and current conformance projection.
When maintenance validation behavior changes, keep scenario registration, full-run shadow safeguards, quality ratchets, and human-facing Gate descriptions synchronized. Reports may describe future selective behavior but cannot imply validators are skipped before a separate Human decision.
Python runtime floor、tested compatibility matrix 與排程 smoke workflow 共用 system-facts placement:事實由 config/system-facts.yaml 管理,System Reference 產生摘要,Installation 說明操作方式,Maintenance 說明驗證與修復,Technology Guide 記錄技術契約;相容性 workflow 的變更也必須更新這組文件。
Generated Conformance current and history views derive from the canonical registry and Human/Agent sources; regenerate both after scenario inventory or section changes. Historical anchors remain linked and are not silently removed.
Documentation Sync 驗證「哪些文件必須一起改」;Documentation Placement 驗證「改動是否落到正確 topic section」。兩者都通過才代表文件同步完成。
aips docs impact --base <ref> --head <ref> 會在發布前列出遞迴 sync requirement 與合法 placement section。Publication preflight 一律帶入明確 diff base;Git-ignored local metadata 不屬於 repository 文件候選。
Execution Isolation 的 provider registry、resolver、optional E2B smoke workflow、profile schema 與其 tests/scenarios 由 execution-isolation sync rule 綁定到 Architecture Overview、Security Assurance、Technology Guide、User Guide、Conformance 與 canonical Agent protocols。資料外送 adapter 未取得明確範圍前,文件與 workflow 維持 synthetic-only。
Runtime Policy Enforcement 的 action schema、deny-by-default evaluator、native hook decision 與高風險 sandbox 要求,沿用 Resource Authorization、Execution Isolation、Governance Audit 和 Security Assurance 文件閉包;Scenario 177 維護執行階段授權及限制的 evidence。
The maintenance-reliability mapping binds the bounded monthly collector, configuration, GitHub workflow, lifecycle and contract checks, Scenario 201, registry and evidence runner to the Human Maintenance / Conformance / Technology Guide / Documentation Map topics and the Agent Conformance protocol. Keep UNKNOWN handling, collection bounds, exact-SHA correlation and no-remediation authority aligned.
Exact-candidate browser toolchain selection is documented under the current-behavior placement contract: the central validator registry may skip browser-dependent render lifecycle checks only when a valid plan explicitly sets needs_browser: false; missing or invalid plans retain the full profile.
- Version-tag readiness changes also require the canonical release-readiness and Scenario 208 documentation placements. Stable installer/update behavior and recovery additionally require Scenario 214 evidence; readiness remains separate from tag publication.
scripts/retrieval_storage.py shares the existing Project Intelligence placement and documentation-sync closure with scripts/retrieval_intelligence.py; new helper modules must be added to both canonical trigger lists before publication.
Plan19 architecture and runtime closure.
Plan19 architecture and runtime claims use the canonical Capability Registry; the surface inventory and legacy Capability Map are generated views. Hook support remains advisory unless the exact local synthetic path is verified, and monthly effectiveness reports do not change source weights.
For publication diagnostics, synchronize endpoint evidence semantics and phase/recovery behavior across the User Guide, Security Assurance, Architecture Overview, Claude Code adapter, and Scenario 260. Preserve UNKNOWN and the Human Authority boundary in every projection.
文件同步路徑正規化(Scenario 221):documentation_sync.evaluate_changes 只移除開頭一個 ./(removeprefix),不再用 lstrip("./") 逐字元剝除;先前 .github/workflows/x.yml 會被改成 github/workflows/x.yml,使 config/documentation-sync.yaml 中所有 .github/** 觸發條件(Technology Guide、evolution-radar、publication-preflight、documentation-platform、execution-isolation 等)失效。修正後,人工修改 workflow 需同步對應文件;純依賴升級仍由 evaluate_candidate 先行豁免。