Loading...
Loading...
Compare original and translation side by side
/aif-plan.ai-factory/RESEARCH.md/aif-plan.ai-factory/RESEARCH.md.ai-factory/config.yamlpaths.descriptionpaths.architecturepaths.rules_filepaths.roadmappaths.researchpaths.planpaths.planspaths.ruleslanguage.ui.ai-factory/en.ai-factory/config.yamlpaths.descriptionpaths.architecturepaths.rules_filepaths.roadmappaths.researchpaths.planpaths.planspaths.ruleslanguage.ui.ai-factory/en.ai-factory/RESEARCH.mdpaths.descriptionpaths.architecturepaths.roadmappaths.rules_file.ai-factory/RESEARCH.mdpaths.descriptionpaths.architecturepaths.roadmappaths.rules_file+-----------------------------------------+
| Use ASCII diagrams liberally |
+-----------------------------------------+
| |
| +--------+ +--------+ |
| | State |-------->| State | |
| | A | | B | |
| +--------+ +--------+ |
| |
| System diagrams, state machines, |
| data flows, architecture sketches, |
| dependency graphs, comparison tables |
| |
+-----------------------------------------++-----------------------------------------+
| Use ASCII diagrams liberally |
+-----------------------------------------+
| |
| +--------+ +--------+ |
| | State |-------->| State | |
| | A | | B | |
| +--------+ +--------+ |
| |
| System diagrams, state machines, |
| data flows, architecture sketches, |
| dependency graphs, comparison tables |
| |
+-----------------------------------------+.ai-factory/skill-context/aif-explore/SKILL.md/aif-evolve.ai-factory/skill-context/aif-explore/SKILL.md/aif-evolve.ai-factory/DESCRIPTION.md.ai-factory/ARCHITECTURE.md/clear<configured plans dir>/<branch>.md.ai-factory/DESCRIPTION.md.ai-factory/ARCHITECTURE.md/clear<configured plans dir>/<branch>.md/aif-explore.ai-factory/plans/<name>.md/aif-explore.ai-factory/plans/<name>.md/aif-plan/aif-plan<configured plans dir>/<branch>.md/clear| Insight Type | Capture Now (Explore) | Later (Optional) |
|---|---|---|
| New requirement | | |
| Architecture decision | | |
| Project convention | | |
| Strategic direction | | |
| Assumption invalidated | | Relevant file |
| Exploration context (persisted) | | (keep in research) |
| New task/feature | Run | |
/clear<configured plans dir>/<branch>.md/clear| 见解类型 | 现在记录(探索阶段) | 后续操作(可选) |
|---|---|---|
| 新需求 | | |
| 架构决策 | | |
| 项目约定 | | |
| 战略方向 | | |
| 已推翻的假设 | | 相关文件 |
| 已保存的探索上下文 | | 保留在research中 |
| 新任务/功能 | 执行 | |
/clearpaths.researchpaths.research/clearSave these exploration results to the resolved research path so we can /clear and /aif-plan can reuse them?
Options:
1. Yes — update Active Summary + append a new Session (recommended)
2. Yes — update Active Summary only
3. Nomkdir -p "$(dirname "<resolved research path>")"undefined/clear是否要将这些探索结果保存到已确定的研究路径中?这样我们可以执行/clear,之后/aif-plan也能复用这些内容?
选项:
1. 是——更新活动摘要 + 添加新的会话记录(推荐)
2. 是——仅更新活动摘要
3. 否mkdir -p "$(dirname "<resolved research path>")"undefined
- Update the `Updated:` timestamp
- Replace only the content inside `aif:active-summary:start/end`
- If user selected option (1), append a new session entry just before `<!-- aif:sessions:end -->`:
```markdown
- 更新`Updated:`时间戳
- 仅替换`aif:active-summary:start/end`之间的内容
- 如果用户选择选项(1),在`<!-- aif:sessions:end -->`之前添加新的会话条目:
```markdown
Keep prior sessions verbatim (do not rewrite history).
---
保留之前的会话记录(不要改写历史)。
---User: I'm thinking about adding real-time collaboration
You: Real-time collab is a big space. Let me think about this...
COLLABORATION SPECTRUM
Awareness Coordination Sync
| | |
v v v
+--------+ +--------+ +--------+
|Presence| |Cursors | | CRDT |
| "3 | | Multi | |Conflict|
|online" | | select | | free |
+--------+ +--------+ +--------+
| | |
trivial moderate complex
Where's your head at?User: The auth system is a mess
You: [reads codebase]
+---------------------------------------------+
| CURRENT AUTH FLOW |
+---------------------------------------------+
|
+-------------+-------------+
v v v
+---------+ +---------+ +---------+
| Google | | GitHub | | Email |
| OAuth | | OAuth | | Magic |
+----+----+ +----+----+ +----+----+
| | |
+-------------+-------------+
v
+-----------+
| Session |
+-----+-----+
|
v
+-----------+
| Perms |
+-----------+
I see three tangles. Which one's burning?User: /aif-explore add-auth-system
The OAuth integration is more complex than expected
You: [reads plan from .ai-factory/plans/add-auth-system.md]
You're on task 4: "Implement OAuth flow"
Let me trace what's involved...
[draws diagram, explores options, suggests paths]
Want to update the plan to reflect this?
Or add a spike task to investigate?User: Should we use Postgres or SQLite?
You: Generic answer is boring. What's the context?
User: A CLI tool that tracks local dev environments
You: That changes everything.
+---------------------------------------------+
| CLI TOOL DATA STORAGE |
+---------------------------------------------+
Key constraints:
* No daemon running
* Must work offline
* Single user
SQLite Postgres
Deployment embedded ok needs server no
Offline yes ok no no
Single file yes ok no no
SQLite. Not even close.
Unless... is there a sync component?用户:我在考虑添加实时协作功能
你:实时协作是一个很大的领域。让我梳理一下...
协作范围图谱
感知 协调 同步
| | |
v v v
+--------+ +--------+ +--------+
|在线状态| |多光标 | | CRDT |
| "3人 | | 选择 | |无冲突 |
|在线" | | | |同步 |
+--------+ +--------+ +--------+
| | |
实现简单 中等难度 复杂实现
你更倾向于哪个方向?用户:认证系统一团糟
你:[读取代码库]
+---------------------------------------------+
| 当前认证流程 |
+---------------------------------------------+
|
+-------------+-------------+
v v v
+---------+ +---------+ +---------+
| Google | | GitHub | | 邮箱 |
| OAuth | | OAuth | | 魔法链接|
+----+----+ +----+----+ +----+----+
| | |
+-------------+-------------+
v
+-----------+
| 会话管理 |
+-----+-----+
|
v
+-----------+
| 权限控制 |
+-----------+
我发现了三个混乱点。哪个是你最头疼的?用户:/aif-explore add-auth-system
OAuth集成比预期的更复杂
你:[读取.ai-factory/plans/add-auth-system.md中的规划]
你现在处于任务4:"实现OAuth流程"
让我梳理一下涉及的内容...
[绘制图表,探索选项,建议方案]
需要更新规划以反映这些情况吗?
或者添加一个专项任务来调研?用户:我们应该用Postgres还是SQLite?
你:泛泛的回答没有意义。上下文是什么?
用户:一个跟踪本地开发环境的CLI工具
你:这完全改变了结论。
+---------------------------------------------+
| CLI工具数据存储对比 |
+---------------------------------------------+
核心约束:
* 无需后台进程运行
* 必须支持离线使用
* 单用户场景
SQLite Postgres
部署方式 嵌入式可用 需要服务器 不可用
离线支持 支持 不支持
单文件存储 支持 不支持
选SQLite,没有悬念。
除非...有没有同步需求?/aif-planundefined/aif-planundefined
But this summary is optional. Sometimes the thinking IS the value.
---
但这个总结是可选的。有时候思考过程本身就是价值所在。
---