Repository navigation
docs: generate the tool support page from the descriptor (#1221) - #1406
Conversation
Code Erosion ReportInformational — never blocks the merge.
Scanned 481 files / 107060 SLOC · high-CC functions 839/9496 * On TypeScript, Rule hits (TS verbosity layer)Standalone
70 distinct lines flagged across |
|
No findings in the specified PR diff. Testing documentation is sufficient for this docs-generation and descriptor-data change: the body records snapshot tests, type checking, lint, and the unit suite. No CLI runtime behavior changes, so a real-CLI/e2e record is not required. Review was read-only; I did not run, build, or install PR code. |
6f99168 to
8312764
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. The earlier review raised no findings, so none require resolution. Testing documentation is sufficient: the body records snapshot tests, type checking, targeted tests, and a full unit-suite run. This change adds documentation generation and descriptor data without changing CLI runtime behavior, so no real-CLI/e2e record is required. Review was read-only; I did not run, build, or install PR code. |
8312764 to
15d9000
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the body records snapshot tests, type checking, targeted tests, and a full unit-suite run. The diff adds documentation generation and descriptor data without changing CLI runtime behavior, so no real-CLI/e2e record is required. Review was read-only; I did not run, build, or install PR code. |
15d9000 to
731d921
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, targeted tests, and a full unit-suite run. The diff adds documentation generation and descriptor data without changing CLI runtime behavior, so no real-CLI/e2e record is required. The older tested commits are a note, not a blocking issue. Review was read-only; I did not run, build, or install PR code. |
731d921 to
433b23e
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, lint, build, and unit-suite results, including isolated reruns of two timing failures. The changes add documentation generation and descriptor data without changing CLI runtime behavior, so no real-CLI/e2e record is required. Review was read-only; I did not run, build, or install PR code. |
433b23e to
9ad889d
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, lint, build, and unit-suite results, including isolated reruns of two timing failures. The diff adds documentation generation and descriptor data without changing CLI runtime behavior, so no real-CLI/e2e record is required. The older tested commit is not blocking. Review was read-only; I did not run, build, or install PR code. |
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, lint, build, and unit-suite results. The changes add documentation generation and descriptor data without changing CLI runtime behavior, so no real-CLI/e2e record is required. The older tested commit is not blocking. Review was read-only; I did not run, build, or install PR code. |
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, lint, build, and unit-suite results. The changes add documentation generation and descriptor data without changing CLI runtime behavior, so no real-CLI/e2e record is required. The older tested commit is not blocking. Review was read-only; I did not run, build, or install PR code. |
e7f763b to
17b541a
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, lint, build, and unit-suite results. The diff adds documentation generation and descriptor data without changing CLI runtime behavior, so no real-CLI/e2e record is required. The older tested commit is not blocking. Review was read-only; I did not run, build, or install PR code. |
c8a92d2 to
f2617fd
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, lint, build, and full unit-suite results. The changes add documentation generation and descriptor metadata without changing CLI runtime behavior, so no real-CLI/e2e record is required. The older tested commit is not blocking. Review was read-only; I did not run, build, or install PR code. |
f2617fd to
4202f1e
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, lint, build, and full unit-suite results. The changes add documentation generation and descriptor metadata without changing CLI runtime behavior, so no real-CLI/e2e record is required. The older tested commit is not blocking. Review was read-only; I did not run, build, or install PR code. |
4202f1e to
e030b63
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, lint, build, and full unit-suite results. The diff adds documentation generation and descriptor metadata without changing CLI runtime behavior, so no real-CLI/e2e record is required. The older tested commit is not blocking. Review was read-only; I did not run, build, or install PR code. |
e030b63 to
f29ce52
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, lint, build, and full unit-suite results. The changes add documentation generation and descriptor metadata without changing CLI runtime behavior, so no real-CLI/e2e record is required. The older tested commit is not blocking. Review was read-only; I did not run, build, or install PR code. |
f29ce52 to
b982b89
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, lint, build, and full unit-suite results. The changes add documentation generation and descriptor metadata without changing CLI runtime behavior, so no real-CLI/e2e record is required. The older tested commit is not blocking. Review was read-only; I did not run, build, or install PR code. |
be577fa to
66dacb0
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, lint, build, and full unit-suite results. The diff adds documentation generation and descriptor data without changing CLI runtime behavior, so no real-CLI/e2e record is required. The older tested commit is not blocking. Review was read-only; I did not run, build, or install PR code. |
…tor (#1221) The env, workflows, recall, stats, AI backend, votes judge and HTTP agent hook rows of #1221's matrix become a required `features` facet, one `SupportCell` per row: the mark and the evidence letter, as the matrix writes them. A cell a later fix changed (#1193, #1224, #1245, #1374) says so in its note and keeps teamai's-code-only evidence until it is rerun. Data only: nothing reads it but the support page.
docs/guide/tool-support.md and its Chinese page are rendered from TOOLS and diffed by a snapshot test, as the command reference is. Headers and the legend are translated; cell text stays English on both pages. AGENTS.md records that exception and the review rule for descriptor updates.
…Code's inlined rules (#1221) Usage: skill use is recorded for OpenCode, Pi, Oh My Pi and DeepSeek Harness since #1245 (`features.stats`). Sessions: `teamai session` reads OpenCode (`TOOLS.opencode.sessions`). Rules: JoyCode's user rules are inlined into rules.txt, so they stay on, as for every other tool marked ✓¹.
… and check it against the descriptor (#1221) Learnings, codebase and teamwiki were the same for every agent, so Team Context is one column. That leaves room for culture (team culture and shared instructions need an instruction-blocks channel, which Qoder, Qoder CN, Kiro, Trae and Trae CN do not have), workflows (every agent drives one from its session) and scorers (the agents whose sessions teamai can judge: a session adapter in `TOOLS[tool].sessions`). Team Execution is ordered skills, rules, culture, agents, hooks, mcp, workflows, env, models, and the layer bullets follow it. readme-matrix.test.ts keeps every README's cells equal and checks the cells the code owns: culture, models, usage, scorers and ✓¹.
66dacb0 to
2ad4646
Compare
|
No findings in the specified PR diff under the trusted base-version Code Review Rules. Earlier reviews raised no findings, so none require resolution. Testing documentation is sufficient: the description records snapshot tests, type checking, lint, build, and full unit-suite results. The changes add documentation generation and descriptor metadata without changing CLI runtime behavior, so no real-CLI/e2e record is required. The older tested commit is not blocking. Review was read-only; I did not run, build, or install PR code. |
jeff-r2026
left a comment
There was a problem hiding this comment.
Reviewed with an independent agent pass; patch identical to the one verified earlier (merged with #1405 onto 43b1bbc: tsc, lint, build, tool-support/readme-matrix tests pass). Runtime unchanged (features only read by the docs generator and tests); generated en/zh pages and all 5 READMEs consistent and snapshot-enforced. Non-blocking: codebuddy/workbuddy aiBackend: '?' while ai-client.ts already probes them; zh strings live in src/tool-support.ts (not bundled).
… (Tencent#1406) * feat(tools): state each tool's run-time and AI support in the descriptor (Tencent#1221) The env, workflows, recall, stats, AI backend, votes judge and HTTP agent hook rows of Tencent#1221's matrix become a required `features` facet, one `SupportCell` per row: the mark and the evidence letter, as the matrix writes them. A cell a later fix changed (Tencent#1193, Tencent#1224, Tencent#1245, Tencent#1374) says so in its note and keeps teamai's-code-only evidence until it is rerun. Data only: nothing reads it but the support page. * docs: generate the tool support page from the descriptor (Tencent#1221) docs/guide/tool-support.md and its Chinese page are rendered from TOOLS and diffed by a snapshot test, as the command reference is. Headers and the legend are translated; cell text stays English on both pages. AGENTS.md records that exception and the review rule for descriptor updates. * docs(readme): mark usage and sessions the descriptor records, and JoyCode's inlined rules (Tencent#1221) Usage: skill use is recorded for OpenCode, Pi, Oh My Pi and DeepSeek Harness since Tencent#1245 (`features.stats`). Sessions: `teamai session` reads OpenCode (`TOOLS.opencode.sessions`). Rules: JoyCode's user rules are inlined into rules.txt, so they stay on, as for every other tool marked ✓¹. * docs(readme): add culture, workflows and scorers to the agent matrix, and check it against the descriptor (Tencent#1221) Learnings, codebase and teamwiki were the same for every agent, so Team Context is one column. That leaves room for culture (team culture and shared instructions need an instruction-blocks channel, which Qoder, Qoder CN, Kiro, Trae and Trae CN do not have), workflows (every agent drives one from its session) and scorers (the agents whose sessions teamai can judge: a session adapter in `TOOLS[tool].sessions`). Team Execution is ordered skills, rules, culture, agents, hooks, mcp, workflows, env, models, and the layer bullets follow it. readme-matrix.test.ts keeps every README's cells equal and checks the cells the code owns: culture, models, usage, scorers and ✓¹. * docs: regenerate the tool support page for Kiro's hook file (Tencent#1221)
Summary
This PR is steps C and D of #1221. It builds on #1405 (step B4), which has merged. The descriptor now states what each tool supports at run time and in teamai's own AI. The support page is generated from the descriptor, so the page cannot drift from it.
featuresis required on every tool, and a mark without its evidence letter failstsc(tools.type-test.ts). Nothing readsfeaturesbut the page.The page has three tables:
Headers and the legend are translated. Cell text stays English on both pages. The cells follow the issue's matrix. A fix merged since then is marked
twith a note naming it (#1224, #1245, #1308, #1374), because nobody has rerun it against the real tool.The reference page's recorded-homes section links to it.
AGENTS.md gains two things:
TOOLS. A change that should updateTOOLSand does not is at most[P2 non-blocking]. Averifiedcell with no recorded run is[P3 nit].unknownis never a finding.The README matrix stays hand-written: its columns mean "teamai delivers it", while the descriptor says where the tool reads and on what evidence. It keeps its shape, and the cells the code owns are now checked:
13 columns instead of 12. Rendered with GitHub's markdown API and CSS, the table is 1113 px wide (1051 px on
main, which already scrolls) and its header 85 px tall (122 px). The layer bullets follow the new order.features.stats)teamai sessionreads OpenCode (TOOLS.opencode.sessions)rules.txt, as for every other ✓¹ toolblocks: NONE); also missing fromdocs/guide/team-culture.mdenvkeeps ✓² for Pi, DeepSeek Harness and ZCode: #1023 set it for the per-directory env, which the descriptor's profile-env cell does not cover. A?in the descriptor does not change a README ✓. Benchmarks have no shipped command, so they get no column.docs/product-overview.mdand its Chinese page link the workflow and scorer guides from their layers.Evidence
npx vitest run tool-supportrenders both pages and diffs them againstdocs/guide/tool-support.mdanddocs/guide/zh-CN/tool-support.md(toMatchFileSnapshot). An edit to aTOOLScell without regenerating fails it. Regenerate withnpx vitest run tool-support -u.tools.type-test.tsrejects a descriptor withoutfeaturesand a bare'✓'cell.readme-matrix.test.tskeeps the five READMEs' cells equal and checks culture, models, usage, scorers and ✓¹ againstTOOLS. Before the column split, a Korean usage cell flipped by hand failed the equality check, and a Kiro rules cell changed inREADME.mdfailed both checks.npx tsc --noEmit(which includestools.type-test.ts),npm run lintandnpm run buildpass, andnpx vitest runpasses 17137 tests in 576 files (21 skipped). The page is regenerated for the PiAGENTS.override.mdentry that fix(pi): deliver user context to active override files #1340 added onmain.This is a docs and descriptor-data change. No CLI command reads
features, so it has no real-CLI record.Merge Danger
Door: two-way
Blast Radius: docs
A new guide page and a descriptor field that only the page reads. A wrong cell misinforms a reader of the page until the next regeneration. It changes nothing teamai writes.