Skip to content

test(addie): read the current 3.2 docs release instead of hard-coding it - #8432

Merged
bokelley merged 2 commits into
mainfrom
bokelley/slack-validation-current-release
Oct 24, 2026
Merged

bokelley merged 2 commits into
mainfrom
bokelley/slack-validation-current-release

Conversation

@bokelley

@bokelley bokelley commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

server/tests/unit/addie/slack-file-validation.test.ts hard-codes that a 3.2 adagents.json validates against schemas/3.2.3/adagents.json.

Every docs snapshot PR correctly moves DOCS_SCHEMA_RELEASES['3.2'] to the new patch, so each one fails this test: 3.2.4 (#8150), 3.2.5 (#8250) and 3.2.6 (#8427). That's why the 3.2 docs snapshots have been stuck since 3.2.3. The last snapshot to land, #7999, bumped the test by hand.

This reads the release from DOCS_SCHEMA_RELEASES, which scripts/update-release-docs-nav.mjs regenerates, so the test follows the release Addie actually validates against.

Testing

The test passes 8/8 against main's table (3.2.3). It also passes 8/8 with '3.2' temporarily set to 3.2.6, which is what #8427 writes.

Once this merges, #8427 can be updated from main and merged. #8150 and #8250 will be closed: 3.2.6 becomes the current docs version.

🤖 Generated with Claude Code


Open workspace in Conductor

slack-file-validation.test.ts asserted that a 3.2 adagents.json validates
against schemas/3.2.3. Every docs snapshot PR moves DOCS_SCHEMA_RELEASES['3.2']
to the new patch, so the 3.2.4 (#8150), 3.2.5 (#8250) and 3.2.6 (#8427)
snapshots all failed this test, and the last snapshot to land (#7999) had to
bump it by hand. Read the release from DOCS_SCHEMA_RELEASES, which the snapshot
tooling regenerates, so the test tracks the release Addie actually uses.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
aao-secretariat[bot]
aao-secretariat Bot previously approved these changes Oct 24, 2026

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve — test-only change, no blocking findings.

Checked: single-file change (8 additions, 2 deletions) to server/tests/unit/addie/slack-file-validation.test.ts. The test now reads the 3.2 release from DOCS_SCHEMA_RELEASES['3.2'] instead of hard-coding 3.2.3, so docs-snapshot regeneration no longer breaks the assertion. Import is valid; the test still asserts message structure, byte count, and truncation absence.

No published protocol surface touched (no static/schemas/source/**, docs/reference/**, release scripts, or dist/**), so no changeset is required and no schema↔docs coherence, oneOf, or artifact-immutability gate applies. No governance-policy decision made. high_risk is false, gated_paths is false, and the author is not on a no-auto-approve team.

Decision table: rows 1–8 do not fire (no critical/high/medium findings; gated_paths false; no deletions; no team gate). Falls through to row 9 → approve. Note: review_decision is REVIEW_REQUIRED, but row 2 only forces escalate when gated_paths is true, which it is not here.

…visories

Four high-severity advisories published since the last audit fail the
production audit gate (npm audit --omit=dev --audit-level=high) on main and
every PR:

- body-parser 2.0.0-2.3.0: DoS via trailing bytes after a compressed request
  body (GHSA-27r3-jxmh-p828) -> 2.4.0
- multer 2.0.0-2.4.0: DoS via a pending asynchronous fileFilter after request
  teardown (GHSA-q7qp-rjg7-q26m) -> 2.5.0
- undici: DoS via unbounded memory in the EventSource parser
  (GHSA-4qv8-2p9j-2685) -> 8.12.3, plus the nested copies under @adcp/sdk
  (6.29.1) and @slack/bolt (7.30.1)
- zod <4.6.6: memory exhaustion validating oversized constrained collections
  (GHSA-mrhx-c7xc-m3w5) -> 4.6.7

Lockfile only (npm update --package-lock-only), all within existing ranges.
The older zod copies left are under the dev-only Mintlify CLI, outside the
production audit.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approval: no reviewable delta since the prior approval; re-submitting after stale-review dismissal.

@bokelley
bokelley merged commit 75afe9d into main Oct 24, 2026
61 checks passed
@bokelley
bokelley deleted the bokelley/slack-validation-current-release branch October 24, 2026 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant