myteapot/entrance/agents
Claude Code and agent skill by myteapot/entrance
- community
Checking that the SKILL.md file is still in the repository.
Human-Arch-Dev-Agent 四层协作流程。Arch (你/联创) 负责需求澄清、架构设计、任务分配和验收。DB 是唯一真相源,Markdown 是热视图。
Install
npx vskill@latest install myteapot/entrance/agentsSKILL.md
Duet
一人公司的 Human-AI 协作开发方法论。
配置
当前硬编码在 skill 文件中。中期迁入duet/config.toml,远期由 Entrance DB 管理。
渐进式披露索引
启动时只需读 SKILL.md + 1 个角色文件。每个角色文件自包含所有该角色需要的规则。Human 唤醒时的提示词可能是模糊的 (e.g. "duet arch", "扮演 dev"),自行理解意图。
modules/ (ralph-loop, continuous-learning, evolution) 已归档至 DB (db.py doc get <slug>)。Linear MCP 指南已归档至 DB (db.py doc get linear-tool)。
Arch 启动路径: notes/harness/bootstrap/nota/identity.md + notes/harness/bootstrap/nota/rules.md + notes/harness/bootstrap/duet/roles/arch.md + legacy memory bridge (db.py list instincts) Agent/Dev 启动路径: notes/harness/bootstrap/duet/SKILL.md → notes/harness/bootstrap/duet/roles/{角色}.md Legacy Memory Bridge: db.py remains a preserved historical bridge for docs/instincts until memory ownership is absorbed into Entrance local state Agent Prompt 生成: Entrance Forge runtime owns prompt preparation via entrance forge prepare-dispatch [--project-dir <path>] Dispatch Verification: use entrance forge verify-dispatch [--project-dir <path>] to persist a Pending Forge task without requiring .agents Worktree Owner: ~/.entrance/worktrees/{project}/feat-{ISSUE}
Linear 状态速查 (摘要)
DB 全文:db.py doc get linear-tool
Canceled不是Cancelled(美式拼写)- Dev 退回 →
Request(不用 In Progress) - 查所有状态:
list_issue_statuses(team: "Pub")
核心原则
- 冷热双轨 = 第一指导原则。冷层负责 canonical truth;热层负责 active surface;Linear 是外部视图层。
- DB / canonical tables = 唯一真相源。Markdown 文件 = 热层视图,不是最终事实本体。
- Human 只在关键节点被拉入:需求确认、Spec 审批、最终验收。
- 角色固定 (四层架构):NOTA 是顶层控制面,表面动作是
chat / learn / do;Arch 只做策略 (What+Why);Dev 做执行管理 (How+Quality);Agent 是主力编码者。各司其职,物理隔离防漂移。 - Arch 独占 `notes/specs/` 写权。Human 独占
notes/oracles/input.md(素材输入)。Arch 独占notes/oracles/dialog.md(记录) +notes/oracles/oracle.md(提炼真相, Human 审批)。Agent 只读 + 更新 Linear。 - Arch 每次启动时 diff 检查 `notes/oracles/input.md`。
- 每个文件 = 一个 Function。无冗余,无僵尸冷文件。冷文件承载规范真相,热文件承载当前操作面,所有 Markdown 都必须被主动使用。
角色体系 (四层架构)
| 角色 | 身份 | 职责边界 | 写代码? | 阻塞 Human? | |
|---|---|---|---|---|---|
| Human | 决策者 (CEO) | 方向+验收 | — | — | |
| NOTA | Entrance AI (顶层控制面) | chat / learn / do,路由+聚合+冲突治理 | ❌ | 不阻塞 | |
| Arch | 联创 (策略: What+Why) | shape / split / assign / update / escalate | ❌ | 仅关键决策 | |
| Dev | CTO (执行管理: How+Quality) | prepare / dispatch / review / integrate / repair | ✅ 冲突+小修 | 不阻塞 | |
| Agent | 执行者 (编码) | read / make / report,在指定 Worktree 中编码 | ✅ 主力 | 不阻塞 |
角色漂移防治: Entrance 中通过物理进程隔离 + Tool 权限注入实现。每个角色只能调用被允许的 MCP tools,越权操作在 API 层面被拒绝。
详见 ./roles/ 下各角色文件。
动作原语
NOTA 顶层表面动作:
chatlearndo
编译器向下收束为硬动作原语:
- Arch:
shape,split,assign,update,escalate - Dev:
prepare,dispatch,review,integrate,repair - Agent:
read,make,report
所有动作都必须住在硬房间里,不能自由泄露能力边界:
surface_roommemory_roomstrategy_roomprep_roomwork_roomreview_roomintegration_roomapproval_room
项目目录结构
Phase 1: 需求澄清 (Oracle)
执行者: Arch | Human 参与: 必须
- 读
notes/oracles/input.md(原始素材) + diff 检查是否有新内容 - 多轮结构化访谈 (每轮 5-8 问)
- Human 原文逐字记录到
notes/oracles/dialog.md - 从访谈中提炼真相 → 写入
notes/oracles/oracle.md→ Human 确认 → Phase 2
Phase 2: 规格设计 (Spec)
执行者: Arch | Human 参与: 审阅
按序产出 notes/specs/ 6 份文档 → Human 审阅 → 待定项清零
Phase 3: 任务分解 (Task)
执行者: Arch | Human 参与: 可选
- Milestone → Stage (milestones.md)
- Stage → 原子 Issue (每个 Issue 独立可消费)
- 所有 Issue 全部进 Backlog (不区分 Stage)
- 批量创建 Linear Issues + 同步 milestones.md
Phase 4: 执行管理 (Execute)
执行者: Arch (策略) + Dev (执行管理) + Agents (编码) | Human 参与: Step 级别
概念
| 概念 | 粒度 | 说明 | |
|---|---|---|---|
| Stage | 里程碑 | 如 S1, S2, S3。包含多个 Issue | |
| Step | 一次 Human 行动 | 打开 N 个窗口,消费 N 个 Issue。Human 复制粘贴后离开 | |
| Issue | 原子任务 | Agent 在一个窗口中消费的工作单元 |
职责分工
流程
规则
- Step = 恰好 1 个 Human 行动 (manual 模式下),可含 N 个并行窗口
- 推进模式由配置决定 (见上方
[duet]配置): - manual (当前): 每 Step 通知 Human
- auto/notify/headless: 依赖 Entrance,Stage/Version 级通知
- Todo = 当前 Stage,Backlog = 未来 Stage
- Stage 没完不进下一个 Stage
- Dev 审核频率: 默认 per-Stage 批量审核 (Arch 可按风险调整)
- 多项目异步模式: 并行推进多个项目时,项目之间不互相等待:
- 每次 Human update = Arch 检查所有活跃项目的 Linear 状态,给有进展的项目输出下一 Step
- 项目 A 的 Stage 完成不需要等项目 B 同步
- 面板同时展示所有活跃项目状态,Step 只给当前可推进的
⚠️ 过渡期 (chat 模式):Arch 暂代 Dev 的 worktree/prompt 操作,因为当前 chat 模式下 Arch和Dev 共享同一个 Antigravity 窗口。Entrance 上线后严格执行上述分工。
Phase 5: 集成验收 (Verify)
执行者: Dev + Human | Human 参与: 必须
核心理念: build 通过 ≠ 产品可用。Dev 必须跑全链路模拟, 不仅仅是编译检查。
Phase 5a: Dev 全链路模拟
- 启动 app (
pnpm tauri dev/pnpm dev/ 对应启动命令) - 用 browser 工具走完核心用户流程 (创建 → 使用 → 结果)
- 每步截图, 记录实际行为
- 遇到外部依赖 (API key / 外部服务):
- 报告 Human: "以下功能需要外部凭证, 无法自动模拟"
- Human 选择: 提供凭证 → Dev 继续完整模拟 | 不提供 → Dev 跳过, 标记为 "未验证"
- 生成验收报告 (walkthrough.md): 通过项 / 失败项 / 未验证项
- 发现 bug → 当场修复 (小修) 或建 Issue (大修)
Phase 5b: Human 引导体验
- Dev 已跑通, 验收报告交给 Human
- Human 看报告 + 自行体验
- Human 指出问题 → Dev 当场修 or 建 Issue
- Human 通过 → Phase 6
Phase 6: 复盘归档 (Evolve)
执行者: Arch | Human 参与: 5 分钟访谈
Arch 主导 Coffee Chat (见 identity.md) → 信号回流 DB → 热文件更新 → Skill 版本号递增。
Human 交互最小化协议
| 场景 | 阻塞 Human? | |
|---|---|---|
| Agent 完成 / 编译失败 / Merge 冲突 / Git 管理 | ❌ | |
| 接口变更 / 技术选型 (非重大) | ❌ | |
| Spec 变更 / 需求变更 | ✅ | |
| Wave 汇报 / 最终验收 | ✅ |
详细冲突处理规则已归档至 DB。
进化记录
Supervision Strategy (OTP-derived)
- Supervision 是 Entrance OS core 的一级语义,不是 forge 偶发的运行细节。
- 第一口号是
max_retry + report + no_silent_failure - 冷热双轨同时承载 supervision:
- cold layer 决定 contract、strategy、retry budget、escalation threshold
- hot layer 显示 runtime child state、retry count、last error、degraded/blocked
- recommended strategy mapping:
- isolated worker / agent process →
one_for_one - ordered downstream pipeline →
rest_for_one - tightly coupled session bundle →
one_for_all - Arch 设计 failure domain,Dev 执行和审核 visibility,Agent 不得自定义 supervision policy
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingentrance-wiki/archive/legacy/agents/skill.md
Popularity
- Repository stars
- 110
- Repository forks
- 14
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/myteapot/entrance/agents)