Skip to content

Global Harness 與 MCP ​

AIPS 透過 Harness 將共用指示連接到各 Agent Runtime,並以 MCP 提供可用的 Resources、Prompts 與 deterministic Tools。安裝 CLI 不會自動啟用 adapter;每個 Host 的權限、Hook 與工具能力仍需依其實際驗收證據判讀。

AIPS 的 Agent integration 分成 Portable MCP Access Plane 與 Runtime-native Adapter Plane。兩者讀取相同 canonical AIPS sources,但責任不同。

本機 CLI 與 Runtime adapter 共用 checkout-root-aware 的 AIPS commands。aips integration-gate 使用已準備好的 Python 3.12 驗證環境;Publication Preflight 對文件候選直接呼叫已安裝的 VitePress bundle,不會自動安裝套件或連接 registry。

Runtime Context 統一解析驗證 Python 與 cache/config 路徑;它將 Playwright 套件、瀏覽器執行檔和實際啟動驗證分開回報,也不會宣稱未驗證的 sandbox 能力。

Integration model ​

Claude Auto Mode PermissionDenied is a Host-owned observation, separate from AIPS PreToolUse and PostToolUseFailure; installation adds only the AIPS-managed observer group and preserves other hooks. The project diagnostics command is read-only and opt-in; it cannot change project governance mode or replace Change Impact review.

Runtime Policy denial details are bounded and sanitized; they do not expand adapter coverage or imply that a denied tool started.

Creative workflow execution is an AIPS product capability, separate from Host adapter permissions. Qwen Image Edit Plus uses the local ComfyUI contract in Scenario 236 and does not expand Harness runtime authority.

Project-local Harness state is not created. aips attach initializes or imports external user state; attach, detach and preflight do not modify repository files, Git config, hooks or local excludes.

Commit-time media checks inspect supported AVIF metadata through the existing content-safety path; they do not broaden native runtime interception.

Native Runtime adapters do not implement the publication content scanner. Exact-candidate Prepare and the Integration Gate use the shared AIPS scanner; WebM scanning inspects bounded declared metadata, skips media payloads, and does not upgrade OpenCode's ADVISORY enforcement status.

The creative workspace import is an explicit local CLI workflow using the existing AIPS launcher and private metadata cache.

Creative quality benchmark evidence is a post-trial read-only report. It does not invoke a native adapter, grant creative execution, or establish host acceptance.

OpenCode current native prompt admission 支援「重出/重畫」的新有限 grant;重複 message 不重置額度,過期、取消或 grant 被替換時拒絕執行。quality-loop 預先保留 delivery 與 repair attempts;否定自動修正不授予 loop 權限。

Publication Hook 使用外部 Ed25519 issuer、worktree-bound scope 與 atomic consume;未簽章 legacy record 需重新簽發。Shell AST 誤判修正不代表 OS sandbox;Codex/OpenCode 的 ADVISORY 能力不變,接入見 Security Assurance。

aips harness doctor 的 OpenCode probe 可讀取 source/version/platform-bound native_acceptance。缺少、過期、格式錯誤及失敗各有明確狀態;LOCAL_LOOPBACK_ACCEPTANCE 不證明 production model、L3 外部動作或未測試的平台。

Adapter setup, Context delivery, permission-hook execution and exact host-version acceptance are reported as separate evidence.

aips project diagnose <path> 可檢查目前 Runtime/Harness 設定並彙整 MCP 靜態能力;它不能證明 Host 已載入 Context、Hook 或 Tool。未完成版本綁定的原生證據一律保留 UNVERIFIED。

Creative recovery includes sanitized provider reason codes. OpenCode discovery can inspect only the fixed 127.0.0.1:8188 ComfyUI API and keeps inference unverified until an explicit execution is separately observed.

Runtime resolution keeps machine-readable results on stdout and diagnostics on stderr. Invalid adapter-state YAML is reported as an error; an unavailable Intelligence subprocess has a stable reason code instead of being confused with a successful empty result.

Standalone and shadow dependency-review artifacts retain exact base/head, run ID, actual JSON findings and outcome for 90 days. Parity compares canonical findings; missing outputs, different candidates or inaccessible artifacts stay UNKNOWN. Job success alone cannot promote the shadow. Record resolved toolchain fingerprints and repeat full Gates only for new changes or unresolved failures.

The public bin/aips command remains a thin launcher into the checkout-resolving scripts/aips_cli.sh facade. That facade loads the Harness, runtime, command and other shell modules from scripts/aips_cli/ before dispatch, keeping installed symlink and source checkout behavior aligned.

Runtime resolution keeps machine-readable results on stdout and diagnostics on stderr. Invalid adapter-state YAML is reported as an error; an unavailable Intelligence subprocess has a stable reason code instead of being confused with a successful empty result.

GitHub-hosted maintenance workflows remain owned by repository CI outside a local Agent task or worktree lease. When they reconcile one monthly Issue, a repository/cohort queue preserves same-period runs without adding token scope or publication authority.

The Evolution pre-analysis module is an internal deterministic helper behind its existing CLI; it adds no Runtime Adapter, MCP tool, or Host integration.

text
AIPS Core
├─ MCP Access Plane
│  ├─ Resources
│  ├─ Prompts
│  └─ deterministic Tools
└─ Native Adapter Plane
   ├─ turn context
   └─ runtime-specific pre-tool guard

aips publish doctor --worktree <root> --worktree-details provides read-only phase and evidence diagnostics. Runtime adapters may use its recovery guidance, while native permission and Human approval remain separate.

Native Runtime Adapters ​

要尋找可重用方法,請看Skill 探索器。

The Claude PermissionDenied observer keeps only fixed fields and hashes in private user state. It does not retry or change the Host refusal.

The Matt Pocock Skill Explorer remains a separate discovery feature; the shared publication scanner does not change adapter capabilities or skill admission.

Qwen ComfyUI workflow support adds no Host adapter or native permission. It remains within AIPS Creative execution and Scenario 236.

Claude Code receives a structured, redacted JSON diagnostic when local prepare or diagnose preflight fails; this does not authorize a retry, and unsupported shell wrappers remain denied.

Native adapter discovery and explicit attach/detach keep all AIPS state outside the target project. Legacy .ai/ remains user-owned and unchanged.

Content-safety controls remain separate from skill discovery, installation, and author trust decisions.

Personal publication Hook denials preserve stable reason/phase metadata without raw exception text or candidate paths. The Hook has an eight-second hard deadline and returns elapsed milliseconds plus the last safe phase on timeout. Before a protected push it still revalidates the exact candidate, full ref and current remote tip, then requires a fresh 30-minute Secret Scan evidence record from aips publish prepare; missing or mismatched evidence denies without retry. Unsupported literal command forms are denied before scanner work; the Hook does not authorize retry or execution.

Adapter action guards remain separate from staged AVIF content-safety diagnostics.

Claude Code v2.1.295+ 的 managed publication PreToolUse guard 設定 onFailure: block;舊版/未知版不寫入不相容欄位並發出警示。AIPS 另以八秒內部 deadline 回傳結構化拒絕;PostToolUseFailure 的 timeout 會標示 TIMEOUT_OBSERVED,不推測成網路故障。UserPromptSubmit context hook 不套用此 failure policy。同一 guard 另以 Edit|Write|NotebookEdit|MultiEdit matcher 攔截代理對已安裝 AIPS 系統目錄與 profile 設定的寫入,並以常見 Shell 寫入形式做盡力偵測(不是完整防護);拒絕碼為 PROTECTED_PATH_WRITE,請改在開發 repo 修改並透過 PR 發布。 獨立的 PostToolUseFailure:Bash observer 只回報已開始執行的原生指令失敗分類與可解析 exit code,不回傳原始錯誤、不重試也不授權。

獨立的 Claude PermissionDenied observer 僅記錄 Auto Mode 拒絕來源、受限工具名稱/分類與雜湊;記錄存於 ~/.local/state/aips/diagnostics/claude-permission-denied.jsonl,目錄/檔案權限為 0700/0600,保留最多 30 天或 1,000 筆。原始 tool input、reason、transcript、cwd 與命令不落盤。它不會回傳 retry 或權限決定,儲存失敗也不會改變 Host 拒絕。AIPS PreToolUse、PostToolUseFailure、手動拒絕與 permission rule 拒絕各自維持不同來源。 Creative asset import remains an explicit CLI operation. OpenCode native file permissions neither authorize nor execute the Git import path; the exact-hash candidate and separate Git publication boundary still apply.

Claude Code commit Hook diagnostics include only safe reason/category/detector data, an optional sanitized repository-relative file, and a Diagnostic ID. aips safety diagnose commit invokes the same scanner in read-only mode; this does not add a Host capability or publication permission.

Publication Hook responses share the authority layer's stable reason code and safe candidate/runtime binding with Prepare. AUTHORIZED records only AIPS Hook approval; native Host permission remains unevaluated and execution remains unobserved until the host action completes.

Claude Code's publication Hook runs one bounded read-only Doctor after explicitly retryable network, rate-limit or GitHub server failures; OpenCode and Codex do not claim this automatic behavior.

Claude Code PreToolUse denials may include a bounded diagnostic ID, reason code, phase, category, retry state and next step in additional context; raw command text, arguments and credentials are excluded.

Unsupported commit forms may add redacted parser evidence (parser_node, failed_segment_index, unsupported_construct, and line/column); it never echoes the command. A single literal repo-local cd prefix is supported for git add ... && git commit ...; path traversal, symlink escape, dynamic expansion, and any extra command remain denied.

Claude Code may reject a Bash merge as Merge Without Review independently of AIPS PreToolUse; preserve exact Host-versus-AIPS provenance and route confirmation through native permissions rather than rewrites.

Upstream Skills use the same native discovery directories as canonical AIPS Skills. aips skills install --upstream --all --host <host> installs all 31 non-canonical entries and reports seven canonical ID matches. Disposition remains visible as integration context, not an install gate. Codex and Claude Code projections require explicit invocation; Gemini CLI retains its activation consent flow. Source digests and AIPS ownership records scope later updates and removal. It never executes vendored scripts or edits Agent hooks. aips skills list --include-upstream exposes the pinned source inventory, disposition, and local path; ordinary listing remains canonical-only. See the User Guide for commands and Scenario 259 for lifecycle evidence.

Git publication hooks share the personal/high-assurance policy where the adapter supports enforcement. Claude and Gemini use native hooks; Codex remains advisory, so this is not an OS-level boundary. See Security Assurance for the accepted same-account origin limitation.

For explicitly requested personal-mode PR merges, Claude Code prompts through native PreToolUse ask; the active Gemini AIPS extension asks through its interactive policy in default, autoEdit, and yolo. The shared hook shows the PR and candidate/check details. Codex cannot guarantee interception of direct merge commands.

The Phase 1 creative prompt compiler extraction is internal to the Python implementation. It preserves the creative_execution facade and does not change OpenCode permissions, native tool signatures, or Harness installation.

OpenCode 的 local creative tool 對視覺審查使用獨立、目前使用者明確提出的 review-assist grant,並綁定 active Session root;它不替使用者完成審查或接受。

OpenCode V2 acceptance now reports plugin setup, Context delivery, permission-hook execution and host version separately. The v2.0.24 loopback lifecycle verified Context plus native Allow/Deny; other host versions and instruction-model delivery remain unverified.

OpenCode V2 derives Creative mutation authority from the current native prompt-admission hook. Dispatch Context remains advisory, each new prompt replaces the transient grant, and read-only discovery/preflight does not require one.

Runtime denial details now carry a bounded reason code, trace identifier and recovery action through the native Hook response; Profile paths, provider bodies and credentials remain excluded.

OpenCode creative_execution 使用共享 executor 的 ComfyUI model profile registry;新增模型僅能沿用已審核拓樸家族並通過 sampler、live schema 與本機元件檢查,不擴大 Session authority、工具權限或任意命令。FLUX 3 Klein Base/Distilled 共用已審核 topology,分別設定 50 steps / CFG 3.5 與 16 steps / CFG 1。動態 ComfyUI edit 可綁定一至八張有序本機參考圖並逐張比對 staged bytes 雜湊。這些預檢不代表 MPS 推論已驗證。 本次變更不新增 OpenCode 核准動作;使用者本機 profile 只由 aips creative profile approve 在互動式終端機核准。

ComfyUI 的 z-image-turbo profile 使用 templates/creative/COMFYUI_Z_IMAGE_TURBO_API.json 固定 API 工作流;只有指定的 UNET、Qwen lumina2 CLIP 與 VAE 權重會依 loopback /object_info 核對,不接受自訂節點或圖片編輯。

明確選擇 workflow.mode: dynamic_local 的 Bundle 可透過共用 executor 檢查專案內 API workflow。動態模式依本機 /object_info schema 驗證 core node、圖連線與明列的欄位綁定;不改變 OpenCode 的原生權限,也不允許 custom/API nodes、Shell 任意執行、外網或隱含模型選擇。aips creative workflows import 是獨立的 create-only 專案檔案匯入操作。

OpenCode creative tool 接受 array、messages 與 data envelope 格式;只取使用者文字作授權。prepare/configure/execute 與 read-only discover/preflight 分開判斷。每個新提示會撤銷舊動作授權並重新判斷;明確創作任務中的短風格選擇可使用同一 Session root 綁定、限時限回合且保留輸出額度的結構化狀態,產生當前回覆的新授權,不保存舊提示文字。取消、切換任務、擴大範圍或超出輸出數量後,延續授權失效。

OpenCode's explicit creative_execution.prepare action creates versioned Profiles and a draft Bundle under the active EPHEMERAL Session scope. It cannot execute generation; preflight stays read-only and execution requires an explicit creative intent and a ready Bundle.

OpenCode ​

OpenCode acceptance reports are bound to a host version, platform and AIPS/plugin source digest. Arbitrary Shell process effects, MCP/custom-tool effects and out-of-process writes are reported UNSUPPORTED; older reports without this field remain UNVERIFIED. Installation and static capability discovery do not upgrade runtime evidence.

明確執行 aips harness install 時偵測 opencode,在設定根目錄建立受管理 AGENTS.md、49 個 canonical Skills 投影、三個原生 Commands;只在確認 OpenCode V2 後才安裝 plugins/aips-opencode.ts。description 由 Skill frontmatter 維護;相對 canonical 參照轉為已安裝 AIPS 路徑,其他資源依 canonical source directory 解析。

aips harness uninstall 在沒有 Harness 狀態時略過 Runtime adapter 清理;狀態存在但缺少一般所有權紀錄或路徑是符號連結時,會停止並保留資料。aips harness install 更新未遭使用者修改的投影;aips harness doctor 與 python scripts/opencode_skill_projection.py check 檢查 drift。重名、修改過的檔案、symlink、錯誤 manifest 均保留並回報衝突;解除安裝只移除已記錄且未改動的資源,失敗保留 ownership 供重試。使用者 JSON/JSONC、模型設定及專案內容保留。

在 OpenCode 以外載入 AIPS Skills ​

Codex、Claude Code、Gemini CLI、Cursor、Windsurf、Copilot CLI、Amp 或其他 MCP Host 不會由 aips harness install 複製 AIPS Skill 到 Host 的原生 Skill 目錄。支援設定範本的 Host(Codex、Cursor、Windsurf、Copilot CLI、Amp、OpenCode、generic)可用 aips mcp config --client <host> 產生 review-only 設定,依 Host 官方方式自行註冊,再重啟或重新載入 MCP。Claude Code、Gemini CLI 等沒有此設定範本的 Host,若其版本支援 MCP,可依該 Host 官方方式註冊 AIPS stdio server;也可讓 Agent 按需讀取 AIPS checkout 中的來源檔。可用 aips mcp inspect 確認 AIPS 端的資源與 Host 支援狀態;設定輸出不會自行修改第三方設定。

在已連接 AIPS MCP 的 Agent 中,先讀 aips://catalog/skills 列出 Skill,再讀 aips://skills/<skill-id> 載入所需內容;也可使用 aips_capability_catalog、aips_capability_read,或本機執行 aips skills list 查 ID。Agent 應依當前任務選讀相關 Skill,不需常駐載入整份目錄。若 Host 沒有 MCP,可請 Agent 透過安裝中的 AIPS checkout 閱讀對應 skills/<category>/<name>/SKILL.md;這是按需讀取來源檔,不是 Host 原生 Skill 安裝。

Codex、Claude Code、Gemini CLI 的 AIPS Harness 指示/hook 可用 aips harness install 安裝,aips harness status 檢查,aips harness uninstall 解除。OpenCode 的原生 Skill 投影也由 Harness 一併管理;卸載後需依 Host 慣例重新載入。MCP 連線則由使用者依該 Host 的設定介面移除 AIPS server 註冊,再重新載入 Host。不要用通配符或整個 skills/ 目錄刪除方式清理:只移除明確確認屬於 AIPS 的註冊或投影。

解除安裝時,AIPS 只移除 ownership manifest 已記錄、且內容仍與 AIPS 產生摘要相符的檔案。原本已存在的同名 Skill、無 AIPS ownership 記錄的檔案,以及使用者修改過的受管理投影都會保留;衝突會回報 CONFLICT,修復或檢查後再重試。不要手動刪除 ownership manifest 來繞過衝突,否則 AIPS 會失去安全辨認可移除檔案的依據。

MCP 使用 aips mcp config --client opencode 產生 v2 mcp.servers.aips 預覽;v1 使用 --opencode-version 1。預覽的 AIPS_MCP_WORKSPACE 固定為產生時的工作目錄,須依專案審閱後自行註冊。基本安裝不寫入 MCP 設定。

V2 Plugin 依每個 Session 的實際目錄解析 Harness 與 Project Intelligence;Context 大小上限為 12,000 bytes,寫入授權前會對目標路徑重查。aips harness doctor 分開回報投影、版本、Host discovery 與 Hook 執行狀態,並提示需要的安裝/重啟步驟。安裝成功仍不代表 Context 送達模型或 permission hook 已驗證。

若來源 manifest 與精簡投影仍超過 12,000 bytes,OpenCode 會回報 context_compaction_over_budget、來源/投影位元組數及最多三個最大的投影區塊名稱;診斷不包含區塊內容、prompt 或完整路徑,且在 Context 恢復前仍拒絕專案寫入。先執行 aips intelligence context --runtime opencode --project "$PWD" --prompt "<task>" --full --explain --format json 檢視細節,再用 aips intelligence refresh-plan --project "$PWD" 判斷受影響的 Intelligence 主題;只更新必要主題後重試。aips harness trace --limit 20 可查看安全的大小與原因碼欄位。

EPHEMERAL 創意工作會唯讀掃描圖片與 SVG 的路徑、格式及檔案中繼資料,快取存放在專案外的使用者快取,且不建立 .ai/。可用 aips creative scan --project PATH 更新素材索引,用 aips creative next-version --project PATH --target RELATIVE_ASSET 建議下一個未使用的版本路徑;它不會寫入或覆蓋素材。執行證據可用 aips harness trace --limit 20 查看,事件檔不保存 prompt、憑證、素材內容、完整路徑或模型推理。

Shell 只放行可界定的唯讀命令形式,包含固定參數的 AIPS 診斷,會阻擋已知寫檔、子程序執行、設定注入及路徑逃逸選項。字串檢查不是程序沙箱;一般 MCP/custom tools 與外部程序副作用不在此 Hook 保護範圍。唯一例外是綁定目前 EPHEMERAL Session 的 creative_execution:它只讀取限定 Bundle,預檢後才可明確執行,輸出受限於宣告的新素材路徑。OpenCode v2.0.24 的隔離原生驗收已驗證 Context 請求與檔案 Allow/Deny;整體治理仍為 ADVISORY。

V2 plugin 會在每次 primary model dispatch 前呼叫既有 AIPS CLI,依 session、prompt、專案狀態、目標路徑和 instruction fingerprints 快取精簡 Context。write/edit/patch 權限再以實際資源路徑做第二階段檢查:L1 僅允許非 Git 資料夾中尚不存在且路徑受限的新創意資產;L2 需要 Project Intelligence READY、沒有未解權威衝突且目標位於專案內。READY Intelligence 的 STALE freshness 會保留警示與 refresh 指引,但不會單獨阻擋一般本地 L2 原始碼寫入;UNKNOWN、非 READY、權威衝突仍 fail closed。L3 外部操作仍使用既有 Human approval gate。Shell 只允許受限唯讀命令;未知命令會被替換成失敗命令。

安裝狀態會分別回報 plugin、context hook 與 guard 狀態。成功安裝及 plugin registry 發現不代表每台主機的模型 Context 或 permission hook 都已執行;需依相符 runtime acceptance 判讀。任意 Shell 子程序、其他 MCP/custom tools、其他程式直接寫檔都不在已驗證範圍;Creative tool 的獨立 lifecycle evidence 不代表其他工具受保護,因此整體治理維持 ADVISORY。解除安裝只移除 digest 一致的 AIPS-owned plugin 和既有投影,使用者 JSON/JSONC 不變。

Managed AIPS installation channel selection controls system updates only. It does not change which Runtime Adapter is installed or grant a Host capability; continue to validate each adapter through its existing ownership manifest and capability evidence.

Codex ​

以 persistent managed instruction 提供 CONTEXT_ALWAYS;安裝器會先檢查 codex 命令,再檢查 CODEX_CLI_PATH、AIPS_CODEX_CLI_PATH 與 macOS ChatGPT app 內建路徑。治理強度依實際可驗證能力回報,不因 MCP 存在而升級。

使用 aips skills install <skill-id> --host codex 將 canonical Skill 安裝至原生發現目錄;Portable Command 可用 aips commands install <command-id> --host codex 安裝,例如 aips.grill-me,再於 Codex 輸入 $grill-me。安裝以 AIPS ownership manifest 管理,不覆寫既有無主控 Skill;卸載只移除來源、Host、scope 與摘要仍吻合的 AIPS-owned 檔案。

Codex PreToolUse 的 Plan19 probe 僅拒絕無害的本機合成命令;unsupported、malformed、timeout 與 error 路徑不構成完整 enforcement 證據,aggregate governance 維持 advisory。

Claude Code ​

可安全安裝時使用 UserPromptSubmit + PreToolUse;成功驗證後可提供 TURN_NATIVE / TOOL_GUARDED。

原生 Skills 安裝在 ~/.claude/skills,使用 aips skills install <skill-id> --host claude;Portable Command 使用 aips commands install <command-id> --host claude,並以 /grill-me 形式觸發。以 aips skills status 或 aips commands status 檢視 AIPS 所有權。

Runtime Policy 可由 PreToolUse 對 hook 收到且可正規化的動作執行 deny-by-default 檢查;命令列分類不代表可攔截 child process 或網路 socket。

Claude 的 Runtime Policy denial 可顯示受限的 Profile resolution 或 destination constraint JSON;Profile path 僅為專案相對路徑,credential 先遮罩。PreToolUse denial 不代表工具已啟動;native failure 仍由獨立 PostToolUseFailure 回報。

Gemini CLI ​

使用 AIPS extension 的 BeforeAgent / BeforeTool。Runtime-specific observable-event capture 仍是獨立、受限、可驗證的 capability。

原生 Skills 使用 ~/.agents/skills,可執行 aips skills install <skill-id> --host gemini 或 aips commands install aips.grill-me --host gemini;Gemini CLI 可用 /skills list 檢視並以 /grill-me 呼叫。已開啟的工作階段可執行 /skills reload 重新載入。

BeforeTool 可執行相同的受支援 Runtime Policy 檢查;Codex 與不支援的 generic runtime 不宣稱強制執行。

純依賴升級文件豁免(Scenario 221):scripts/dependency_impact.py 的 pure_dependency_update 只在候選 diff 的每個檔案都是允許清單內的依賴清單(.github/workflows/*.yml、根目錄 requirements*.txt、constraints/*.txt)、且每一組變更行都只是同一個 action 的完整 SHA 釘選更新(版本註解不得降版),或 name==version 的嚴格升版時,判定為 PURE_DEPENDENCY_UPDATE。此時 Documentation Impact、Documentation Placement 與 Documentation Sync 只豁免文件要求,並在報告列出每個依賴的分類、風險與 human_review_required;混入任何其他行或檔案、降版、未釘選參照、規劃路徑、超過大小上限或判定失敗,一律回到完整規則。秘密掃描、內容安全、Core Change Test Matrix、Integration Gate、必要檢查與人工合併核准都不變,automatic_merge_authorized 仍為 false。

Claude Code、Codex 與 OpenCode adapter 的 Global Harness 說明改為:只有 Turn Context 設定 refresh_required=true 才做 targeted refresh,retrieval_index_required=true 才建立索引;Change Impact 不變。

MCP Interoperability ​

bash
aips mcp inspect
aips mcp serve

MCP Resources 以 progressive disclosure 提供 Roles、Skills 與 selected orchestration;Prompts 組合 review/planning context;Tools 只暴露 bounded deterministic helpers。若 Host 只支援 Tools,可透過 aips_capability_catalog、aips_capability_read、aips_workflow_context 取得同一份 canonical 內容,不複製 Role/Skill registry,也不在 Server 內呼叫第二個模型。

所有 AIPS MCP Tools 都是無副作用操作,並宣告 read-only、non-destructive、idempotent、closed-world hints。這是目前 gateway 的契約描述,不等於 Host native tool guard。

新 Host 預設先使用 MCP。只有當該 Runtime 提供可驗證的 per-turn hook、pre-tool guard 或 runtime-specific event source,而且需求無法由 MCP 滿足時,才增加 native adapter;不能只因新增一個 Host 名稱就複製 adapter。

CI MCP interoperability probes use the shared Python bootstrap with caller-declared import modules, checked-in requirements and tested constraints; this verifies the job environment without changing MCP server permissions or behavior.

Review-only config 支援 Cursor、Windsurf、GitHub Copilot CLI、Amp、Codex 與 generic stdio。GitHub-hosted Copilot agent/code review 僅能使用 Tools,且執行環境必須真的能啟動 AIPS command;本機絕對路徑不能假裝成 hosted deployment。

aips mcp inspect 會輸出 machine-readable Host 相容性矩陣,區分 official config contract、MCP protocol、pinned CLI registration 與尚未執行的第三方 GUI。設定格式與協定驗證不能被表述成 GUI 實機驗證,也不包含 native guard。

MCP Server 不呼叫第二個 LLM,也不取得 Human approval、Git publish、merge、release、production 或 host-native tool interception authority。

Temporal Project Intelligence 的 historical query 由既有 deterministic CLI/Project Intelligence layer 提供;MCP 與 Runtime adapter 只傳遞 bounded context,不新增 Temporal Role、Gate 或 host-native authority。

Capability truth ​

The shared OpenCode lifecycle also contains a distinct Skill Explorer contract. Passing creative import cases does not establish Skill installation or Host acceptance.

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.

Codex managed block 保留 Runtime/使用者選定的合格主要模型,並指向 bounded primary execution;不更改模型設定或擴大 tool guard 權限。

GitHub governance snapshot 是 repository operator 的唯讀工具,不是 runtime adapter 能力,也不擴張 Harness 的遠端寫入權限。

Host capability claims remain tied to native evidence for that Host and version. Advisory hook probes do not establish enforcement, and unknown Linux/WSL behavior stays unverified.

The managed AIPS CLI support floor is Python 3.12, with a separate scheduled 3.12–3.14 compatibility smoke. Runtime support facts are generated into System Reference and remain distinct from host-specific adapter capability. The Evolution Radar maintenance capability preserves oversized Issue evidence in a bounded, digest-checked envelope; its monthly consumers restore the original body and report missing triage inputs as incomplete.

Scheduler-backed task ownership 記錄執行 owner、worktree isolation、lease 與 write-set reconciliation。這是協調與證據能力;只有 runtime 提供並驗證寫入攔截器後,才可宣稱工具寫入受到強制限制。

Runtime isolation behavior is reported only at the boundary supported by its registered evidence. Scenario Conformance inventory counts must be updated together with isolation lifecycle tests; registration does not prove that an unverified environment is isolated.

Repository Integration Gate commands run under the selected AIPS Python runtime, and test checks can bind an expected collected-test count so a no-op subprocess cannot masquerade as lifecycle evidence.

Trajectory Quality Gate 是 provider-neutral capability。Harness 可提供 observable events,但不應傳遞 private reasoning、secret 或 credential;評估結果仍由既有 Scenario Conformance 與 Human Authority 流程處理。

  • AUTOMATIC:integration 安裝狀態。
  • CONTEXT_ALWAYS:persistent instruction 每個工程 Turn 都要求取得 AIPS context。
  • TURN_NATIVE:Runtime 有可驗證 per-turn native hook。
  • TOOL_GUARDED:Runtime 有可驗證 pre-tool guard。
  • ADVISORY:規範可見,但不能宣稱技術攔截所有 Host native tools。

aips publish preflight 是 repository publication/CI consistency 層,不是 MCP 或 native Harness capability;它不提升上述治理強度,也不取得 push、merge 或 release authority。每個 Remote Git 候選仍必須通過 credential-free strict secret scan,涵蓋 final tree 與完整 base..head commit history;worktree 或 sandbox 隔離不能取代這項檢查。

aips isolation resolve --mode auto is an execution-isolation resolver exposed through the existing CLI. It selects worktree for ordinary risk and requires verified sandbox capability for high/critical or untrusted execution; this is not a new Runtime adapter capability. The initial E2B registry stays disabled and its optional smoke workflow does not receive project source.

Independent review uses the canonical Scheduler and Integration Gate contracts through the existing runtime surfaces. The capability is implemented but PR enforcement is currently disabled in the active Core Change Matrix. Harness does not provide reviewer attestation itself: without a trusted runtime verifier, explicitly required evidence remains UNVERIFIED and blocks the Gate.

若執行環境已有獨立且受信任的簽發者,可將外部 trust store 交給 review validator/Integration Gate 驗證 Ed25519 receipt;trust store 不得放在候選 repository。AIPS 不簽發執行隔離或唯讀權限證明,也不因只有合法簽章格式就認定審查獨立。

Runtime Content Safety Boundary 只在 AIPS-owned sink 或已驗證 native hook 上宣稱強制能力;MCP-only 或 unsupported host tools 維持 ADVISORY。安全掃描不會取得 Host-native tool interception 或 Human Authority。

  • The release-readiness check is evidence only: it never grants runtime capability or tag-writing authority.

Progressive disclosure ​

Turn Context 固定載入精簡的 SYSTEM_CORE.md,再依任務選擇 canonical orchestration 路徑。Codex、Claude Code 與 Gemini hook 都取得路由指標;SYSTEM.md 保留相容索引,不是固定系統層。

Workflow and Runtime adapters keep validation observation collection behind the existing repository Gate; their read-only artifact reports do not enable host actions, skip checks, or add Git publication authority.

Repository mutation workflows resolve AIPS Turn Context before analysis, then use Change Impact evidence before editing and refresh only the task-relevant Intelligence topics that Turn Context marks with refresh_required; commit-time publication gates additionally enforce public-repository identity and content-safety policy.

同步路徑只解析 identity、freshness、indexes 與 relevant pointers;重型 Project bootstrap、site build、semantic enrichment 不放進 hot path。

Ownership 與解除 ​

AIPS 只修改自己可辨識、可逆的 Managed Block / Hook / Extension。若內容被使用者修改到無法安全識別,uninstall 會保留並回報 conflict,不會暴力刪除。

Client-owned MCP config 不由 AIPS 自動寫入或刪除。

Portable Commands ​

The Project Intelligence impact-candidates command is a read-only review aid; its candidates never grant mutation authority or update canonical graph state.

The read-only aips run dashboard is a repository-scoped observation consumer and does not install a host integration or add mutation authority.

Evolution maintenance commands are also exposed through the checkout-root-aware CLI: aips evolution package, aips evolution analyze and aips evolution apply. They share the resolved project runtime; the apply path remains bounded by the existing Human decision and trial authorization.

Portable Commands 將同一個 Canonical ID(例如 aips.plan)渲染成 Slash Command、Skill 或 generic MCP bootstrap。Registry 位於 harness/commands/REGISTRY.yaml,CLI 可檢視、預覽與管理 AIPS-owned projections:

bash
aips commands list
aips commands render aips.plan --host cursor
aips commands install --host cursor
aips commands status

這些 projections 是薄包裝,不取代 Constitution、System 或 orchestration canonical sources,也不提供 Runtime-native enforcement、Git publish、merge、release、production 或 Human approval authority。使用者修改過的 projection 會保留並回報 CONFLICT。

Codex、Claude Code 與 Gemini CLI 也可用 aips commands install aips.grill-me --host <codex|claude|gemini> 安裝為 Host 原生 Skill;分別以 $grill-me 或 /grill-me 觸發。aips commands status --host <host> 檢視,aips commands uninstall aips.grill-me --host <host> 精確移除。共用路徑會保留其他 Host 的引用;使用者修改的檔案會保留並回報。

Publication Doctor guidance is shared across native adapters: expose stable reason codes and safe next steps, retain unknown policy evidence as blocking, and keep diagnosis separate from native permissions and merge authority. See Scenario 260.

以 docs/human 中的 Markdown 文件為網站來源。