Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
d3511e5
docs(skills): trim skill frontmatter and document snapshot promotion
offendingcommit Sep 21, 2026
67cec81
docs(plans): plan the plugin contract testing harness
offendingcommit Sep 21, 2026
7f16d30
chore(openspec): adopt OpenSpec and scaffold the three changes
offendingcommit Sep 21, 2026
0695965
feat(testing): record-and-replay plugin context for drift detection
offendingcommit Sep 21, 2026
a785ff7
docs(plans): fold in the remaining review findings
offendingcommit Sep 21, 2026
ddbe467
docs(plans): record the settled provisioning, pin, and migration calls
offendingcommit Sep 21, 2026
e760d1f
fix(testing): catch positionally renamed host parameters
offendingcommit Sep 21, 2026
3bfd8d2
docs(plans): qualify KTD1's rename claim to match the shipped behavior
offendingcommit Sep 21, 2026
7cece53
docs(plans): resolve the cross-model findings and four scope calls
offendingcommit Sep 21, 2026
959bf86
chore(openspec): resync Change A tasks with the revised plan
offendingcommit Sep 21, 2026
0c22dc7
feat(testing): host shapes that reach the capability-probe branches
offendingcommit Sep 21, 2026
6942296
refactor(tests): migrate the kit's own fake onto the shipped harness
offendingcommit Sep 21, 2026
cf434c0
feat(testing): registration, receipt, and schema check helpers
offendingcommit Sep 21, 2026
74a1c9a
feat(packaging): guard the public surface and prove it from a wheel
offendingcommit Sep 21, 2026
c8ab36b
feat(testing): ship a checkout resolver so the replay is reachable
offendingcommit Sep 21, 2026
3bb89a1
Merge remote-tracking branch 'origin/main' into feat/plugin-contract-…
offendingcommit Sep 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
run: |
just build
just check-dist
# `twine check` reads metadata and never opens the archive, so it passes
# on a wheel that is missing a module entirely. Installing and importing
# is the only thing that catches that.
- name: Prove the public surface imports from the installed wheel
run: just check-install

# Amber admission gates on the exact deployed Hermes fork contract. Keep the
# immutable revision aligned with infra's candidate image/source receipt.
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ dist/
.venv/
.eggs/
.hermes-agent/
.DS_Store

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions hermes_plugin_kit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def register(ctx):
from pathlib import Path
from typing import Any, Callable, Iterable, Iterator, Mapping, Protocol

from . import testing
from .observability import (
ObservabilityEvent,
credential_identity_hash,
Expand Down Expand Up @@ -119,6 +120,13 @@ def register(ctx):
"credential_identity_hash",
"log_observability_event",
"new_correlation_id",
# Documented in README.md and the Surface Map, and tested, but absent from
# this list until now -- the exact drift the reachability guard prevents.
"plugin_reference_tool",
# Consumer-facing test support. The submodule is the public name rather than
# its individual classes, so test doubles stay out of the runtime namespace
# (the shape django.test and starlette.testclient take).
"testing",
]

_SPEC_ATTR = "_hpk_tool_spec"
Expand Down
Loading
Loading