Skip to content

chore(toolchain): upgrade medharness to 0.10.0 and migrate dhfkit commands - #117

Merged
itercharles merged 3 commits into
mainfrom
chore/medharness-0.10.0
Jun 3, 2026
Merged

chore(toolchain): upgrade medharness to 0.10.0 and migrate dhfkit commands#117
itercharles merged 3 commits into
mainfrom
chore/medharness-0.10.0

Conversation

@itercharles

Copy link
Copy Markdown
Owner

Summary

  • Bump medharness[full] pin 0.9.0 → 0.10.0 in requirements.txt
  • Migrate all DHF data-layer CLI calls from medharness dhf … to the new dhfkit binary (CLI split introduced in v0.8.0 — dhfkit is bundled inside the medharness wheel, no separate install needed)
  • medharness ci cr-statusmedharness change status (v0.8.0 rename)
  • Add v0.9/0.10 test-point annotation guidance to CLAUDE.md Agent Rule feat(CR-031): implement approved spec #3 (@testing:T1 / @pytest.mark.dhf_testing)
  • Fix autocontour:service script: .venv/bin/uvicorn.venv/bin/python -m uvicorn for unambiguous venv Python resolution

DHF impact

No DHF items updated — infrastructure/toolchain change only, no product functionality affected.

Validation

  • medharness --version0.10.0
  • dhfkit --dhf DHF item list --type cr → works ✓
  • dhfkit --dhf DHF validate schema → all 96 items passed ✓
  • medharness --dhf DHF change status → command recognised ✓

Manual testing remaining

  • CI green → auto-merge per instruction

🤖 Generated with Claude Code

itercharles and others added 3 commits May 30, 2026 22:28
…mands

- Bump medharness[full] pin from 0.9.0 → 0.10.0 in requirements.txt
- Migrate all DHF data-layer CLI calls (item, validate, doc, report) from
  `medharness dhf …` to the new `dhfkit` binary (split introduced in v0.8.0)
- Update `medharness ci cr-status` → `medharness change status` (v0.8.0 rename)
- Document dhfkit as bundled inside the medharness wheel (one install, both CLIs)
- Add v0.9/0.10 test-point annotation guidance (@testing:T1 / @pytest.mark.dhf_testing)
  to Agent Rule #3 and the for-stage stage name hint to Quick Reference
- Fix autocontour:service script to use .venv/bin/python -m uvicorn for
  unambiguous venv resolution

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… command API

medharness 0.8.0 reorganised the CLI — the flat `ci` subgroup was replaced by
focused groups. Update all workflow files and the contract check script to use
the new API:

  ci generate-dhf      → change plan
  ci develop-cr        → change implement
  ci cr-status         → change status
  ci advance-stage     → change advance
  ci approve-gate      → approval check
  ci github-event      → automation github-event
  ci validate-branch   → verify branch
  ci validate-code     → verify code
  ci dhf-validate      → verify dhf
  ci test-coverage     → verify tests
  ci test-points       → verify tests
  ci validate-verif.   → verify verification
  ci evidence bundle   → evidence bundle

Also bump medharness-setup action pin from 0.9.0 → 0.10.0 to match
requirements.txt (fixes MedHarness Contract CI gate).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… tests

The old ci test-points command accepted --req-type; the new verify tests
command uses the full --requirement-type flag.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@itercharles
itercharles merged commit efcc3d6 into main Jun 3, 2026
15 checks passed
@itercharles
itercharles deleted the chore/medharness-0.10.0 branch June 3, 2026 20:25
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