@sushanglewis/lincoln 1.5.5 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +425 -51
- package/dist/main.js.map +1 -1
- package/dist/postinstall.d.ts +9 -2
- package/dist/postinstall.js +812 -6
- package/dist/postinstall.js.map +1 -1
- package/framework/.claude/agents/architect.md +15 -15
- package/framework/.claude/agents/default.md +118 -104
- package/framework/.claude/agents/designer.md +16 -51
- package/framework/.claude/agents/engineer.md +16 -25
- package/framework/.claude/agents/frontend-engineer.md +15 -16
- package/framework/.claude/agents/knowledge-curator.md +18 -15
- package/framework/.claude/agents/pm.md +16 -75
- package/framework/.claude/agents/qa.md +17 -13
- package/framework/.claude/agents/release-coordinator.md +18 -12
- package/framework/.claude/agents/researcher.md +16 -26
- package/framework/.claude/harnesses/command-map.yaml +13 -6
- package/framework/.claude/hooks/on-session-start.sh +0 -1
- package/framework/.claude/schemas/agent-definition.schema.json +6 -1
- package/framework/.claude/schemas/stage-definition.schema.json +49 -4
- package/framework/.claude/skills/build-product-prototype/prompts/main.md +89 -26
- package/framework/.claude/skills/clarify-requirements/prompts/main.md +80 -14
- package/framework/.claude/skills/draft-product-design/prompts/main.md +24 -12
- package/framework/.claude/skills/lc-build-codebase-knowledge/SKILL.md +2 -0
- package/framework/.claude/skills/lc-explore-opensource/SKILL.md +2 -0
- package/framework/.claude/skills/lc-init-branch/SKILL.md +2 -2
- package/framework/.claude/skills/lc-market-research/SKILL.md +1 -1
- package/framework/.claude/skills/lc-one-id/SKILL.md +81 -0
- package/framework/.claude/skills/lc-one-id/prompts/main.md +35 -0
- package/framework/.claude/skills/lc-stakeholder-research/SKILL.md +1 -1
- package/framework/.claude/skills/lc-workflow-router/SKILL.md +2 -0
- package/framework/.claude/stages/build-codebase-knowledge.yaml +10 -10
- package/framework/.claude/stages/clarify.yaml +21 -15
- package/framework/.claude/stages/explore-opensource.yaml +13 -10
- package/framework/.claude/stages/implement.yaml +11 -11
- package/framework/.claude/stages/ingest.yaml +13 -10
- package/framework/.claude/stages/lc-analyze-frameworks.yaml +13 -10
- package/framework/.claude/stages/lc-collect-intelligence.yaml +13 -10
- package/framework/.claude/stages/lc-competitive-analysis.yaml +13 -10
- package/framework/.claude/stages/lc-first-principles.yaml +13 -10
- package/framework/.claude/stages/lc-market-research.yaml +13 -10
- package/framework/.claude/stages/lc-product-research.yaml +13 -10
- package/framework/.claude/stages/lc-research-report.yaml +13 -10
- package/framework/.claude/stages/lc-research-scope.yaml +13 -10
- package/framework/.claude/stages/lc-stakeholder-research.yaml +13 -10
- package/framework/.claude/stages/lc-storytelling.yaml +13 -10
- package/framework/.claude/stages/product-design-docs.yaml +30 -18
- package/framework/.claude/stages/product-prototype.yaml +20 -17
- package/framework/.claude/stages/propose.yaml +16 -9
- package/framework/.claude/stages/split.yaml +13 -9
- package/framework/.claude/stages/sync-knowledge.yaml +20 -9
- package/framework/.claude/stages/tdd-development-plan.yaml +17 -9
- package/framework/.claude/stages/workflow-router.yaml +17 -13
- package/framework/.claude/workflows/bug-fix.yaml +1 -0
- package/framework/.claude/workflows/existing-project-iteration.yaml +1 -0
- package/framework/.claude/workflows/interview-to-knowledge.yaml +1 -0
- package/framework/.claude/workflows/oss-first-design.yaml +1 -0
- package/framework/.claude-plugin/marketplace.json +2 -2
- package/framework/.claude-plugin/plugin.json +2 -1
- package/framework/.version-bump.json +1 -1
- package/framework/README.en.md +15 -2
- package/framework/README.md +16 -3
- package/framework/RELEASE.md +48 -0
- package/framework/manifest.json +94 -74
- package/framework/scripts/check-prompt-drift.py +132 -1
- package/framework/scripts/extract_release_notes.py +79 -0
- package/framework/scripts/init-lincoln-branch.sh +6 -0
- package/framework/scripts/lincoln_command_map.py +1 -1
- package/framework/scripts/lincoln_id.py +333 -0
- package/framework/scripts/lincoln_index.py +10 -0
- package/framework/scripts/lincoln_prd.py +16 -17
- package/framework/scripts/lincoln_render.py +657 -0
- package/framework/scripts/run-infrastructure-tests.py +2 -0
- package/framework/scripts/stage_loader.py +149 -2
- package/framework/scripts/static-check.sh +1 -1
- package/framework/scripts/update_readme_version.py +149 -0
- package/framework/scripts/validate_stage.py +80 -1
- package/framework/tools/lincoln/package-lock.json +2 -2
- package/framework/tools/lincoln/package.json +1 -1
- package/framework/tools/lincoln-installer/package-lock.json +2 -2
- package/framework/tools/lincoln-installer/package.json +1 -1
- package/package.json +2 -2
- package/framework/.claude/agents/_contract.md +0 -79
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
schema_version:
|
|
1
|
+
schema_version: 3.0.0
|
|
2
2
|
id: product-prototype
|
|
3
3
|
name: Product Prototype
|
|
4
|
-
description:
|
|
5
|
-
|
|
6
|
-
- interview-to-knowledge
|
|
7
|
-
- existing-project-iteration
|
|
4
|
+
description: 基于已确认设计文档生成字段规格、UI 规格和可交互 HTML 原型(pages/prototype/**/*.html)。Pencil 原型(prototype.pen)为可选,由 UI 在 UX 节点之后按需产出。
|
|
5
|
+
workflows:
|
|
8
6
|
- design-spike
|
|
7
|
+
- existing-project-iteration
|
|
8
|
+
- interview-to-knowledge
|
|
9
9
|
- oss-first-design
|
|
10
10
|
prerequisite_stage: product-design-docs
|
|
11
11
|
next_stage: tdd-development-plan
|
|
12
12
|
human_gate: true
|
|
13
|
+
execution_mode: both
|
|
14
|
+
primary_action: build-product-prototype
|
|
15
|
+
variables:
|
|
16
|
+
- process_slug
|
|
17
|
+
- design_id
|
|
18
|
+
artifact_templates:
|
|
19
|
+
'{process_slug}/pages/docs/ui-spec.html': .claude/templates/issue-package/page-doc-structured.html.tpl
|
|
20
|
+
'{process_slug}/pages/docs/fields.html': .claude/templates/issue-package/page-doc-structured.html.tpl
|
|
21
|
+
'{process_slug}/pages/prototype/**/*.html': .claude/templates/issue-package/page-prototype-structured.html.tpl
|
|
13
22
|
agent:
|
|
14
23
|
primary: lc-designer
|
|
15
24
|
reviewers:
|
|
@@ -31,19 +40,13 @@ artifacts:
|
|
|
31
40
|
- '{process_slug}/pages/prototype/**/*.html'
|
|
32
41
|
optional:
|
|
33
42
|
- '{process_slug}/designs/{design_id}/prototype.pen'
|
|
43
|
+
references:
|
|
44
|
+
skill_prompt: .claude/skills/build-product-prototype/SKILL.md
|
|
45
|
+
agent_guide: .claude/agents/designer.md
|
|
34
46
|
context:
|
|
35
|
-
goal: 将已确认的产品设计文档转化为开发可用的 UI/字段规格 HTML 文档与高保真 HTML
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- 禁止修改 {process_slug}/recordings/ 中的原始文件。
|
|
39
|
-
|
|
40
|
-
- 本阶段设有 human_gate,必须获得人类 PM 显式确认后才能进入下一阶段。
|
|
41
|
-
|
|
42
|
-
- `{process_slug}/pages/prototype/**/*.html` 为 required 高保真 HTML 交互原型;`prototype.pen` 为 optional UI 阶段产物。
|
|
43
|
-
|
|
44
|
-
- 门控评估优先使用 AI 能力:读取产物并推理其完整性,而非仅依赖脚本化检查。
|
|
45
|
-
|
|
46
|
-
- 详细执行步骤、模板与工具见对应 skill prompt 和 .claude/agents/<primary_agent>.md。'
|
|
47
|
+
goal: 将已确认的产品设计文档转化为开发可用的 UI/字段规格 HTML 文档与高保真 HTML 交互原型。HTML 原型是本阶段的主要评审产物;`prototype.pen` 由 UI 在 UX 节点之后按需产出,在本阶段视为 optional。所有产物通过 {process_slug}/index.html 门户访问。
|
|
48
|
+
execution: 调用 build-product-prototype skill 基于已确认的设计文档生成 fields.html、ui-spec.html 以及 pages/prototype/ 下的高保真 HTML 交互原型;Pencil 原型(prototype.pen)为 optional,仅在 PM 明确要求时由 UI 在 UX 节点之后产出。
|
|
49
|
+
constraints: '- `{process_slug}/pages/prototype/**/*.html` 为 required 高保真 HTML 交互原型;`prototype.pen` 为 optional UI 阶段产物。'
|
|
47
50
|
gates:
|
|
48
51
|
entry:
|
|
49
52
|
- check: previous_stage_completed
|
|
@@ -1,13 +1,22 @@
|
|
|
1
|
-
schema_version:
|
|
1
|
+
schema_version: 3.0.0
|
|
2
2
|
id: propose
|
|
3
3
|
name: Propose
|
|
4
4
|
description: 'Generates a complete OpenSpec change proposal including
|
|
5
5
|
|
|
6
6
|
proposal.md, design.md, tasks.md, and specs/ directory.'
|
|
7
|
-
|
|
7
|
+
workflows:
|
|
8
|
+
- bug-fix
|
|
9
|
+
- existing-project-iteration
|
|
10
|
+
- interview-to-knowledge
|
|
11
|
+
- oss-first-design
|
|
8
12
|
prerequisite_stage: tdd-development-plan
|
|
9
13
|
next_stage: split
|
|
10
14
|
human_gate: false
|
|
15
|
+
execution_mode: both
|
|
16
|
+
primary_action: propose-with-openspec
|
|
17
|
+
variables:
|
|
18
|
+
- process_slug
|
|
19
|
+
- change_name
|
|
11
20
|
agent:
|
|
12
21
|
primary: lc-engineer
|
|
13
22
|
reviewers:
|
|
@@ -16,6 +25,7 @@ agent:
|
|
|
16
25
|
handoff_to: lc-pm
|
|
17
26
|
skills:
|
|
18
27
|
required:
|
|
28
|
+
- lincoln:propose-with-openspec
|
|
19
29
|
- openspec:propose
|
|
20
30
|
optional:
|
|
21
31
|
- superpowers:verification-before-completion
|
|
@@ -26,16 +36,13 @@ artifacts:
|
|
|
26
36
|
- '{process_slug}/openspec/changes/{change_name}/design.md'
|
|
27
37
|
- '{process_slug}/openspec/changes/{change_name}/tasks.md'
|
|
28
38
|
- '{process_slug}/openspec/changes/{change_name}/specs/'
|
|
39
|
+
references:
|
|
40
|
+
skill_prompt: .claude/skills/propose-with-openspec/SKILL.md
|
|
41
|
+
agent_guide: .claude/agents/engineer.md
|
|
29
42
|
context:
|
|
30
43
|
goal: 基于已确认的 TDD 研发计划,调用 OpenSpec CLI 生成标准变更提案 artifact 目录(`{process_slug}/openspec/changes/{change_name}/`),将
|
|
31
44
|
TDD 计划转化为结构化的 OpenSpec 变更提案,作为后续 GitHub Issues 拆分和研发实现的依据。
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
- 禁止修改 {process_slug}/recordings/ 中的原始文件。
|
|
35
|
-
|
|
36
|
-
- 门控评估优先使用 AI 能力:读取产物并推理其完整性,而非仅依赖脚本化检查。
|
|
37
|
-
|
|
38
|
-
- 详细执行步骤、模板与工具见对应 skill prompt 和 .claude/agents/<primary_agent>.md。'
|
|
45
|
+
execution: 调用 propose-with-openspec skill,通过 OpenSpec CLI 读取 tdd-plan.html 并生成标准变更提案目录,包含 proposal.md、design.md、tasks.md 与 specs/,作为后续 GitHub Issues 拆分与研发实现的依据。
|
|
39
46
|
gates:
|
|
40
47
|
entry:
|
|
41
48
|
- check: previous_stage_completed
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
schema_version:
|
|
1
|
+
schema_version: 3.0.0
|
|
2
2
|
id: split
|
|
3
3
|
name: Split
|
|
4
4
|
description: 'Breaks OpenSpec tasks into parallel, independently implementable
|
|
5
5
|
|
|
6
6
|
GitHub Issues with clear boundaries and acceptance criteria.'
|
|
7
|
-
|
|
7
|
+
workflows:
|
|
8
|
+
- bug-fix
|
|
9
|
+
- existing-project-iteration
|
|
10
|
+
- interview-to-knowledge
|
|
11
|
+
- oss-first-design
|
|
8
12
|
prerequisite_stage: propose
|
|
9
13
|
next_stage: implement
|
|
10
14
|
human_gate: false
|
|
15
|
+
execution_mode: both
|
|
16
|
+
primary_action: split-to-github
|
|
11
17
|
agent:
|
|
12
18
|
primary: lc-pm
|
|
13
19
|
reviewers:
|
|
@@ -16,6 +22,7 @@ agent:
|
|
|
16
22
|
handoff_to: lc-engineer
|
|
17
23
|
skills:
|
|
18
24
|
required:
|
|
25
|
+
- lincoln:split-to-github
|
|
19
26
|
- superpowers:dispatching-parallel-agents
|
|
20
27
|
optional:
|
|
21
28
|
- gsd:phase
|
|
@@ -23,15 +30,12 @@ skills:
|
|
|
23
30
|
artifacts:
|
|
24
31
|
required:
|
|
25
32
|
- .github/linked-issues.yaml
|
|
33
|
+
references:
|
|
34
|
+
skill_prompt: .claude/skills/split-to-github/SKILL.md
|
|
35
|
+
agent_guide: .claude/agents/pm.md
|
|
26
36
|
context:
|
|
27
37
|
goal: 将 OpenSpec 变更提案中的 tasks 拆分为可执行的 GitHub Issues,建立从需求到代码追踪的完整链路。
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
- 禁止修改 {process_slug}/recordings/ 中的原始文件。
|
|
31
|
-
|
|
32
|
-
- 门控评估优先使用 AI 能力:读取产物并推理其完整性,而非仅依赖脚本化检查。
|
|
33
|
-
|
|
34
|
-
- 详细执行步骤、模板与工具见对应 skill prompt 和 .claude/agents/<primary_agent>.md。'
|
|
38
|
+
execution: 调用 split-to-github skill 读取 OpenSpec 变更提案中的 tasks,拆分为边界清晰、可独立实施的 GitHub Issues,并写入 .github/linked-issues.yaml 维护任务与 issue 的双向映射。
|
|
35
39
|
gates:
|
|
36
40
|
entry:
|
|
37
41
|
- check: previous_stage_completed
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
schema_version:
|
|
1
|
+
schema_version: 3.0.0
|
|
2
2
|
id: sync-knowledge
|
|
3
3
|
name: Sync Knowledge
|
|
4
4
|
description: 'After PR merge, updates Obsidian vault and archives milestone
|
|
@@ -6,16 +6,30 @@ description: 'After PR merge, updates Obsidian vault and archives milestone
|
|
|
6
6
|
artifacts, generating feature docs, decision docs, and interview
|
|
7
7
|
|
|
8
8
|
summaries.'
|
|
9
|
-
|
|
9
|
+
workflows:
|
|
10
|
+
- bug-fix
|
|
11
|
+
- design-spike
|
|
12
|
+
- existing-project-iteration
|
|
13
|
+
- interview-to-knowledge
|
|
14
|
+
- oss-first-design
|
|
10
15
|
prerequisite_stage: implement
|
|
11
16
|
next_stage: null
|
|
12
17
|
human_gate: false
|
|
18
|
+
execution_mode: both
|
|
19
|
+
primary_action: sync-to-knowledge
|
|
20
|
+
variables:
|
|
21
|
+
- pr_number
|
|
22
|
+
- session_id
|
|
23
|
+
- requirement_id
|
|
24
|
+
- feature_slug
|
|
25
|
+
- decision_id
|
|
13
26
|
agent:
|
|
14
27
|
primary: lc-knowledge-curator
|
|
15
28
|
reviewers:
|
|
16
29
|
- lc-release-coordinator
|
|
17
30
|
skills:
|
|
18
31
|
required:
|
|
32
|
+
- lincoln:sync-to-knowledge
|
|
19
33
|
- gsd:docs-update
|
|
20
34
|
optional:
|
|
21
35
|
- gsd:forensics
|
|
@@ -31,15 +45,12 @@ artifacts:
|
|
|
31
45
|
- knowledge/02-requirements/{requirement_id}.md
|
|
32
46
|
- knowledge/03-features/{feature_slug}.md
|
|
33
47
|
- knowledge/04-decisions/{decision_id}.md
|
|
48
|
+
references:
|
|
49
|
+
skill_prompt: .claude/skills/sync-to-knowledge/SKILL.md
|
|
50
|
+
agent_guide: .claude/agents/knowledge-curator.md
|
|
34
51
|
context:
|
|
35
52
|
goal: PR 合并后,将代码变更、Issue 讨论、设计决策沉淀到项目 Obsidian 知识库,确保业务知识和技术知识双轨保存,形成可追溯的知识资产。
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- 禁止修改 {process_slug}/recordings/ 中的原始文件。
|
|
39
|
-
|
|
40
|
-
- 门控评估优先使用 AI 能力:读取产物并推理其完整性,而非仅依赖脚本化检查。
|
|
41
|
-
|
|
42
|
-
- 详细执行步骤、模板与工具见对应 skill prompt 和 .claude/agents/<primary_agent>.md。'
|
|
53
|
+
execution: "调用 sync-to-knowledge skill 在 PR 合并后将代码变更、Issue 讨论与设计决策写入 Obsidian vault(knowledge/01-interviews、02-requirements、03-features、04-decisions),并在 .github/lincoln-sync-queue/pr-{pr_number}.yaml 记录同步状态。"
|
|
43
54
|
gates:
|
|
44
55
|
entry:
|
|
45
56
|
- check: previous_stage_completed
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
schema_version:
|
|
1
|
+
schema_version: 3.0.0
|
|
2
2
|
id: tdd-development-plan
|
|
3
3
|
name: TDD Development Plan
|
|
4
4
|
description: 'Produces tdd-plan.html with red/green/refactor sequences,
|
|
5
5
|
|
|
6
6
|
test scenarios, and task slices ready for OpenSpec proposal.'
|
|
7
|
-
|
|
7
|
+
workflows:
|
|
8
|
+
- bug-fix
|
|
9
|
+
- existing-project-iteration
|
|
10
|
+
- interview-to-knowledge
|
|
11
|
+
- oss-first-design
|
|
8
12
|
prerequisite_stage: product-prototype
|
|
9
13
|
next_stage: propose
|
|
10
14
|
human_gate: false
|
|
15
|
+
execution_mode: both
|
|
16
|
+
primary_action: plan-tdd-development
|
|
17
|
+
variables:
|
|
18
|
+
- process_slug
|
|
19
|
+
artifact_templates:
|
|
20
|
+
'{process_slug}/pages/docs/tdd-plan.html': .claude/templates/issue-package/page-doc.html.tpl
|
|
11
21
|
agent:
|
|
12
22
|
primary: lc-engineer
|
|
13
23
|
reviewers:
|
|
@@ -16,6 +26,7 @@ agent:
|
|
|
16
26
|
handoff_to: lc-engineer
|
|
17
27
|
skills:
|
|
18
28
|
required:
|
|
29
|
+
- lincoln:plan-tdd-development
|
|
19
30
|
- superpowers:writing-plans
|
|
20
31
|
- superpowers:test-driven-development
|
|
21
32
|
optional:
|
|
@@ -25,15 +36,12 @@ skills:
|
|
|
25
36
|
artifacts:
|
|
26
37
|
required:
|
|
27
38
|
- '{process_slug}/pages/docs/tdd-plan.html'
|
|
39
|
+
references:
|
|
40
|
+
skill_prompt: .claude/skills/plan-tdd-development/SKILL.md
|
|
41
|
+
agent_guide: .claude/agents/engineer.md
|
|
28
42
|
context:
|
|
29
43
|
goal: 基于已确认的产品设计文档、字段规格、UI 规格和 Pencil 原型,生成可执行的测试驱动研发计划(`tdd-plan.html`),作为从产品设计到 OpenSpec 变更提案的桥梁。所有产物通过 {process_slug}/index.html 门户访问。
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- 禁止修改 {process_slug}/recordings/ 中的原始文件。
|
|
33
|
-
|
|
34
|
-
- 门控评估优先使用 AI 能力:读取产物并推理其完整性,而非仅依赖脚本化检查。
|
|
35
|
-
|
|
36
|
-
- 详细执行步骤、模板与工具见对应 skill prompt 和 .claude/agents/<primary_agent>.md。'
|
|
44
|
+
execution: "调用 plan-tdd-development skill 基于已确认的产品设计文档、字段规格、UI 规格和 Pencil 原型,生成包含验收映射、测试场景与任务切片的 tdd-plan.html,作为 OpenSpec 提案的输入。"
|
|
37
45
|
gates:
|
|
38
46
|
entry:
|
|
39
47
|
- check: previous_stage_completed
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
schema_version:
|
|
1
|
+
schema_version: 3.0.0
|
|
2
2
|
id: workflow-router
|
|
3
3
|
name: Workflow Router
|
|
4
4
|
description: 'Entry point. Runs session intake (overview recon, situation judgment,
|
|
@@ -6,10 +6,19 @@ description: 'Entry point. Runs session intake (overview recon, situation judgme
|
|
|
6
6
|
Johari confirmation) on cold start, assesses repository context, selects the most
|
|
7
7
|
|
|
8
8
|
appropriate workflow template, and initializes workflow-stage.'
|
|
9
|
-
|
|
9
|
+
workflows:
|
|
10
|
+
- bug-fix
|
|
11
|
+
- design-spike
|
|
12
|
+
- existing-project-iteration
|
|
13
|
+
- oss-first-design
|
|
14
|
+
- pm-research
|
|
10
15
|
prerequisite_stage: null
|
|
11
16
|
next_stage: null
|
|
12
17
|
human_gate: true
|
|
18
|
+
execution_mode: both
|
|
19
|
+
primary_action: lc-workflow-router
|
|
20
|
+
variables:
|
|
21
|
+
- process_slug
|
|
13
22
|
agent:
|
|
14
23
|
primary: lc-pm
|
|
15
24
|
reviewers:
|
|
@@ -17,6 +26,7 @@ agent:
|
|
|
17
26
|
handoff_to: lc-pm
|
|
18
27
|
skills:
|
|
19
28
|
required:
|
|
29
|
+
- lincoln:lc-workflow-router
|
|
20
30
|
- superpowers:bootstrap
|
|
21
31
|
optional:
|
|
22
32
|
- gsd:new-project
|
|
@@ -25,19 +35,13 @@ skills:
|
|
|
25
35
|
artifacts:
|
|
26
36
|
required:
|
|
27
37
|
- '{process_slug}/workflow-stage.yaml'
|
|
38
|
+
references:
|
|
39
|
+
skill_prompt: .claude/skills/lc-workflow-router/SKILL.md
|
|
40
|
+
agent_guide: .claude/agents/pm.md
|
|
28
41
|
context:
|
|
29
42
|
goal: 在会话启动时先做概览级摸排与处境判断(冷启动开场引导),经用户确认后选择最适合的 Lincoln 工作流模板。
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- 开场摸排为概览级:只读操作 ≤ 8 次,不读源码实现,不做深度扫描(禁用 lc-build-codebase-knowledge)。
|
|
33
|
-
|
|
34
|
-
- 禁止修改 {process_slug}/recordings/ 中的原始文件。
|
|
35
|
-
|
|
36
|
-
- 本阶段设有 human_gate,必须获得人类 PM 显式确认后才能进入下一阶段。
|
|
37
|
-
|
|
38
|
-
- 门控评估优先使用 AI 能力:读取产物并推理其完整性,而非仅依赖脚本化检查。
|
|
39
|
-
|
|
40
|
-
- 详细执行步骤、模板与工具见对应 skill prompt 和 .claude/agents/<primary_agent>.md。'
|
|
43
|
+
execution: 调用 lc-workflow-router skill 的 intake 流程:执行概览级摸排与处境判断,向人类 PM 提出 Johari 确认问题,经用户确认目标与执行路径后选择最匹配的工作流模板并初始化 {process_slug}/workflow-stage.yaml。
|
|
44
|
+
constraints: '- 开场摸排为概览级:只读操作 ≤ 8 次,不读源码实现,不做深度扫描(禁用 lc-build-codebase-knowledge)。'
|
|
41
45
|
gates:
|
|
42
46
|
entry: []
|
|
43
47
|
exit:
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "lincoln",
|
|
11
11
|
"description": "AI-Native product R&D collaboration system for Conductor + Claude Code. Orchestrates stages, gates, artifacts, skills, and roles across product, design, and engineering into a repeatable workflow from recordings to GitHub Issues to Obsidian knowledge base.",
|
|
12
|
-
"version": "1.
|
|
12
|
+
"version": "1.6.2",
|
|
13
13
|
"author": {
|
|
14
14
|
"name": "Lincoln contributors"
|
|
15
15
|
},
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
30
|
],
|
|
31
|
-
"version": "1.
|
|
31
|
+
"version": "1.6.2"
|
|
32
32
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lincoln",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "AI-Native product R&D collaboration system for Conductor + Claude Code + OpenSpec + GitHub + Obsidian",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Lincoln contributors"
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"./.claude/skills/lc-handoff/",
|
|
33
33
|
"./.claude/skills/lc-init-branch/",
|
|
34
34
|
"./.claude/skills/lc-market-research/",
|
|
35
|
+
"./.claude/skills/lc-one-id/",
|
|
35
36
|
"./.claude/skills/lc-product-research/",
|
|
36
37
|
"./.claude/skills/lc-research-report/",
|
|
37
38
|
"./.claude/skills/lc-research-scope/",
|
package/framework/README.en.md
CHANGED
|
@@ -10,9 +10,9 @@ Lincoln is an AI-Native R&D workflow system spanning **IDEs, agent harnesses, co
|
|
|
10
10
|
|
|
11
11
|
## Latest Release
|
|
12
12
|
|
|
13
|
-
[](RELEASE.md)
|
|
14
14
|
|
|
15
|
-
**v1.6.
|
|
15
|
+
**v1.6.2** is released: Lincoln switches to a global npm plugin model. Install with `npm install -g @sushanglewis/lincoln`; projects opt in via `.lincoln.yaml`.
|
|
16
16
|
|
|
17
17
|
See the full release notes in [RELEASE.md](RELEASE.md).
|
|
18
18
|
|
|
@@ -37,9 +37,22 @@ Open the repo and tell the Agent what you want in plain language. Lincoln will r
|
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
39
|
npm install -g @sushanglewis/lincoln
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
`npm install -g` installs the CLI and bundled framework payload. After installation, an interactive bootstrap starts and lets you choose which agent harnesses to install Lincoln into (`Claude Code`, `Codex`, `OpenCode`).
|
|
43
|
+
|
|
44
|
+
For a non-interactive install, run:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
40
47
|
lincoln install --yes
|
|
41
48
|
```
|
|
42
49
|
|
|
50
|
+
You can also target specific harnesses:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
lincoln install --yes --harnesses claude-code,opencode
|
|
54
|
+
```
|
|
55
|
+
|
|
43
56
|
> **Note**: `npm install -g` only installs the CLI and bundled framework payload; **you must run `lincoln install`** to sync hooks, agents, skills, scripts, and the full runtime framework to `~/.claude/`, `~/.codex/`, and `~/.opencode/`.
|
|
44
57
|
|
|
45
58
|
If you previously installed the legacy `lincoln-install` package, uninstall it first (its bin names conflict with the new package):
|
package/framework/README.md
CHANGED
|
@@ -10,9 +10,9 @@ Lincoln 是一个贯穿 **IDE、Agent Harness、代码托管、知识管理、
|
|
|
10
10
|
|
|
11
11
|
## 最新版本
|
|
12
12
|
|
|
13
|
-
[](RELEASE.md)
|
|
14
14
|
|
|
15
|
-
**v1.6.
|
|
15
|
+
**v1.6.2** 已发布:Lincoln 切换为全局 npm 插件模型,通过 `npm install -g @sushanglewis/lincoln` 安装,项目侧使用 `.lincoln.yaml` 选择性激活。
|
|
16
16
|
|
|
17
17
|
查看完整发布说明:[RELEASE.md](RELEASE.md)
|
|
18
18
|
|
|
@@ -37,10 +37,23 @@ Lincoln 是一个贯穿 **IDE、Agent Harness、代码托管、知识管理、
|
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
39
|
npm install -g @sushanglewis/lincoln
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
`npm install -g` 会把 CLI 和框架 payload 安装到 npm 全局目录;安装完成后会自动进入引导程序,让你选择要安装到的 agent harness(`Claude Code`、`Codex`、`OpenCode`)。
|
|
43
|
+
|
|
44
|
+
如果你希望非交互式安装,可以直接运行:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
40
47
|
lincoln install --yes
|
|
41
48
|
```
|
|
42
49
|
|
|
43
|
-
|
|
50
|
+
也可以只安装到指定的 harness:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
lincoln install --yes --harnesses claude-code,opencode
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
> **注意**:**必须执行 `lincoln install`**,才会把 hooks、agents、skills、scripts 等完整运行时体系同步到 `~/.claude/`、`~/.codex/`、`~/.opencode/`。
|
|
44
57
|
|
|
45
58
|
如果之前安装过旧版 `lincoln-install`,需要先卸载(旧包与新版 bin 名冲突):
|
|
46
59
|
|
package/framework/RELEASE.md
CHANGED
|
@@ -1,7 +1,55 @@
|
|
|
1
|
+
# Lincoln v1.6.2 Release Notes
|
|
2
|
+
|
|
3
|
+
**Release date:** 2026-08-12
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- **全局插件模式下 `lc-init-branch` 使用全局模板** — 修复 `lc-init-branch` 命令映射指向项目本地 `scripts/init-lincoln-branch.sh` 的问题。现在它会调用 `"$LINCOLN_ROOT/scripts/init-lincoln-branch.sh"`,确保新建 issue 工作包读取 `~/.lincoln/current/` 下的最新模板,而不是项目里遗留的旧版本 `.claude/templates/issue-package/`。
|
|
8
|
+
- **迁移提示更新** — `lc-init-branch` skill 文档的示例命令改为使用 `$LINCOLN_ROOT`,与全局插件模型保持一致。
|
|
9
|
+
|
|
10
|
+
## Migration Notes
|
|
11
|
+
|
|
12
|
+
- 已使用全局插件模式的项目,运行 `lincoln migrate-project --yes` 清理本地旧 `.claude/` 文件后,再通过 `lc-init-branch` 初始化工作包即可生效。
|
|
13
|
+
- 如果已手动安装 Lincoln 1.6.1,可编辑 `~/.claude/harnesses/command-map.yaml` 中 `lc-init-branch` 的 action 为 `bash "$LINCOLN_ROOT/scripts/init-lincoln-branch.sh"`,或升级到 1.6.2 后重新 `lincoln install`。
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# Lincoln v1.6.1 Release Notes
|
|
18
|
+
|
|
19
|
+
**Release date:** 2026-08-11
|
|
20
|
+
|
|
21
|
+
## Highlights
|
|
22
|
+
|
|
23
|
+
- **lc-one-id skill** — Agent 现在可通过工具描述学习 one-id 查询,按 `feature/*`、`page/*`、`field/*`、`doc/*` 稳定 ID 追溯上游产物,避免 downstream 阶段凭路径猜测。
|
|
24
|
+
- **Agent one-id 约束** — `.claude/agents/default.md` 明确要求:需要按 ID 追溯产物时调用 `lc-one-id` skill。
|
|
25
|
+
- **Portal 注解对齐** — 修复 `lincoln_render.py` 把 HTML 注释内的占位 `<meta>` 误当作已存在标签的 bug,结构化数据里的 `annotations` 现在会正确注入为独立 `<meta>` 标签,被 portal 索引扫描到。
|
|
26
|
+
- **command-map 刷新** — 自动注册 `lc-skill-one-id` 命令入口。
|
|
27
|
+
|
|
28
|
+
## Tooling
|
|
29
|
+
|
|
30
|
+
- `scripts/lincoln_id.py` 增加可执行权限,配合 skill prompt 直接调用。
|
|
31
|
+
|
|
32
|
+
## Migration Notes
|
|
33
|
+
|
|
34
|
+
- 无需迁移;已有 issue package 的 `index.html` portal 会在下次 `record-artifacts` 或 `lincoln_index.py` 刷新后自动获得完整注解。
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
1
38
|
# Lincoln v1.6.0 Release Notes
|
|
2
39
|
|
|
3
40
|
**Release date:** 2026-08-06
|
|
4
41
|
|
|
42
|
+
## Release Automation Contract
|
|
43
|
+
|
|
44
|
+
Starting from this release, every PR merged into `main` automatically triggers a patch release:
|
|
45
|
+
|
|
46
|
+
1. `.github/workflows/release-on-merge.yml` bumps the patch version in `.version-bump.json` and all linked manifests.
|
|
47
|
+
2. The workflow updates the version badge and callout in `README.md` and `README.en.md`.
|
|
48
|
+
3. The workflow commits the version bump, pushes it to `main`, and pushes a `lincoln-vX.Y.Z` tag.
|
|
49
|
+
4. `.github/workflows/publish-lincoln.yml` publishes the npm package and creates a GitHub Release using the matching section from this file.
|
|
50
|
+
|
|
51
|
+
To include curated release notes for a version, add a new section to this file before merging the release-triggering PR.
|
|
52
|
+
|
|
5
53
|
## Highlights
|
|
6
54
|
|
|
7
55
|
Lincoln v1.6.0 moves the framework from a vendored-per-project model to a global npm plugin. Users now install `@sushanglewis/lincoln` once and run `lincoln install` to sync the framework to `~/.claude/`, `~/.codex/`, and `~/.opencode/`. Projects opt in with a single `.lincoln.yaml` marker; unmarked projects keep Lincoln inactive by default.
|