Skip to content

feat: pin Simplicity programs by hash and compiler version - #17

Merged
stringhandler merged 1 commit into
mainfrom
st-program-pinning
Oct 7, 2026
Merged

stringhandler merged 1 commit into
mainfrom
st-program-pinning

Conversation

@stringhandler

Copy link
Copy Markdown
Owner

Each .simf reference may carry a content hash ("sha256:") and a SimplicityHL version requirement, inline or via a top-level programs table, so the manifest id covers the programs. Programs are loaded once by a checked loader; covenant code takes source text, not paths. run refuses unpinned manifests unless --allow-unpinned; validate checks program files and gains --strict; new pin command writes hashes without reformatting. Examples are pinned.

Adds docs/ with a glossary and decision record 0001.

Each .simf reference may carry a content hash ("sha256:<hex>") and a SimplicityHL
version requirement, inline or via a top-level programs table, so the manifest id
covers the programs. Programs are loaded once by a checked loader; covenant code
takes source text, not paths. run refuses unpinned manifests unless
--allow-unpinned; validate checks program files and gains --strict; new pin
command writes hashes without reformatting. Examples are pinned.

Adds docs/ with a glossary and decision record 0001.
@stringhandler
stringhandler merged commit ab10ac1 into main Oct 7, 2026
3 checks passed
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