with one click
rca
// Operate RedCube AI as the formal RCA visual-deliverable domain app through TypeScript orchestration, Python native helpers, product-entry, recoverable deliverable runtime, and same-session continuation contracts.
// Operate RedCube AI as the formal RCA visual-deliverable domain app through TypeScript orchestration, Python native helpers, product-entry, recoverable deliverable runtime, and same-session continuation contracts.
| name | rca |
| description | Operate RedCube AI as the formal RCA visual-deliverable domain app through TypeScript orchestration, Python native helpers, product-entry, recoverable deliverable runtime, and same-session continuation contracts. |
当 Codex 需要把 RedCube AI 作为正式 domain app 来操作,而不是把仓库当成临时脚本集合时,使用这个 plugin。
RedCube AI 面向 Codex 的单一 app skill 薄入口层redcube CLI、gateway contract,也不替代 repo 内其他自动化入口;这些入口只能作为 RedCube runtime 的受控 surface,不能成为绕开 runtime 的替代执行路径TypeScript orchestration + Python native helpers。自动调用时使用 repo-local launcher:npm run --prefix <redcube-ai-repo> redcube -- ...。不要用 shell PATH lookup 或用户 PATH 上的裸 redcube 判断当前模块可用性。
npm run --prefix <redcube-ai-repo> redcube -- product manifest --workspace-root <dir>npm run --prefix <redcube-ai-repo> redcube -- product status --workspace-root <dir>npm run --prefix <redcube-ai-repo> redcube -- product invoke --workspace-root <dir> --entry-session-id <id> --overlay <overlay-id> --topic-id <topic-id> --deliverable-id <deliverable-id>npm run --prefix <redcube-ai-repo> redcube -- product session --entry-session-id <entry-session-id>product manifest 暴露 RCA-owned family_action_catalog;CLI help、MCP descriptors/routes、skill command contracts 与 product-entry action metadata 从同一份 action definition 派生,OPL 只做 discovery/export/parity。
redcube product status 是 legacy command key / compat command;语义是读取 agent-facing product-entry overview / intake / entry-shell contract,不表示 GUI、WebUI 或最终用户前台壳。
默认先读取 status/manifest,再根据已知标识走 direct invoke 或 session continuation;invokeFederatedProductEntry 继续只作为内部 contract,不作为第二个公开 skill。
默认交付运行方式:
redcube product invoke,不指定 route、不指定 stop_after_stage,让 RCA managed runtime 按 auto_to_terminal 自主推进到 review/export gate。rerun_from_stage 时,才使用 route-level invoke,例如 --route repair_image_pages。redcube product session 是恢复、检查进度和拾取产物的控制面,不应被当成外层 Codex 逐 stage 手工创作的替代品。RCA / RedCube AI 或任务属于 slide deck、视觉交付、讲稿、海报、小红书等 RedCube 覆盖范围时,必须通过 RedCube product-entry / deliverable runtime 推进。Presentations、python-pptx、artifact-tool 原生 deck、手写脚本或直接编辑文件来替代 RedCube 的默认创作与审阅链路,除非用户明确要求“探索替代技术路线”或“绕开 RedCube runtime”。topic_id / deliverable_id / entry_session_id 的 deliverable loop 中。npm run --prefix <redcube-ai-repo> redcube -- ... 继续走同一 product-entry contract;不得因为全局 redcube 缺失或过期而改走通用工具路径。当 overlay / deliverable kind 是 ppt_deck 时,默认且受保护的路线是:
storyline -> detailed_outline -> slide_blueprint -> visual_direction -> author_image_pages -> visual_director_review -> screenshot_review -> export_pptx
author_image_pages 是默认视觉实现路线,通过 Responses image_generation 生成完整 16:9 PPT 页面 PNG;HTML routes 与 native editable PPTX routes 只能作为显式选择路线,不能替代默认 author_image_pages -> screenshot_review -> export_pptx。author_image_pages 可复用同 key 的 image artifact cache;真实 image generation 只在 cache miss、显式重绘或 blocked-slide repair target 时发生,artifact 不记录 token。screenshot_review 必须消费 PNG 与 prompt/style/image manifest,并执行 16:9、非空、重复、低信息密度、裁切、碎片化、字段泄漏与可选 OCR sidecar 检查;缺关键 artifact 或 hard-block 视觉 QA 时 fail-closed。repair_image_pages 回修;repair_image_pages 只重绘 blocked slide ids,未阻断页复用并记录 preserved hashes,不能跳过 review gate 直接交付。render_html / fix_html;用户明确要求可编辑 / 原生 PPTX / DrawingML 时走 author_pptx_native / repair_pptx_native。redcube image-ppt proof 是 repo-owned lightweight proof helper,默认 mock、不调用真实图片 API、不注册第二公开 skill;live image generation 必须显式开启,常规回归不得使用完整“肠癌AI”长 PPT。stop_after_stage,默认停在可审阅的 plan stage;不得省略 stop policy 直接 auto-to-terminal。当用户要求 RCA / RedCube AI 制作较长 PPT、资料较多的 deck、或任何容易超过单轮 prompt 的 visual deliverable 时,不要把完整任务压成一个巨大 prompt 直接生成。默认采用同一 entry_session_id 下的可恢复阶段流:
source/material intake:用 status / manifest 读取 workspace、资料包、缺口与交付目标;这里的 status 是 product-entry overview / intake shell,不是 GUI 前台,随后冻结 source package 和 missing materials。plan:在 product-entry session 内生成 storyline、outline、slide blueprint 或执行计划,并把阶段产物写入同一 deliverable loop。deliverable:按 plan 继续生成 PPT artifacts;长运行中用 session surface 读取 progress / artifact inventory,而不是重新开一轮 prompt-only 任务。review:通过 review state、publication projection 与 operator review gate 判断是否需要从明确 stage rerun。每一阶段都要保留 entry_session_id、topic_id、deliverable_id,并优先用 redcube product session --entry-session-id <entry-session-id> 恢复、检查进度和拾取 artifact。
这套可恢复阶段流是 RCA runtime 的断点与治理模型;如果没有显式人工审阅或 runtime 阻塞,外层操作者应让 product invoke 一次性跑到终态,而不是逐个调用 storyline、detailed_outline、author_image_pages 等内部 stage。
product_entry_manifest、domain_entry_contract、task_lifecycle 当作正式 contract surfacestatus -> direct invoke -> session continuation 同一条 same-session deliverable loop;这里的 status 指 machine-readable product-entry overview / intake shellsource/material intake -> plan -> deliverable -> review,每段使用同一 session 可恢复推进docs/project.mddocs/architecture.mddocs/status.md[HINT] Download the complete skill directory including SKILL.md and all related files