Skip to content

Chirality Library 3.6.1

Latest

Choose a tag to compare

@sgttomas sgttomas released this 29 Nov 23:36
82d07f7

Chirality Library 3.6.1

This edition corrects two texts that described host behaviour as fact: the create-workflow workflow and the workflows guide, workflows/README.md. The workflow described an App Workflows panel with review and registration controls and assumed a personal workflow library, name resolution by precedence and a catalog the agent could re-query. The workflows guide treated the Library's discovery contract as general consumer behaviour. The App source examined for pull request #61 did not provide the features the workflow assumed. The revised passages tell the agent to establish what its host supports. The catalog, index, discovery contract and tools are unchanged. The workflow body and its resolver-reported SHA-256 changed.

Source: 82d07f79e5dad5b48f5795b84495b758805bf6a7
Tag: library-v3.6.1
Archive: chirality-library-3.6.1-source.tar (787 tracked files)
SHA-256: de2efabb6d1e4b30e6b766251ec5243c4dcf1b513e38f9445d734e0adad81909

Changes since 3.6.0

Compare editions. The change is pull request #61, which describes it and records its two review rounds. Two files changed.

create-workflow

workflows/create-workflow/WORKFLOW.md changed in "Establish purpose and destination", "Review before registration", "Package and discover" and the last paragraph of "Check and return".

  • Removed. The statements that, in Chirality App, a Workflows panel lists drafts under "Ready for review", that the human chooses "Request changes in chat" and "Register workflow", that registration rejects a draft containing links, and that registration drops special permission bits. The paragraph for "another host without these controls" is gone as a separate case; what it said is now the main route.
  • Before writing. The agent establishes which workflow roots the host reads, where the host's own controls take a draft from if it has any, and how the accepted package will be registered. The agent identifies the destination before copying files; a host control may assign it during registration. <project>/.chirality/workflows/<name>/ and ~/.chirality/workflows/<name>/ are now given as convention. A personal workflow is saved in a user library only where the host reads one; otherwise the agent says so and agrees on the project.
  • Same-name packages. Project, then user, then bundled is stated as the rule under the Library's discovery contract. A host may follow it, resolve names its own way, or list candidates by source and leave the choice to the person; the agent establishes which before saying what a same-name package will do. The source-qualified identity is retained where the host exposes it, and otherwise the path or identifier available.
  • The draft. If the host has review and registration controls, the draft goes to the unpublished location they accept. Otherwise it goes to <project>/.chirality/workflow-drafts/<name>/ only if that is outside every workflow root the host reads, or to another location outside those roots. The former prescribed user draft path is removed. By either route, the draft is kept free of symbolic and hard links, and the agent presents the complete proposed instructions and resource inventory for review. If there is no safe writable location, the agent presents the files in the conversation and holds registration. Unchanged: the human reviews the finished method and accepts it explicitly, and a changed draft needs another inspection.
  • Registration. For a new registration, the agent directs the human to a host control that publishes the exact accepted draft without replacing an existing package. Where that control is unavailable and file writes are authorised, the agent creates the destination with an operation that fails if an entry already exists, then copies the accepted files, preserving ordinary permissions including executable bits and omitting special permission bits. If the destination exists or neither route is available, the agent stops and takes it to the human. The agent keeps the accepted files through read-back, compares the registered file inventory and contents with the accepted draft, checks executable helpers and both kinds of links, and reports any mismatch or unavailable check. It describes only controls it has established the host has.
  • Replacing a registered package. Unchanged, except that the replacement is read back the same way and discovery is checked as below.
  • Frontmatter. New: for portability, name and description are each kept on one line, quoted when needed to stay YAML strings. The Library's own tools accept fuller YAML.
  • Discovery. After registration the agent checks the host's workflow list or catalog if it can read it, refreshes it if it has an established way to do so, and looks for the package using the path, source or identifier the host exposes. If it cannot confirm discovery, it says discovery is unverified, and it gives the human refresh and selection steps only where it has established them. The text notes that a host may read a project's workflows once and keep that list until it is restarted.
  • Return. The saved path and the host's workflow identity where available, and how to select the workflow again as far as that is established.

The passage on an authorised edit of the Library's own bundled workflows is unchanged.

workflows/README.md

  • Central workflows. catalog.yaml holds the ordered central set offered to selectors; a consumer chooses whether its selector shows that set or its own. The text formerly said selectors show it.
  • Who uses the index. "A consumer that follows the Library's discovery contract" uses the index or parses the frontmatter and execution metadata itself. The text formerly said consumers do.
  • Scopes and precedence. Project, user and bundled scope, their precedence, exposure of collisions and blocking on a malformed higher-precedence package are stated as the discovery contract in workflows/index.json. A new paragraph says the contract is what the Library offers, not a description of any host: a consumer may read fewer scopes, resolve names its own way, or list candidates by source. The reader is told to establish what the host reads and resolves before relying on a scope or precedence.

Unchanged

workflows/catalog.yaml, workflows/index.json, the discovery contract and its fixtures, every other workflow, every role text, tool and publication. The generated index is byte-identical to 3.6.0.

Removed and moved paths

None.

Adopting 3.6.1

Adoption is each project's own decision and change. From 3.6.0:

  1. Select the edition and record its tag and source revision.
  2. A product that bundles the Library for people who create workflows gets the corrected create-workflow by bundling this edition. The method no longer tells the agent what that product's interface offers. A product that expects the agent to use its workflow features supplies the applicable workflow roots and its draft, registration, refresh and selection behaviour in the agent's context. Check that the product selects the updated bundled copy, and exercise the registration and discovery route the product supports. Update any expected content hash that pins the old workflow body.
  3. A project that keeps its own copy of create-workflow updates an unmodified copy from this edition, or reconciles an adapted copy against its actual prior Library basis with Workflow: compare-library-derivations. Advance metadata.upstream.edition, if used, only after the whole adaptation has been reconciled.
  4. The Library's standing instructions are unchanged. Update any project or product instructions that repeat the former App assumptions.

A project on an earlier edition also takes the changes of the editions between; see their notes. 3.6.0 retired a workflow and renamed a publication file.

Verification and delivery

The archive was produced with git archive from the Git objects of the source commit. The same command reproduces the published 3.6.0 archive byte for byte from its tag. The 3.6.1 archive's 787 files equal the commit's tracked tree in path, bytes and executable bit, with nothing added, and the archive identifies the commit.

The credential and escaping-link validator received all 787 tracked paths and reported zero findings. Its credential checks look for configured patterns in text, filter out matches containing configured example or test terms, and skip recognised binary formats. No file is a symlink, and the lines added since 3.6.0 name no machine-local path.

In the extracted source, without Git:

  • the workflow index equals what the package metadata generate (78 methods);
  • the workflow metadata validator, the role instruction validator and the skill metadata validator report no errors;
  • 595 validation, workflow runtime, scope and deliverables tests pass;
  • all eight Library scopes validate;
  • both committed reading editions equal a fresh render of their stated source revisions.

Two things need a Git checkout and were run there, at the source commit: the full suite, which passes (1,300 tests), and the execution boundary check, which passes. Two tests of the full suite and the boundary check call git ls-files, which an archive cannot answer. The hosted full suite on main also passed at the source commit.

The statements about Chirality App that this edition removes were checked by reading the public sgttomas/chirality-engine source at 045f108 and 2c7c3cb and sgttomas/chirality-app apps/desktop/src/workflows.ts. The App was not run.

No named compatibility claim is selected, so no consumer probe was run. SHA256SUMS covers the attached archive. No source change was made for publication.

Read source files directly or run tools in place with their documented dependencies: Python 3.12 or later with PyYAML for the Python tools (pyproject.toml declares the rest), and the renderer's own pinned docs/alignment-manual/requirements.txt. Tracked-file checks and history comparisons need Git and a clone with history.

Known limitations

  • create-workflow has not been run in a host since this change. Pull request #61 records two independent text reviews, with source inspection and structural checks at each reviewed commit.
  • Pull request #61 merged without an independent re-check of the final wording. Its final commit applied the second reviewer's replacement wording and kept three sentences from the earlier text. The release review read the final wording to check this change account.
  • What an agent can establish about its host. The method now depends on the agent establishing what the host reads and offers. Registration waits if the agent cannot establish a safe staging location or an available registration route. The agent reports discovery as unverified if it cannot confirm it, and gives refresh and selection steps only where established. An interrupted file copy can leave a partial destination that blocks a retry.
  • Compatibility. No named compatibility claim is selected, so this edition makes none for any consumer's reader.
  • Carried over from 3.6.0. The landing rules are unmeasured under many concurrent pull requests. The product structure's proportionate forms and use through delivery remain untested, and the existing validators do not check its new sections or IDs. The observed-structure resource has not been run on a product. DEL-04-02 AC-007 remains unverified from public sources for the October 4 sentence "Each pass found more coupling, while no usable product advanced." docs/thesis/CHIRALITY_FRAMEWORK.md is still labelled "revised October 2026" and includes November corrections. Frozen records are not rewritten. prepare-sources-and-dbm and the estimating resources have had review walkthroughs and await production use.
  • Publication changes no consumer's selection.