Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 22 Sep 03:23
· 10 commits to main since this release

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.