Skip to content

Releases

v0.11.0

Choose a tag to compare

@hwesterb hwesterb released this 17 Nov 19:15

Changed

Pattern identities now bind each placeholder to its definition (canonicalization v3). A card's dependencies map
each placeholder in its text, such as {{judge}}, to a target. Canonicalization v2 hashed which targets a category
binds and how many times, but not which placeholder each one fills; v3 hashes that pairing as well. A pairing stays
implied when the placeholder names its own target ({{judge}} bound to Judge) and no other placeholder name in the
card folds to the same name. A card whose pairings are all implied hashes exactly as under v2. Every other pairing is
hashed explicitly under the reserved key @bindings. Section 4.2 of the specification defines v3,
and docs/specification/canonicalization-v3-test-vectors.json gives its test vectors. New identities use v3; v2 stays
available for verifying what was published under it.

55 of the 617 bootstrap patterns take new identities: the 8 whose placeholders carry role names (Aggregate,
EmpathySim, InvariantFilter, NormativeJudge, OsmoticFilter, PURECheck, Rally, Refine) and the 47 that
depend on them. Each lists its 0.10.0 identity in _meta.supersedes, and sema pull updates each in place. The
other 562 keep their identities. The semantic-set and catalog roots change accordingly.

Added

  • Library manifests: manifest_schema 2 adds a required canonicalization. A schema-1 manifest still installs and
    means v2. sema package writes schema 2 for a v3 database and schema 1 for a v2 one, so a v2 library stays
    installable by earlier releases; installed-library records carry the version, and re-verification uses it. Earlier
    sema versions refuse a schema-2 manifest rather than misread it.
  • Workspaces record their canonicalization. A database written before this release that holds patterns stays on v2;
    a new one starts on v3, and sema build gives a selective copy the version of its source. sema pull from a v3
    upstream moves a v2 workspace to v3 inside the same atomic update and recomputes every local identity, user
    patterns included. An exact extends pin follows its parent to the new identity when the parent is the same
    definition re-identified; a pin to a parent whose content changed upstream is refused as before. A v3 workspace
    refuses a v2 upstream. The hash audit checks under the version of the database the vocabulary was exported from,
    or --canonicalization.
  • sema_handshake and sema_root report the canonicalization of the active vocabulary, and sema_handshake
    takes your_canonicalization. A v2 and a v3 workspace compute the same digest for a card whose pairings are all
    implied, but only v3 has checked the bindings. When the peer's version differs from the workspace's, strict mode
    returns HALT and cooperative mode adds a warning to its verdict. Releases before this one declare no version,
    and they hash under v2, so strict mode reads a presented hash with no declared version as v2: a v3 workspace then
    returns HALT with CANONICALIZATION REQUIRED until the peer's version is supplied. A v2 workspace, cooperative
    mode, and a call that only asks for the canonical hash behave as before.
  • sema pull reports canonicalization_before and canonicalization_after, and keeps its undo snapshot when the
    canonicalization moved even if no identity did. A refused or rolled-back pull reports the version it left in place.
  • An installed library is verified only if its database records the canonicalization its release declares, and a
    workspace whose recorded canonicalization is unreadable or unsupported answers every handshake with HALT.
  • scripts/test_hash_verification.py takes --canonicalization {2,3} and --all;
    scripts/rebuild_vocabulary.py takes --retarget-extends.

Upgrading

Upgrade semahash and restart connected MCP servers to use the new bundled vocabulary.
For an editable local vocabulary, run sema pull to migrate its identities to v3.
Upgrade clients before installing v3 libraries: older releases reject their schema-2 manifests.
Hosted registries must upgrade their runtime and pass the caller's canonicalization to strict
handshakes before importing the v3 bootstrap release.

Sema 0.10.0

Choose a tag to compare

@hwesterb hwesterb released this 11 Oct 10:15

Sema 0.10.0 improves pattern discovery and separates general conceptual decomposition from solver-specific decomposition.

  • Search matches individual meaningful query words and supports layer and category filters across keyword and semantic search.
  • The local viewer preserves relevance scores and search sources.
  • Handshake accepts full written references for patterns and vocabulary roots.
  • The vocabulary contains 617 patterns. ConceptualDecomposition is general-purpose; the new SolverDecomposition carries the solver-specific contract. Ten existing patterns receive new identities and retain their released predecessors in _meta.supersedes.
  • The manual and paper match the updated vocabulary.

Upgrade the semahash package and restart the MCP server to use the bundled vocabulary. Editable local vocabularies can update with sema pull.

The attached library.json and ZIP provide the same verified vocabulary as the package. Code is MIT; vocabulary and documentation remain CC BY 4.0 (see LICENSE-CONTENT).

Validation: 761 tests, supported Python versions, Lean proofs, vocabulary verification, release-artifact checks, and an installed-wheel viewer smoke test pass.

v0.9.1

Choose a tag to compare

@hwesterb hwesterb released this 09 Oct 17:12

Added

Ten patterns for verification, change management and triage bring the vocabulary to
616 patterns:

  • ClosureConservationCheck, ExpandContractMigration, FailurePreservingReduction,
    FinalizedIntervalRead, FixPathTriage, MeaningChangeSweep,
    MetamorphicTesting, ReleaseArtifactVerification, SpecBinding and
    SpecIntentCheck.

ExpandContractMigration is the first pattern in Infrastructure/Safety, which the
design manual now defines: authored procedures for changing a running system without
breaking the parts that depend on it. Each pattern includes its design commentary and
use boundaries. The existing 606 definitions retain their identities.

Release builds now verify wheel and source archive contents against approved inputs,
including the bundled vocabulary, database and complete viewer assets, before upload.

Changed

Rebuilding the bundled database recomputed the search embeddings of 84 existing
patterns from their current text. Identities are unchanged; semantic search results
for those patterns may shift slightly.

v0.9.0

Choose a tag to compare

@hwesterb hwesterb released this 08 Oct 18:23

Changed

Every layer now has a Dynamics category for patterns that describe how a system
behaves (a process, a regularity or a limit) and prescribe no response. A pattern
filed there is a model to recognise in a case, not steps to follow. The rule runs one
way: structures, primitives, judgment errors and states of the evidence also stay
outside Dynamics, so a pattern outside it is not thereby a procedure. 43 patterns move
there from categories that held procedures or topics:

  • Physics/Dynamics: Brakefade, Ripplelag, Swayhold, Syncdrift,
    VirginSoilEpidemic and WaveOfAdvance.
  • Infrastructure/Dynamics: Formelt, Limitblur and Regulapse.
  • Mind/Dynamics: Aimscatter, Capacitylag, Crossripening, Echohollow,
    Echoverturn, Foundationfray, Futurefold, Identitylag, Labelloop,
    Meaningthin, Mirrorbloom, Quietroot, Readyrise and RegressionToMean.
  • Society/Dynamics: CumulativeCulture, DemographicTransition,
    DensityRatchet, DiminishingComplexityReturns, ExitCage, Focalpeer,
    FreeRiderProblem, InnovationDiffusion, Linkfade, MalthusianTrap,
    Quietsever, Recifluence, Scaleasynchrony, SecurityDilemma,
    Sideinherit, StructuralDemographicCycle, Sunbound, SurplusBound,
    Twinflow and Warsift.

No layer changes. The category is unhashed metadata, so every pattern keeps its
identity and both vocabulary roots are unchanged. Patterns naming a judgment error or
a state of the evidence stay with the inference and reasoning patterns, while
RegressionToMean, a phenomenon that occurs whether or not anyone misjudges it,
moves. Elementary concepts stay primitives as general building blocks, including
those that describe change over time, such as Decay and PhaseTransition. The design manual states the rule, and the MCP
server's instructions and the usage skill tell agents to apply a Dynamics pattern as
a model to test against the case, not as steps to run.

Clients from 0.8.1 and earlier reject patterns on the new Infrastructure, Mind and
Society Dynamics paths wherever they validate patterns: in sema pull --source from
this vocabulary, and when installing or updating a library that uses the new paths. A
0.8.1 sema pull --source stops with validation errors and restores its database
unchanged. Upgrade the client before taking the new vocabulary; a plain sema pull
reads the vocabulary bundled with the installed client, so the two arrive together. A
service that hosts the vocabulary, such as sema-web, must deploy this runtime first,
then update its bootstrap vocabulary and refresh its caches; updating the bootstrap
first fails validation.

The suggested credit for reusing the vocabulary now names the shared project rather
than an individual: Vocabulary from Sema (https://github.com/emergent-wisdom/sema),
licensed under CC BY 4.0
. The licence itself is unchanged, and contributors keep the
copyright in their contributions. The GitHub release attaches the licence file next to
the bootstrap package, which cannot carry it itself.

Sema 0.8.1

Choose a tag to compare

@hwesterb hwesterb released this 07 Oct 23:48

Added

Sixteen patterns for population dynamics, cultural transmission, resource
constraints and intergroup competition bring the vocabulary to 606 patterns:

  • CumulativeCulture, DemographicTransition, DensityRatchet,
    DiminishingComplexityReturns, ExitCage, FreeRiderProblem,
    InnovationDiffusion, MalthusianTrap, SecurityDilemma,
    StructuralDemographicCycle, Sunbound, SurplusBound, Twinflow,
    VirginSoilEpidemic, Warsift and WaveOfAdvance.

Each pattern includes its design commentary and use boundaries. The existing
590 definitions retain their identities.

Sema 0.8.0

Choose a tag to compare

@hwesterb hwesterb released this 07 Oct 14:57

Sema 0.8.0 expands the bootstrap vocabulary from 457 to 590 patterns and updates the agent guidance for using patterns in reasoning tasks.

What changed

  • 133 new patterns cover reasoning, evidence, coordination, and changing processes.
  • Five definitions are aligned with the September revision of the Fractal Intelligence paper. Including dependent patterns, 20 released identities change; their 0.7.1 predecessors are recorded in _meta.supersedes.
  • MCP instructions and the sema-usage skill now guide agents to search for applicable patterns and use their mechanisms, invariants, failure modes, and cautions.
  • Vocabulary verification detects when the installed package is used instead of the source checkout, and the audit runner rejects an invalid checkout.

Upgrading

Upgrade semahash using the same package manager and environment that run your MCP server, then restart the server. Users of the bundled vocabulary receive the new patterns immediately; they do not need sema pull.

For an editable local vocabulary, upgrade the package and run sema pull --dry-run to review the changes, then sema pull to apply them. Explicit --source inputs and published libraries remain separate ways to distribute vocabulary.

Existing snapshots retain their original identities. Exact references to older definitions require the corresponding retained snapshot.

Bootstrap library

library.json and sema-bootstrap-0.8.0.zip contain the portable bootstrap library. Its 590 cards and vocabulary roots match the bundled database.

See CHANGELOG.md for the complete list of additions and changes.

v0.7.1

Choose a tag to compare

@hwesterb hwesterb released this 04 Oct 19:53
4303ac8

This release refines five bootstrap definitions, including two dependency
cascades. Existing snapshots retain their original identities; consumers choosing
to upgrade should use the new definitions and vocabulary roots.

Fixed

  • MechanisticDesignProposal requires novelty claims to name their comparison
    and records weak or outdated comparisons as a failure mode.
  • SemanticTabu defines avoidance against the listed mechanisms using a stated
    canonical form; satisfying the tabu list does not establish novelty against
    unlisted solutions.
  • DiscoveryProtocol requires declared distinct cognitive modes, references
    Solver and Novelty, and describes unminted solver roles in ordinary prose.
  • The five changed identities, including the dependency cascade to
    DesignArchitect and PUREBrainstorming, record their published predecessors.
    The library still contains 457 patterns.

v0.7.0

Choose a tag to compare

@hwesterb hwesterb released this 28 Sep 11:45

This release changes bootstrap definitions and discovery signatures. Existing
0.6.0 snapshots remain valid for their original hashes. Consumers choosing to
upgrade should use the new definitions and roots; old exact references require
the corresponding retained snapshot.

Fixed

  • Ten bootstrap patterns no longer identify evidence, agreed terms, historical
    circumstances, interpretation context, or decision information with the
    portable agent execution Context: Belief, Contract, ExploreExploit,
    GenealogicalTrace, HumanApprove, InternalConsistency, Interpret, OutputGuard,
    Specialize, and Understand. Their substantive obligations remain explicit.
    Context's own definition is unchanged.
  • InternalConsistency now advertises Check(Artifact), matching its actual
    subject. Understand no longer advertises Think(Context); callers using
    signature discovery should resolve Understand directly. Its model-adequacy
    wording now follows the already documented caller-relative standard.
  • Cache guarantees stored-value reuse on a hit instead of promising that
    every lookup is significantly faster than the source. Existing consistency,
    freshness, and serialization requirements are retained; latency targets belong
    to the caller or a specialized pattern.
  • Interpret no longer uses reversibility to distinguish translation from
    interpretation. Translation can be one-way; its existing representation-change
    boundary remains intact, as do Interpret's context-recording and input-preservation
    obligations.
  • Design commentary for Context, Cache, Greet, Sign, and the affected consumers
    now matches their contracts. In particular, Greet requires mutual authentication
    and Sign describes cryptographic artifact binding, not handwritten signatures.
  • Stale commentary for Permission, Noise, Reversibility, Interpret, and Translate
    now reflects their existing general-purpose contracts without adding new
    requirements to those patterns.
  • All 117 changed identities, including dependency cascades from the eleven
    directly edited patterns, record their published 0.6.0 predecessors. The three
    exact parent links on RequestFraming, OptimisticSolver, and RigorousSolver
    were reviewed and explicitly retargeted. The library still has 457 patterns;
    no new patterns were added.

Documentation

  • The vocabulary design manual includes source-card links, parameter definitions,
    complete instance schemas, and dependency mappings. Its authoring instructions
    follow the staging workflow, and its introduction distinguishes structural
    validation from semantic review.

Sema 0.6.0

Choose a tag to compare

@hwesterb hwesterb released this 27 Sep 17:42

All 457 bootstrap pattern identities and both aggregate roots are unchanged.

Added

  • sema login, sema logout, and sema whoami log the CLI in to a hosted
    Sema registry through the OAuth 2.0 device authorization flow (RFC 8628).
    The token is stored per registry origin under the Sema configuration
    directory and can be revoked from the registry profile page.
  • sema login --key stores a key created on the registry's profile page,
    after checking it with the registry. --key - reads the key from standard
    input.
  • sema registry import|list|remove publish, list, and remove your libraries
    on the registry from the command line or from an agent, with no browser
    visit after the one-time approval. --registry and SEMA_REGISTRY_URL
    select another registry, and sema install still needs no account. A successful
    login remembers the selected registry, with explicit flags and environment
    settings taking precedence. Logging out keeps the registry choice.
  • sema registry search [WORDS...] and sema registry show NAME list and
    describe published libraries without an account, and sema install NAME
    installs one by name: exactly the release that the registry verified.
    Before it writes anything, Sema checks the manifest's name, version, both
    roots, and archive checksum against the listing, and it refuses a different
    release, such as a replacement served after an account takeover. The
    release is then verified as before.
  • sema update keeps that protection for libraries installed by name: it
    takes only a release that the original registry has verified, even if the
    default registry changes later. A mismatched release or an unavailable
    registry leaves the installed and active snapshot unchanged. Libraries
    installed from a URL or a file update from their own source as before.
  • Agents can find, install, and publish libraries from a chat. The MCP tools
    sema_library_search, sema_library_install, sema_library_login, and
    sema_library_publish search the public registry, install a library by name
    or from any library.json URL, store a key that the user gives the agent,
    and publish a GitHub release after the user agrees.
  • The local view. sema serve opens a view of the active vocabulary in the
    visual design of semahash.org: its name, whether it is writable, its root,
    and the patterns in card, list, and JSON views. The 3D graph grows in place
    while an agent mints; new patterns light up, and a live panel lists them and
    can follow each one. A writable vocabulary's page ends with the optional
    steps to publish it on semahash.org. sema serve --open opens the view in a
    browser.
  • The MCP server instructions tell connected agents that they can suggest the
    local view while building a vocabulary with the user, and describe the
    optional publishing path: package, GitHub release, sema login, and
    sema registry import.

Changed

  • sema serve opens the vocabulary selected with sema use, using the same
    database resolution as the CLI and the MCP server, and follows a later
    sema use or sema_use from another process. SEMA_DB_PATH still pins it.
    Previously the server showed the bundled catalog unless SEMA_DB_PATH was
    set.
  • The sema-ui skill reuses a running server and no longer stops whatever
    process listens on its port.

Fixed

  • Credential files now use unique temporary files with owner-only permissions
    from creation, avoiding exposure before the credentials are atomically saved.
  • The server tests no longer read the developer's own active vocabulary.

v0.5.5

Choose a tag to compare

@hwesterb hwesterb released this 06 Sep 15:56
e6c5869

All 457 bootstrap pattern identities and both aggregate roots are unchanged.

Fixed

  • The MCP Registry launch command installs the required MCP extra and pins the
    package version advertised by the registry. Release metadata synchronization
    now checks and updates that requirement, with regression coverage for missing
    extras and stale versions.