[AAASM-4703] 🐛 (examples): Generator-own the README prerequisites SDK version#309
Conversation
|
Review (AAASM-4703) — READY (stacked on #308; merge after it).
CI: all required checks green. Front-end: no FE/dashboard code touched — Playwright validation N/A. Merge state: BLOCKED only on the required ≥1 Pioneer approval (branch protection), not on any failure. — Reviewed by Claude Code |
Each README's prose "## Prerequisites" table carried a hand-written `| Agent Assembly <Lang> SDK | <version> |` row that lived outside the generated sdk-install block and drifted from the source of truth (rc.3 / an old beta vs. the block's rc.5) — AAASM-4703. Add a label-driven pass that rewrites only the version token in that row for whichever language label it carries, preserving the `>=` operator and any trailing note (e.g. the LlamaIndex adapter caveat). The label cell is matched exactly, so the generated block's own row is never touched. Idempotent.
Run the generator so all 21 hand-written prerequisites SDK-version rows (16 python, 4 go, 1 scenario) advertise the single source-of-truth rc.5, matching each README's generated sdk-install block.
45f6439 to
1b75878
Compare
|
|
Rebased onto latest
— Reviewed by Claude Code |



What changed
Every example README carries a generated
sdk-installblock (rc.5) and ahand-written
## Prerequisitestable with an| Agent Assembly <Lang> SDK | <ver> |row that lived outside the block. That prose row was hand-maintained and had
drifted: 4 Go READMEs still said
v0.0.1-rc.3, 16 Python READMEs said>= 0.0.1rc3(agno-tool-policy
>= 0.0.1b4, langchain-research-agent>= 0.0.1b2), and thescenarios/policy-enforcementREADME said>= 0.0.1rc3— all contradicting thegenerated rc.5 in the same file.
This PR makes the generator own that version value so the two can never
disagree again:
scripts/generate_example_metadata.py.For each README it rewrites only the version token in the
| Agent Assembly <Lang> SDK | ... |row for whichever language label the rowcarries, using
metadata/sdk-versions.yamlas the source of truth.>=operator and any trailing note (e.g. llamaindex's(with the LlamaIndex adapter)) are preserved verbatim — only the versionliteral changes.
Agent Assembly <Lang> SDK, noparenthetical), which is precisely what distinguishes the prose row from the
generated block's own row, so the generated block is never touched.
The generator remains idempotent (CI drift check).
Related ticket
Closes AAASM-4703
Jira: https://lightning-dust-mite.atlassian.net/browse/AAASM-4703
Stacked PR
This PR is stacked on #308 (AAASM-4702) and branches from
v0.0.1/AAASM-4702/scenario_pin_tooling. Its base ismasterper repoconvention; review/merge #308 first. The two-commit diff here is the only
delta over #308.
How to verify
Checklist
[AAASM-XXXX] <GitEmoji> (<scope>): <summary>.envfiles committedREADME.mdwith prerequisites and run instructions