Repair audit findings: dependency security, errors, identity and template reads #16
Labels
No labels
waiting-on-julian
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jlxq0/hevy-mcp#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Implements fleet t_9d164f0d; acceptance criteria read from its first comment. Audit source
a6c8bd5dd0(v0.4.4); canonical fetch unchanged, no open PRs. Prior audit t_3bc636f4 has no board attachment; its handoff and fresh source/advisory/live checks supply evidence.No real workout writes authorized. No auth/protection weakening. Historical CI does not supersede fresh advisory failure. Quinn absent default runtime graph; TLS trust dependencies protect bearer-bearing outbound requests. Direct AsyncFd use not found; not claiming exploitability of every advisory.
Published v0.5.0 at merge
4444b987bb, image digest sha256:f30eaba555f7535c43082874f823ce25ec93c6337c3182a89768809ed5437e98. Source fixes, independent review, full checks, exact-head PR CI, main/release CI and closeout are complete. Keep this issue open for Clark rollout/real client proof; no credential was supplied to this worker and Claude has no configured Hevy MCP server.Candidate validation: cargo +1.98.0 fmt --all --check, Clippy --all-targets --all-features --locked -D warnings, 54/54 tests, cargo +1.93.0 check --all-features --locked, cargo audit and cargo deny check pass. Baseline 59 tests included 12 tests in the removed dead Matrix URL module; 7 new behavior tests added. New tests drive real MCP error/identity envelopes, all workout/routine write bodies through wiremock, template multi-page search/cache key isolation/expiry/create invalidation/partial-error nonretention, history/folder requests. Independent fresh read-only reviewer is examining the candidate before PR creation. No real writes performed. Clark access card t_7c4c63ff pending; request queued to Clark:hermes.
Reviewed candidate committed/pushed as
b877732; PR #17 opened after independent pre-PR review. One rework closed normalization/redaction and empty nonfinal-page cache findings; reviewer independently ran 58 passing tests. Final full fmt/Clippy 1.98/test/audit/deny/Rust 1.93 gates all pass. Main protections unchanged (CI / cargo*, apply_to_admins true, no direct push). CI single cache exporter preserved. Old merged fix/clamp-pagination remote branch removed after ancestry check; fix/session-reclaim was already gone. Closeout: added two root-cause/cache conventions and linted repository docs; no state file added. Exact-head CI/release and Clark valid-key Claude proof remain pending.Protected merge completed after exact-head cargo/docker CI run 51 passed (cargo 3m6s; actual docker task 1m35s). PR #17 merged to
4444b987bb. Verified merge tree byte-identical to reviewed/testedb8777321c4. Publishing annotated v0.5.0 at the merge commit; watching main/tag CI and genuine docker tasks. No branch protection or workflow changes. Real valid-key Claude client proof remains Clark card t_7c4c63ff; current live image is still v0.4.4, not assumed updated by tag publication.Release complete: https://forge.oddie.app/jlxq0/hevy-mcp/releases/tag/v0.5.0 at
4444b987bb; registry manifest readback verified sha256:f30eaba555f7535c43082874f823ce25ec93c6337c3182a89768809ed5437e98. CI run 52 main and 53 tag: all four genuine cargo/docker tasks passed. Docker windows (UTC, observed current task timestamps): main task 27459 02:28:14–02:29:53; tag task 27460 02:28:15–02:29:37, overlap 82s. This supplies the overlap evidence missing from v0.4.0 for the single buildcache exporter fix; it is not inferred from green statuses alone. Protections read back unchanged. Closeout: two pitfall/convention bullets and README behavior docs, commands checked and docs linted. Remaining gate: Clark card t_7c4c63ff for GitOps rollout and actual valid-key Claude read-only proof; current deploy still v0.4.4 at prior readback. Source repair card can close under its explicit missing-key-to-Clark alternative while this issue remains open for operational proof.Coordination correction: fleet lead has linked Clark card t_7c4c63ff as a prerequisite of t_9d164f0d. Native completion correctly refused while that parent is running. Preserve the final rollout and actual authenticated Claude-client gate; do not use the earlier missing-key fallback wording to close the gated card. Source fixes/review/checks/release and digest readback are complete, but current live deployment remains v0.4.4 and the final proof is still pending. No override or dependency removal attempted.