Skip to content

host_requirements_v1: apps can require a minimum host plugin version (#155) - #156

Merged
guijacquemet merged 6 commits into
mainfrom
claude/stardist-labconstrictor-plan-aizdd6
Nov 14, 2026
Merged

guijacquemet merged 6 commits into
mainfrom
claude/stardist-labconstrictor-plan-aizdd6

Conversation

@guijacquemet

Copy link
Copy Markdown
Contributor

Implements step 1 of #155.

  • labconstrictor_tools/host_requirements.py: check(entry, host, host_version, host_features) → (ok | warn | refuse, sentence), PEP 440 comparison (tags with v / -alpha.N accepted), manifest reader for the host_requirements: block (no YAML parser), validation with exact problem texts.
  • register --app-manifest stores the key in the registry entry (invalid → refused, nothing registered); check --app-manifest and list print it.
  • Feature id host_requirements_v1.
  • conformance.json section host_requirements (sentences, update URL, version_order, 18 cases) for the Groovy copies in Fiji and QuPath.
  • Docs: PROTOCOL.md "Host requirements", MANIFEST.md §6, HOST_FEATURES.md host feature ids, CONFORMANCE.md.
  • Tests: tests/test_host_requirements.py (vectors, manifest reader agrees with PyYAML, registration, CLI); feature-list pins updated.

Backward-compatible: the key is optional and old hosts ignore it.


Generated by Claude Code

…ectors; docs (#155)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdRdA72nsUjZvTXFSbP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdRdA72nsUjZvTXFSbP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WX6rdRdA72nsUjZvTXFSbP
@guijacquemet
guijacquemet merged commit c050714 into main Nov 14, 2026
8 checks passed
@guijacquemet
guijacquemet deleted the claude/stardist-labconstrictor-plan-aizdd6 branch November 14, 2026 09:03
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.

2 participants