Skip to content

GrayCodeAI/hawk-core-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hawk-core-contracts

Shared contracts for the Hawk ecosystem.

This repo exists to hold stable cross-repo definitions used by:

  • hawk
  • eyrie
  • yaad
  • tok
  • trace
  • sight
  • inspect
  • Hawk SDKs and extension surfaces where needed

Scope

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

Migration history

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.

Package map

  • types/ - severity, findings, and shared result vocabulary
  • tools/ - provider-neutral tool call and tool result contracts
  • events/ - normalized tool and trace event contracts
  • policy/ - risk, permission verdict, guardian decision, approval request contracts
  • review/ - neutral review findings, comments, stats, and result contracts
  • verify/ - neutral verification findings, stats, and report contracts

Current status

Completed:

  1. shared finding and severity definitions moved here
  2. sight and inspect migrated to import this repo
  3. Hawk docs and READMEs updated
  4. tool, event, and policy contracts added
  5. review and verification result contracts added

Governance rules

  • 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

About

Shared contracts for the Hawk ecosystem: findings, severity, review/verify results, events, policy, tools. Zero-dependency Go leaf module.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages