Skip to content

Commit 2b4e4c7

Browse files
committed
fix: resolve Team Wiki Skill reference
1 parent 194e8c7 commit 2b4e4c7

7 files changed

Lines changed: 15 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ All notable public changes to Team First Development are documented here.
1616
- Merge bounded `work_started`, `handoff`, `review`, and `delivery` audit into
1717
the Wiki event chain while keeping knowledge promotion separately confirmed
1818
and retaining legacy receipts only before Wiki initialization.
19+
- Package the Team Wiki protocol under the `using-tfd` Skill so its on-demand
20+
relative reference resolves directly in a fresh Codex task.
1921
- Require one explicit confirmation of the exact team proposal before writing
2022
profiles or creating Agents; a generic team request or delegated choice does
2123
not confirm an unseen roster.

README-CN.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ GitHub Release 作为发布证据。
182182
```text
183183
plugins/tfd/.codex-plugin/plugin.json 插件清单
184184
plugins/tfd/skills/using-tfd/SKILL.md 唯一用户 Skill
185-
plugins/tfd/references/team-wiki.md 按需加载的 Team Wiki 协议
185+
plugins/tfd/skills/using-tfd/references/team-wiki.md
186+
按需加载的 Team Wiki 协议
186187
plugins/tfd/scripts/tfd_wiki/ 标准库 Wiki Guard
187188
plugins/tfd/examples/project-tfd/ 最小 YAML 团队示例
188189
scripts/test_plugin_contract.py 包结构契约

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@ deployment. Use the `v3.0.0` tag and GitHub Release as publication evidence.
209209
```text
210210
plugins/tfd/.codex-plugin/plugin.json Plugin manifest
211211
plugins/tfd/skills/using-tfd/SKILL.md Single user-facing Skill
212-
plugins/tfd/references/team-wiki.md On-demand Team Wiki protocol
212+
plugins/tfd/skills/using-tfd/references/team-wiki.md
213+
On-demand Team Wiki protocol
213214
plugins/tfd/scripts/tfd_wiki/ Standard-library Wiki Guard
214215
plugins/tfd/examples/project-tfd/ Minimal YAML team example
215216
scripts/test_plugin_contract.py Package contract

docs/superpowers/plans/2026-07-30-tfd-team-wiki-implementation-plan.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ PyYAML test dependency, Markdown, JSON, Git.
8181

8282
### Skill and product documentation
8383

84-
- `plugins/tfd/references/team-wiki.md`: complete LLM Wiki operating protocol
84+
- `plugins/tfd/skills/using-tfd/references/team-wiki.md`: complete LLM Wiki operating protocol
8585
loaded only for Wiki operations or a confirmed team with an initialized
8686
Wiki.
8787
- `plugins/tfd/skills/using-tfd/SKILL.md`: concise routing, authorization, and
@@ -1031,7 +1031,7 @@ git commit -m "feat: expose Team Wiki guard CLI"
10311031

10321032
**Files:**
10331033

1034-
- Create: `plugins/tfd/references/team-wiki.md`
1034+
- Create: `plugins/tfd/skills/using-tfd/references/team-wiki.md`
10351035
- Modify: `plugins/tfd/skills/using-tfd/SKILL.md:1-174`
10361036
- Modify: `plugins/tfd/skills/using-tfd/agents/openai.yaml:1-4`
10371037
- Modify: `plugins/tfd/scripts/test_tfd_skill_contract.py:1-113`
@@ -1161,7 +1161,7 @@ Expected: all tests pass.
11611161
- [ ] **Step 7: Commit Skill integration**
11621162

11631163
```bash
1164-
git add plugins/tfd/references/team-wiki.md \
1164+
git add plugins/tfd/skills/using-tfd/references/team-wiki.md \
11651165
plugins/tfd/skills/using-tfd/SKILL.md \
11661166
plugins/tfd/skills/using-tfd/agents/openai.yaml \
11671167
plugins/tfd/scripts/test_tfd_skill_contract.py

plugins/tfd/scripts/test_tfd_skill_contract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
SKILL_ROOT = SKILLS_ROOT / "using-tfd"
1212
SKILL_PATH = SKILL_ROOT / "SKILL.md"
1313
AGENT_METADATA_PATH = SKILL_ROOT / "agents" / "openai.yaml"
14-
WIKI_REFERENCE_PATH = PLUGIN_ROOT / "references" / "team-wiki.md"
14+
WIKI_REFERENCE_PATH = SKILL_ROOT / "references" / "team-wiki.md"
1515
EXAMPLE_ROOT = PLUGIN_ROOT / "examples" / "project-tfd"
1616
MEMBER_FIELDS = {
1717
"display_name",
File renamed without changes.

scripts/test_plugin_contract.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,12 @@ def test_plugin_ships_only_the_wiki_guard_runtime_and_tests(self) -> None:
7979
def test_plugin_ships_the_single_team_wiki_reference(self) -> None:
8080
references = sorted(
8181
path.relative_to(PLUGIN_ROOT).as_posix()
82-
for path in (PLUGIN_ROOT / "references").glob("*.md")
82+
for path in (PLUGIN_ROOT / "skills").glob("*/references/*.md")
83+
)
84+
self.assertEqual(
85+
references,
86+
["skills/using-tfd/references/team-wiki.md"],
8387
)
84-
self.assertEqual(references, ["references/team-wiki.md"])
8588

8689
def test_obsolete_root_verifiers_are_absent(self) -> None:
8790
obsolete = (

0 commit comments

Comments
 (0)