@sushanglewis/lincoln 1.5.4 → 1.6.1

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.
Files changed (95) hide show
  1. package/dist/main.js +425 -51
  2. package/dist/main.js.map +1 -1
  3. package/dist/postinstall.d.ts +9 -2
  4. package/dist/postinstall.js +812 -6
  5. package/dist/postinstall.js.map +1 -1
  6. package/framework/.claude/agents/architect.md +15 -15
  7. package/framework/.claude/agents/default.md +118 -104
  8. package/framework/.claude/agents/designer.md +17 -17
  9. package/framework/.claude/agents/engineer.md +16 -25
  10. package/framework/.claude/agents/external/NOTICES.md +1 -1
  11. package/framework/.claude/agents/external/everything-claude-code/agents/ecc-tdd-guide.md +108 -0
  12. package/framework/.claude/agents/external/everything-claude-code.manifest.yaml +1 -1
  13. package/framework/.claude/agents/external/oh-my-claudecode/agents/omc-architect.md +134 -0
  14. package/framework/.claude/agents/external/oh-my-claudecode/agents/omc-code-reviewer.md +248 -0
  15. package/framework/.claude/agents/external/oh-my-claudecode/agents/omc-designer.md +122 -0
  16. package/framework/.claude/agents/external/oh-my-claudecode/agents/omc-qa-tester.md +106 -0
  17. package/framework/.claude/agents/external/wshobson-agents/agents/wshobson-frontend-developer.md +173 -0
  18. package/framework/.claude/agents/frontend-engineer.md +15 -16
  19. package/framework/.claude/agents/knowledge-curator.md +18 -15
  20. package/framework/.claude/agents/pm.md +17 -23
  21. package/framework/.claude/agents/qa.md +17 -13
  22. package/framework/.claude/agents/release-coordinator.md +18 -12
  23. package/framework/.claude/agents/researcher.md +16 -26
  24. package/framework/.claude/harnesses/command-map.yaml +12 -5
  25. package/framework/.claude/hooks/on-session-start.sh +0 -1
  26. package/framework/.claude/hooks/pre-tool-use.sh +3 -3
  27. package/framework/.claude/schemas/agent-definition.schema.json +6 -1
  28. package/framework/.claude/schemas/stage-definition.schema.json +49 -4
  29. package/framework/.claude/skills/build-product-prototype/SKILL.md +1 -1
  30. package/framework/.claude/skills/build-product-prototype/prompts/main.md +89 -26
  31. package/framework/.claude/skills/clarify-requirements/prompts/main.md +80 -14
  32. package/framework/.claude/skills/dependencies.yaml +6 -0
  33. package/framework/.claude/skills/draft-product-design/SKILL.md +2 -0
  34. package/framework/.claude/skills/draft-product-design/prompts/main.md +30 -17
  35. package/framework/.claude/skills/lc-build-codebase-knowledge/SKILL.md +2 -0
  36. package/framework/.claude/skills/lc-explore-opensource/SKILL.md +2 -0
  37. package/framework/.claude/skills/lc-market-research/SKILL.md +1 -1
  38. package/framework/.claude/skills/lc-one-id/SKILL.md +81 -0
  39. package/framework/.claude/skills/lc-one-id/prompts/main.md +35 -0
  40. package/framework/.claude/skills/lc-stakeholder-research/SKILL.md +1 -1
  41. package/framework/.claude/skills/lc-workflow/validators/validate.py +2 -0
  42. package/framework/.claude/skills/lc-workflow-router/SKILL.md +2 -0
  43. package/framework/.claude/stages/build-codebase-knowledge.yaml +10 -10
  44. package/framework/.claude/stages/clarify.yaml +22 -16
  45. package/framework/.claude/stages/explore-opensource.yaml +13 -10
  46. package/framework/.claude/stages/implement.yaml +11 -11
  47. package/framework/.claude/stages/ingest.yaml +13 -10
  48. package/framework/.claude/stages/lc-analyze-frameworks.yaml +13 -10
  49. package/framework/.claude/stages/lc-collect-intelligence.yaml +13 -10
  50. package/framework/.claude/stages/lc-competitive-analysis.yaml +13 -10
  51. package/framework/.claude/stages/lc-first-principles.yaml +13 -10
  52. package/framework/.claude/stages/lc-market-research.yaml +13 -10
  53. package/framework/.claude/stages/lc-product-research.yaml +13 -10
  54. package/framework/.claude/stages/lc-research-report.yaml +13 -10
  55. package/framework/.claude/stages/lc-research-scope.yaml +13 -10
  56. package/framework/.claude/stages/lc-stakeholder-research.yaml +13 -10
  57. package/framework/.claude/stages/lc-storytelling.yaml +13 -10
  58. package/framework/.claude/stages/product-design-docs.yaml +33 -19
  59. package/framework/.claude/stages/product-prototype.yaml +22 -18
  60. package/framework/.claude/stages/propose.yaml +16 -9
  61. package/framework/.claude/stages/split.yaml +13 -9
  62. package/framework/.claude/stages/sync-knowledge.yaml +20 -9
  63. package/framework/.claude/stages/tdd-development-plan.yaml +17 -9
  64. package/framework/.claude/stages/workflow-router.yaml +17 -13
  65. package/framework/.claude/workflows/README.md +25 -3
  66. package/framework/.claude/workflows/bug-fix.yaml +1 -0
  67. package/framework/.claude/workflows/existing-project-iteration.yaml +1 -0
  68. package/framework/.claude/workflows/interview-to-knowledge.yaml +4 -2
  69. package/framework/.claude/workflows/oss-first-design.yaml +1 -0
  70. package/framework/.claude-plugin/marketplace.json +2 -2
  71. package/framework/.claude-plugin/plugin.json +2 -1
  72. package/framework/.version-bump.json +1 -1
  73. package/framework/README.en.md +15 -2
  74. package/framework/README.md +16 -3
  75. package/framework/RELEASE.md +32 -0
  76. package/framework/manifest.json +128 -88
  77. package/framework/scripts/check-prompt-drift.py +657 -0
  78. package/framework/scripts/extract_release_notes.py +79 -0
  79. package/framework/scripts/init-lincoln-branch.sh +6 -0
  80. package/framework/scripts/lincoln_command_map.py +1 -1
  81. package/framework/scripts/lincoln_id.py +333 -0
  82. package/framework/scripts/lincoln_index.py +10 -0
  83. package/framework/scripts/lincoln_prd.py +16 -17
  84. package/framework/scripts/lincoln_render.py +657 -0
  85. package/framework/scripts/run-infrastructure-tests.py +2 -0
  86. package/framework/scripts/stage_loader.py +149 -2
  87. package/framework/scripts/static-check.sh +40 -1
  88. package/framework/scripts/sync-external-agents.sh +2 -0
  89. package/framework/scripts/update_readme_version.py +149 -0
  90. package/framework/scripts/validate_stage.py +80 -1
  91. package/framework/tools/lincoln/package-lock.json +2 -2
  92. package/framework/tools/lincoln/package.json +1 -1
  93. package/framework/tools/lincoln-installer/package.json +1 -1
  94. package/package.json +2 -2
  95. package/framework/.claude/agents/_contract.md +0 -79
@@ -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.5.4",
12
+ "version": "1.6.1",
13
13
  "author": {
14
14
  "name": "Lincoln contributors"
15
15
  },
@@ -28,5 +28,5 @@
28
28
  ]
29
29
  }
30
30
  ],
31
- "version": "1.5.4"
31
+ "version": "1.6.1"
32
32
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lincoln",
3
- "version": "1.5.4",
3
+ "version": "1.6.1",
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/",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.5.4",
2
+ "version": "1.6.1",
3
3
  "manifests": [
4
4
  {
5
5
  "path": ".claude-plugin/plugin.json",
@@ -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](https://img.shields.io/badge/release-v1.6.0-blue)](RELEASE.md)
13
+ [![Release](https://img.shields.io/badge/release-v1.6.1-blue)](RELEASE.md)
14
14
 
15
- **v1.6.0** is released: Lincoln switches to a global npm plugin model. Install with `npm install -g @sushanglewis/lincoln`; projects opt in via `.lincoln.yaml`.
15
+ **v1.6.1** 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):
@@ -10,9 +10,9 @@ Lincoln 是一个贯穿 **IDE、Agent Harness、代码托管、知识管理、
10
10
 
11
11
  ## 最新版本
12
12
 
13
- [![Release](https://img.shields.io/badge/release-v1.6.0-blue)](RELEASE.md)
13
+ [![Release](https://img.shields.io/badge/release-v1.6.1-blue)](RELEASE.md)
14
14
 
15
- **v1.6.0** 已发布:Lincoln 切换为全局 npm 插件模型,通过 `npm install -g @sushanglewis/lincoln` 安装,项目侧使用 `.lincoln.yaml` 选择性激活。
15
+ **v1.6.1** 已发布: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
- > **注意**:`npm install -g` 只是把 CLI 和框架 payload 安装到 npm 全局目录;**必须执行 `lincoln install`**,才会把 hooks、agents、skills、scripts 等完整运行时体系同步到 `~/.claude/`、`~/.codex/`、`~/.opencode/`。
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
 
@@ -1,7 +1,39 @@
1
+ # Lincoln v1.6.1 Release Notes
2
+
3
+ **Release date:** 2026-08-11
4
+
5
+ ## Highlights
6
+
7
+ - **lc-one-id skill** — Agent 现在可通过工具描述学习 one-id 查询,按 `feature/*`、`page/*`、`field/*`、`doc/*` 稳定 ID 追溯上游产物,避免 downstream 阶段凭路径猜测。
8
+ - **Agent one-id 约束** — `.claude/agents/default.md` 明确要求:需要按 ID 追溯产物时调用 `lc-one-id` skill。
9
+ - **Portal 注解对齐** — 修复 `lincoln_render.py` 把 HTML 注释内的占位 `<meta>` 误当作已存在标签的 bug,结构化数据里的 `annotations` 现在会正确注入为独立 `<meta>` 标签,被 portal 索引扫描到。
10
+ - **command-map 刷新** — 自动注册 `lc-skill-one-id` 命令入口。
11
+
12
+ ## Tooling
13
+
14
+ - `scripts/lincoln_id.py` 增加可执行权限,配合 skill prompt 直接调用。
15
+
16
+ ## Migration Notes
17
+
18
+ - 无需迁移;已有 issue package 的 `index.html` portal 会在下次 `record-artifacts` 或 `lincoln_index.py` 刷新后自动获得完整注解。
19
+
20
+ ---
21
+
1
22
  # Lincoln v1.6.0 Release Notes
2
23
 
3
24
  **Release date:** 2026-08-06
4
25
 
26
+ ## Release Automation Contract
27
+
28
+ Starting from this release, every PR merged into `main` automatically triggers a patch release:
29
+
30
+ 1. `.github/workflows/release-on-merge.yml` bumps the patch version in `.version-bump.json` and all linked manifests.
31
+ 2. The workflow updates the version badge and callout in `README.md` and `README.en.md`.
32
+ 3. The workflow commits the version bump, pushes it to `main`, and pushes a `lincoln-vX.Y.Z` tag.
33
+ 4. `.github/workflows/publish-lincoln.yml` publishes the npm package and creates a GitHub Release using the matching section from this file.
34
+
35
+ To include curated release notes for a version, add a new section to this file before merging the release-triggering PR.
36
+
5
37
  ## Highlights
6
38
 
7
39
  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.