Skip to content

feat: isNoWiderThan(), fromPartial() and fromArray() — the envelope helpers beside meet() - #35

Merged
rodrigoteamx merged 1 commit into
mainfrom
feat/effect-profile-envelope-helpers
Aug 20, 2026
Merged

feat: isNoWiderThan(), fromPartial() and fromArray() — the envelope helpers beside meet()#35
rodrigoteamx merged 1 commit into
mainfrom
feat/effect-profile-envelope-helpers

Conversation

@rodrigoteamx

Copy link
Copy Markdown
Contributor

isNoWiderThan() — the ONE comparator: this profile is <= that one on every axis, Unknown weighing as the top of its axis. It is what a gate asserts after a meet (the never-widens tripwire) and what a policy uses to admit a call under a tightened envelope. One ordering in one place: a second comparator elsewhere is the duplicate-judge defect.

fromPartial() — a human's tightening as a profile: the named axes, Unknown on the rest, so a meet with the declared ceiling leaves omitted axes at the ceiling. Refuses non-axis keys (a value change is a new proposal, not a tightening — greenhouse decisions/0065) and Guaranteed (needs a producer-backed rollback contract, never a click).

fromArray() — the inverse of toArray(), so a stored envelope rehydrates for comparison; all five axes required.

Second piece of the structural-counter tier (greenhouse decisions/0067, panel evidence/0268); milpa/agent will depend on command for these. Ships as a command minor.

…elpers beside meet()

isNoWiderThan(): the ONE comparator — this profile is <= that one on every axis,
Unknown weighing as the top of its axis. It is what a gate asserts after a meet
(the never-widens tripwire) and what a policy uses to admit a call under a
tightened envelope. One ordering in one place: a second comparator elsewhere is
the duplicate-judge defect.

fromPartial(): a human's tightening as a profile — the named axes, Unknown on the
rest, so a meet with the declared ceiling leaves omitted axes at the ceiling.
Refuses non-axis keys (a value change is a new proposal, not a tightening —
greenhouse decisions/0065) and Guaranteed (needs a producer-backed rollback
contract, never a click).

fromArray(): the inverse of toArray(), so a stored envelope rehydrates for
comparison; all five axes required.

Greenhouse decisions/0067.
@rodrigoteamx
rodrigoteamx merged commit 351f4ee into main Aug 20, 2026
2 checks passed
@rodrigoteamx
rodrigoteamx deleted the feat/effect-profile-envelope-helpers branch August 20, 2026 23:49
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