Issue Lifecycle: Fix Swamp Club API Endpoint #198
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-issue-lifecycle"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adversarial Review
Critical / High
extensions/models/issue_lifecycle_test.ts:322-324(and identical copy atissue-lifecycle/extensions/models/issue_lifecycle_test.ts:322-324)model.version === "2026.07.30.1", but the PR bumpsmodel.versionto"2026.08.16.1". This test will fail deterministically.deno test extensions/models/issue_lifecycle_test.tswill produce:"2026.08.16.1":Medium
issue-lifecycle/manifest.yaml:32026.06.15.1directly to2026.08.16.1, skipping2026.06.29.1,2026.07.05.1, and2026.07.30.1. The model's upgrade chain includes all intermediate versions, so upgrades will work, but publishing via CI auto-publish may have missed the intermediate releases if this manifest was the gating artifact. If those intermediate versions were published via a different mechanism, this is harmless — but worth confirming that the registry has all intermediate versions, or that a version jump from2026.06.15.1to2026.08.16.1is intentional.Low
(none)
Verdict
FAIL — The version assertion test (
model: version bumped to 2026.07.30.1) was not updated to match the new version2026.08.16.1. This will cause a deterministic test failure in bothextensions/andissue-lifecycle/copies.Code Review
Blocking Issues
None.
Suggestions
Upgrade entry description capitalization — All prior upgrade entries in the
upgradesarray use sentence-style lowercase descriptions (e.g."records problem/outcome before closing. No globalArguments changes."), but the new entry uses title case:"Updating Swamp Club API Endpoint". Minor inconsistency, not blocking.Manifest / model version drift resolved — Before this PR,
manifest.yamlwas at2026.06.15.1while the model version inissue_lifecycle.tswas2026.07.30.1. This PR brings both to2026.08.16.1. Consider keeping them in sync on future bumps so the two don't diverge again.The change is minimal and correct: the health check endpoint is updated from
/api/healthto/healthzin both copies ofswamp_club.ts, the corresponding test fetch stubs are updated in both copies ofissue_lifecycle_test.ts, the model version is bumped with a proper upgrade entry (passthroughupgradeAttributesis appropriate since no resource attributes changed), and the manifest version is bumped to match. All changes are symmetric across theextensions/models/andissue-lifecycle/extensions/models/paths.0c9169d4c247743ba5c1Code Review
Blocking Issues
None.
Suggestions
manifest.yamlstate machine diagram is stale (issue-lifecycle/manifest.yaml, lines 32–35): The diagram still showsnotify ──[notify]──> doneandnotify ──[skip_notify]──> done, but since version2026.07.30.1those transitions go tosummarizingfirst, thensummarize→done. This is pre-existing and not introduced here, but since the manifest is being bumped anyway it would be a good time to fix the description to match reality.The change is minimal and correct: a single endpoint string (
/api/health→/healthz) updated consistently in both copies ofswamp_club.ts, version bumped with a proper upgrade entry in both copies ofissue_lifecycle.ts, and all test stubs updated to match the new path. No CLAUDE.md violations, no type errors, no security issues, and env vars are restored infinallyblocks throughout.Adversarial Review
Critical / High
None found.
Medium
issue-lifecycle/manifest.yaml:35 — State machine documentation is stale after prior version upgradesThe manifest's state machine documentation says
notify ──[notify]──> doneandnotify ──[skip_notify]──> done, but the actual model code transitionsnotify → summarizingandskip_notify → summarizing, withsummarize → done. Thesummarizingphase andsummarizemethod (added in2026.07.30.1) are missing from the diagram. ThesummaryandcodeConformanceReviewresources are also absent from the Data section.This is pre-existing staleness, not introduced by this PR, but the manifest version is being bumped from
2026.06.15.1to2026.08.16.1— publishing with outdated user-facing documentation could confuse consumers.Suggested fix: Update the state machine diagram and method/data sections in the manifest description to reflect the current model. This is a warning, not a blocker.
Low
issue-lifecycle/manifest.yaml:2 — Manifest version jumped from2026.06.15.1to2026.08.16.1, skipping three intermediate model versionsThe model code on main was at
2026.07.30.1while the manifest was at2026.06.15.1. This means versions2026.06.29.1,2026.07.05.1, and2026.07.30.1were never published via the manifest. This PR aligns them both at2026.08.16.1, and all intermediate upgrade entries are present in the upgrades array, so consumers upgrading from2026.06.15.1will correctly chain through all migrations. No data loss risk — just noting the version gap for awareness.Verdict
PASS — This is a clean, minimal change: the health check endpoint is updated from
/api/healthto/healthzin both copies ofswamp_club.ts, with corresponding test updates. The version bump and upgrade entry are correct. No references to the old endpoint remain. The two copies (extensions/models/andissue-lifecycle/extensions/models/) are consistent with each other. The stale manifest documentation is a pre-existing issue worth addressing separately but does not block this change.