Shared contracts for the Hawk ecosystem.
This repo exists to hold stable cross-repo definitions used by:
hawkeyrieyaadtoktracesightinspect- Hawk SDKs and extension surfaces where needed
Allowed here:
- shared enums
- shared structs
- event models
- finding/result models
- engine request/response contracts
- policy and tool contracts
Not allowed here:
- CLI code
- provider implementations
- runtime logic
- storage implementations
- product orchestration
The legacy github.com/GrayCodeAI/hawk/shared/types package has been removed.
Severity, findings, and the packages below are the supported cross-repo API.
Engines should depend on this repo only when they produce or consume a shared
contract. Contract-free engines (for example eyrie, yaad, trace) should
not add the dependency just for consistency.
types/- severity, findings, and shared result vocabularytools/- provider-neutral tool call and tool result contractsevents/- normalized tool and trace event contractspolicy/- risk, permission verdict, guardian decision, approval request contractsreview/- neutral review findings, comments, stats, and result contractsverify/- neutral verification findings, stats, and report contracts
Completed:
- shared finding and severity definitions moved here
sightandinspectmigrated to import this repo- Hawk docs and READMEs updated
- tool, event, and policy contracts added
- review and verification result contracts added
- keep this repo implementation-free
- prefer additive changes
- avoid product-specific runtime assumptions
- do not move Hawk orchestration code here
- if a type is only used inside one repo, it should stay in that repo