Skip to content

Add SourceOS contract sync check#48

Merged
mdheller merged 2 commits into
mainfrom
work/sourceos-contract-sync
May 30, 2026
Merged

Add SourceOS contract sync check#48
mdheller merged 2 commits into
mainfrom
work/sourceos-contract-sync

Conversation

@mdheller
Copy link
Copy Markdown
Contributor

Summary

Adds pinned contract-sync automation for AgentTerm's vendored SourceOS interaction Python artifact.

This PR adds:

  • tools/sync_sourceos_contracts.py
  • .github/workflows/sourceos-contract-sync.yml

Behavior

The sync script fetches generated/python/sourceos_interaction_event.py from the pinned SourceOS-Linux/sourceos-spec commit and normalizes the local header. It supports:

python tools/sync_sourceos_contracts.py --check
python tools/sync_sourceos_contracts.py --write

--check fails when the vendored contract drifts from the pinned upstream artifact.

Boundary posture

No runtime behavior changes. AgentTerm remains the terminal/operator surface. This only prevents silent contract drift.

Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant