Repository navigation
Releases
v0.3.0
BREAKING: relay hostnames are checked before every request, and errors are classified by HTTP status
Breaking changes
- Before each relay HTTP request, the hostname is resolved and every answer must be public. A name with a private,
reserved or missing answer is refused. This DNS preflight works alongside the required trusted egress proxy; it does
not pin the HTTP client's later connection. - Relay addresses are checked against one explicit, shared list of address ranges, including IPv4 addresses embedded
in IPv6. - The HTTP status decides the failure category; response text can no longer change it. HTTP 409 maps to
SurfaceRevisionRejected.
Changes
- The explicit isolated local mode (unverified egress) keeps its existing behaviour.
v0.2.0
Reserve a confirmation verb behind every separator (G-130)
Security fix. Confirmation tools belong to the human: an agent that can call one approves its own proposals. A tool name is chosen by the surface, and the well-formed name check admits ., : and - as well as _, but the reservation looked for the verb only when the whole name was the verb or it followed _. So under TrustPolicy wildcard trust a surface naming its confirmation tool terminal.confirm, sheet:approve, edit-deny, confirm_edit or sheetConfirm handed it to the agent. Upgrade if any surface you attach to can choose its own tool names.
BREAKING CHANGE: more tool names are now reserved for the human and are never offered to the agent, under any policy including wildcard trust and an explicit allowlist entry. The name is split into words at every _, ., : and - and at every camelCase boundary, and is reserved when any word is confirm, reject, accept, approve or deny (case-insensitive). A tool such as approve_change or deny.all that an agent could call before is now refused. Only whole words count, so send_confirmation_email and denylist stay callable.
- The rule is spelled identically in PHP, TypeScript and Python, and leading and trailing invisible characters are still stripped first (G-36).
- The tool-admission conformance corpus is at 0.2.0: 45 rows, including every form above and whole-word controls, recorded by running each language.
v0.1.0
First release: humans and agents on one surface, in Python
prism-ai-human-plus is the Python port of
particle-academy/prism-human-plus — an agent joining a running application
surface a person already has open, across a trust boundary that is enforced.
pip install prism-ai-human-plus
Zero runtime dependencies. Python 3.10+.
A surface issues an invitation. An agent joins through it, sees the surface's
tools, calls the ones it is trusted with, and announces what it is doing to the
people watching. HumanPlusManager and HumanPlusToolset are the entry points;
Participant, SurfaceInvitation and Activity are the vocabulary.
Attachments go through an AttachmentStore scoped to their owner, and reaching
one you do not own is AttachmentUnauthorized rather than a silent empty read.
CONFIRMATION STAYS WITH THE HUMAN. An agent that can call a confirmation tool
approves its own proposals, so those tool names are reserved.
That reservation was broken in all three languages at once by a single trailing
space in a tool name, because a name is chosen by the SURFACE (G-36). It is
closed here by normalising against an explicit codepoint set spelled identically
in PHP, TypeScript and Python -- deliberately NOT each language's own strip(),
which would have shut the ASCII hole and opened three new Unicode ones.
Worth knowing how it was found: the live probe of this exact property reported
both languages agreeing the whole time it was broken, because the probe used a
clean tool name. A shared corpus could not see it either -- all three languages
agreed, because all three were wrong the same way.
ChangeFeed, ChangeActor and ChangeKind answer "what changed since I last
looked", with four states -- NotObserved, Unavailable, Offered, Attributed --
rather than collapsing "nothing changed" into "I cannot tell you". A consumer
that cannot distinguish those two ends up presenting a guess as a fact.
The human-plus family has a prism-parity suite that runs one fixture through
all three languages and compares the bytes, including the change feed's 23 rows.