Files
hermes-agent/pm
ethernet 64a6564084 feat(pm): per-extra platform gates — [tool.hermes.extras-platforms]
Platform gating moves from scattered per-package markers to a
readable per-extra authority (settled 2026-09-02 plan, task 9):

- pyproject [tool.hermes.extras-platforms]: extra -> PEP 508 marker.
  matrix = linux-only (python-olm has no win/darwin build);
  google-chat / mem0 = all but win32-arm64 (grpcio has no win_arm64
  wheel). The per-package markers stay — uv's resolver needs them for
  --all-extras (probe: a fully marker-gated extra syncs clean on
  Windows); this table is the readable single authority for WHICH
  extra is supported WHERE.
- pm.extras.extra_supported(): gate consult with an installed-override
  rule (an extra whose anchors import on this machine is supported
  regardless — dev machines, hand-synced venvs) and a fail-open-on-
  malformed-marker posture. Cached table read.
- available() reads gated-off extras as unavailable; ensure_import()
  raises InstallError naming the gate instead of a resolver no-op —
  the adapter degrades with a readable reason, never a mystery.

Live-verified on this win32 host: matrix -> not supported (gate:
sys_platform == 'linux'), web -> supported, table parses.
tests/pm: 169 passed, 0 failed (4 new gate tests).
2026-09-02 19:57:36 -04:00
..
…
…
…