常用工作流
与真实 CLI 对齐的短配方 — 首次会话、修测试、审计、回滚、嵌入。
第一次受治理会话
Section titled “第一次受治理会话”启动并检查
carina daemon startcarina doctor在仓库里跑
cd /path/to/your/repocarina run "Summarize the top-level layout of this repository"核对轨迹
carina sessionscarina audit SESSIONcarina audit verify SESSION
carina run "fix the failing test in parser.go and run the test"回滚错误补丁
Section titled “回滚错误补丁”carina patch list SESSIONcarina patch rollback SESSION PATCH_IDcarina audit verify SESSION查看 Agent 做了什么
Section titled “查看 Agent 做了什么”carina audit SESSIONcarina report SESSIONcarina items SESSION跑审查工作流
Section titled “跑审查工作流”mkdir -p .carina/workflowscp examples/workflows/review.json .carina/workflows/carina workflow run review嵌入 / 脚本
Section titled “嵌入 / 脚本”打开 方法目录 → 展开方法 → Playground → Mock,无需 daemon 也能看响应形状。
活 JSON-RPC 见 会话 API 示例或 SDK。
carina gateway methods # daemon/gateway 已启动时列出方法这个页面有帮助吗?
哪里有问题?
感谢反馈。
本次会话中每个页面仅记录一次投票。