[EPIC][module-conformance] Native module SDK, fixtures, conformance matrix, packaging, and framework docs #191
Labels
No labels
bug
documentation
duplicate
enhancement
feature
good first issue
help wanted
invalid
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/hackmode#191
Loading…
Add table
Add a link
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?
Parent: #192
Mission
Make the native Hackmode module framework practical to extend and safe to evolve by defining a developer-facing module SDK surface, deterministic conformance fixtures, packaging/discovery rules, compatibility guarantees, and architecture/operator documentation.
SDK / authoring surface
Document and stabilize the minimum Common Lisp interfaces for authors to define:
Module authors should not need to know Tek9 persistence internals or LISH parsing internals.
Conformance matrix
Every module family should be testable against a shared matrix covering at least:
Family-specific rows may extend the matrix.
Deterministic fixtures
Maintain harmless local/synthetic fixture modules representing several families so framework CI never requires an Internet target or privileged host access.
Fixtures should exercise success, denial, validation failure, provider error, cancellation and stale-handle behavior.
Packaging / discovery
Define how native modules are composed into the Hackmode flake/Common Lisp system:
nix flake check.Do not require mutable global plugin directories as the canonical packaging mechanism.
Compatibility
Version public contracts for descriptors/options/results so modules can declare compatibility and fail clearly when the host is too old/new.
Deprecation should be explicit and inspectable rather than silently changing module semantics.
Documentation
Provide architecture and operator docs including:
Acceptance
Non-goals
First slice
Add a
hello/read-only-observationstyle fixture module plus a shared conformance helper that proves descriptor registration, option validation, foreground execution through a fake provider and typed evidence output. Use that fixture as the SDK documentation baseline.