Skip to content

Chirality Library 3.6.0

Choose a tag to compare

@sgttomas sgttomas released this 29 Nov 04:01
d0a2f44

Chirality Library 3.6.0

This edition changes how pull requests are verified and merged, narrows the INTERLOCUTOR, adds a product structure to software decomposition, and retires the coordinated-knowledge-work workflow. It also reissues Chirality in Practice as a second edition under a new file name and corrects the thesis. It is not a guidance-only revision: one workflow and one file name are gone, and the shared AGENTS.md text that projects copy has changed.

Source: d0a2f4410b266d36df640d5c751f6834484f07bb
Tag: library-v3.6.0
Archive: chirality-library-3.6.0-source.tar (787 tracked files)
SHA-256: 6ab67785bc71d0e70c0db719d1d87d0a0c900a5484a85385a0143037f5793c1f

Changes since 3.5.2

Compare editions. The changes are in pull requests #53 to #60; each describes its own change.

How pull requests are verified and merged

The shared text of workflows/project-setup/resources/project-entry.md changed under "Verification and authority" and "Standing Git grant". In 3.5.2 that text gave three verification tiers and asked for independent scrutiny of high-consequence changes. It now says:

  • A pull request is the record of a change, not the quality gate. Nothing at merge requires running a test suite.
  • Three things apply before a merge:
    • one short required hosted check: safety scans on every change, plus lint and a syntax or compile check for code or CI workflow changes;
    • evidence by use: the author exercises what the change bears on at the head commit and records the commit, the commands and what they showed, in a form safe to publish;
    • independent review of every pull request.
  • A high-consequence change is judged by its effect, not its file. It gets targeted regression checks, and its reviewer runs the decisive comparison itself at the reviewed commit.
  • After a merge, the short check runs on every push to main. The full suite runs on main nightly, skipped only when the most recent full run passed at the same head, and on Agent 0's dispatch after a batch of merges. A non-passing run of either check opens or updates an issue labelled nightly.
  • Heavy qualification runs once for the release candidate. Evidence that a deliverable scope requires for a particular change still applies to that pull request.
  • Merge discipline, recorded under a project's Git grant:
    • Agent 0 merges, arms auto-merge, decides landing order and assigns conflict repair.
    • A failing main comes first. Before merging or arming auto-merge, Agent 0 reads the open nightly failure issues and the latest runs of main. If main is failing, Agent 0 disarms armed pull requests and has the failure repaired or its cause reverted before merging or arming other work. The repairing pull request may merge.
    • A cleanly merging pull request is not updated merely because another touched the same file. The exception is a merge that touched the same high-consequence area: the pull request then takes main and its reviewer repeats the decisive comparison. Both steps precede merging or arming auto-merge. The later of two such pull requests stays unarmed until the earlier lands and the update and comparison are complete.
  • Reserved to the owner now also covers changes to repository settings, branch protections and required checks.

A project names its own short check, full suite, heavy qualification and high-consequence list under "Local content". The template grants nothing; the owner's Git grant is still recorded in the owner's words.

How agents are organised: the common passage

Two paragraphs of the passage that projects copy word for word changed again since 3.5.2.

  • An independent review. New: no agent approves its own work, every pull request is reviewed before it merges, as deeply as what it changes calls for, and the owner's steering for the session says how many reviewers. Unchanged: each review is a fresh reviewer, and rounds aim for two and stop at three.
  • The INTERLOCUTOR. It is now "a seldom-used second opinion for Agent 0 on a consequential decision", still only in a session the owner opts in. It is not consulted on pull requests or in review rounds. In 3.5.2 Agent 0 consulted it before every merge and it examined the review rounds Agent 0 ran.

Role texts

  • agents/AGENT_INTERLOCUTOR.md matches the passage. Routine activity updates are no longer required, nor is consultation before every merge or examination of review rounds. The owner's opt-in is unchanged.
  • agents/AGENT_HELP_HUMAN.md gains three passages that came from the retired workflow:
    • diagnose the waiting at a stalled or aging item before adding people, tools or interruptions;
    • check a premise against the purpose it serves before building on it;
    • stop at the agreed result supported by adequate evidence, and report a criterion still in dispute as open.
  • agents/AGENT_WORKING_ITEMS.md gains the waiting diagnosis. AGENT_HELP_HUMAN.md also carries the instruction to intervene when the purpose, tradeoffs or management approach need correction.

software-decomp: a product structure beside the work breakdown

  • What is new. The earlier breakdown showed who owned the work. The added product structure exposes where that work will meet in shared code. At group 2 the human decides the proposed Modules, their Interfaces and how to treat contention, including shared non-product files. Each Module has one steward Package and each Interface has one definer. Allocation records planned landing. A one-Module product omits Allocation and records any applicable treatments and its builder, if unbuilt, in Product Structure. Work declared one Deliverable at a time omits treatments until a second lane is about to start. An existing accepted structure can be carried by reference. The rules are in the new resources/product-structure.md.
  • Earlier decompositions stay valid. One made under earlier text needs none of this. Its project may add the sections by its own decision without a scope change; adding them needs the human's acceptance, as at group 2.
  • Not a Deliverable. The product structure cannot be the output of a Deliverable, so it cannot be deferred as one.
  • Identifiers. MOD-NN and IF-NN are new. tools/validation/validate_id_format.sh does not know them, and validate_decomposition_registers.py does not read the new sections; the contract says so. They are checked by reading.
  • Setup and change follow it.
    • project-setup keeps the structure in {EXECUTION_ROOT}/PRODUCT_STRUCTURE.md by default and turns treatments into needs.
    • Package activation applies the treatments alongside the Deliverables' actual needs and write ownership when deciding what may be worked together.
    • scope-change binds the new sections and identifiers. Moving a Module to another steward Package requires a scope amendment.

reverse-engineer-software: observed structure

  • A new resource, resources/observed-structure.md, recovers the structure of an existing product: a mechanical map at the granularity the build declares, then selective findings.
  • The account is supporting evidence for software-decomp group 1. It assigns no Module identifiers, stewardship or Allocation, and it is never an accepted product structure.
  • What changes for a successor basis. The earlier successor-basis guidance put chosen boundaries and responsibilities under Architecture basis. The PRD now carries accepted product-level constraints, and software-decomp group 2 decides Module boundaries and stewardship.
  • Skipping and bounding. When carrying an accepted structure by reference, check its locations and dependency order before skipping the full map. A running product without source permits observation of external surfaces, with build, import and history gaps recorded.
  • Handoff. At checkpoint B, identify a cleared standalone copy by successor-local path, content hash and reference revision. If it cannot travel, record the evidence gap and retain a locator for the reviewer. Group 1 takes revision-bound SourceRef signals without creating Scope Items.

coordinated-knowledge-work is retired

  • Why: it was general advice without an accepted input and output.
  • Removed: workflows/coordinated-knowledge-work/, its entry in workflows/catalog.yaml and its entry in workflows/index.json, which also renumbers the remaining navigation entries. The index lists 78 methods (71 workflows, 7 skills); 3.5.2 listed 79. Selecting the name now fails in the resolver. It has no successor workflow.
  • What was kept, and where:
    • shared limits and re-deriving shared generated artifacts are in steps 3 and 4 of workflows/project-setup/resources/package-activation.md;
    • diagnosing waiting, testing a premise and when to finish are in the role texts, as listed above.
  • What retired with it: its three questions at integration for a ready contribution, its guidance on verifying a dispatch route, its general briefing guidance and its experience notes.
  • Pointers removed from the shared project-entry text, the Library's AGENTS.md, construct-local-work-graph and reflect-on-work.
  • Recovery: the package is in this repository at 5ae5a126872ed72af8a63d20b6369b98788e3ff8 and in edition library-v3.5.2. workflows/README.md records the retirement under "Retired packages".

Publications

  • Chirality in Practice, second edition.
    • File name: the book is now docs/alignment-manual/Chirality_in_Practice_Edition_2.md and .html. The first-edition files are no longer in the tree; they are in edition library-v3.5.2.
    • Corrections: the number of projects (chapter 1) and recovery notes (chapter 7). In chapter 12, learning across projects now describes the separate Root project's stated remit and its route for owner-approved findings, and the retired workflow's experience notes are cited at their last source.
    • Additions: a short passage on the product structure (chapter 4), and on the agent relationships and the review of pull requests (chapter 5). Chapter 13 adds three glossary entries.
    • Naming: present-day references to the Library call it the Library. The book keeps "Root" for historical cases and uses it in chapters 1 and 12 for the separate private project. A new front section, "This edition", gives the account.
    • Pointers: the manual index and reflect-on-work now point to the second edition.
    • Rendering: the reading edition is rendered from source 778879b910d46fe342ef2b935936320120f65063.
  • The thesis is corrected in place in 13 of its 20 files.
    • Agents: who holds Agent 0's perspective, and the Type 1 and Type 2 relationships with the five role texts.
    • Verification: how pull requests are verified and merged.
    • The Library: it has a PRD, a decomposition and deliverable localities, and a locality is two files.
    • Product structure: a new section 4.3.6.
    • The retired workflow: what rested on it now rests on the standing instructions. Package activation supplies coordination for package-based work.
    • Recovery: the thesis corrects its recovery guidance to follow actual state and current authority, without adding recovery notes.
    • Naming: "Root" follows the same rule as in the book, with one explanatory passage in the introduction.
    • Unchanged: the pinned bases and chapter 8's empirical statements.

The Library's own project

  • Hosted checks. harness is narrowed to the short check, and it now also runs on pushes to main. Two workflows are new: a nightly full suite and a reporter that opens the nightly issue. tools/software_workflow/ gains the route selector and the nightly helper with their tests.
  • AGENTS.md carries the common passage and the Library's own verification rules and merge discipline.
  • Scopes.
    • DEL-05-01 selects no named compatibility claim. The claim that the App's workflow-package reader captures the retired package is withdrawn, because the package retired and the App no longer maintained that reader. Its probe, tools/workflow_runtime/fixtures/app_workflow_reader.rs, is removed.
    • DEL-04-01 and DEL-04-02 are reworded for the retirement and the book's new edition.
    • DEL-03-01 maps the new hosted workflows.
  • These are the Library's project records and tooling, not material a consumer adopts.

Removed and moved paths

A consumer that reads any of these paths from a 3.5.2 checkout will not find them in 3.6.0.

Path in 3.5.2 In 3.6.0
workflows/coordinated-knowledge-work/WORKFLOW.md and REVIEW-NOTES.md Removed. No successor workflow. Recoverable at 5ae5a126872ed72af8a63d20b6369b98788e3ff8 and in library-v3.5.2.
docs/alignment-manual/Chirality_in_Practice_Edition_1.md and .html Replaced by Chirality_in_Practice_Edition_2.md and .html. The first edition is in library-v3.5.2.
tools/workflow_runtime/fixtures/app_workflow_reader.rs Removed with the withdrawn compatibility claim. Recoverable at 5ae5a126872ed72af8a63d20b6369b98788e3ff8.

Adopting 3.6.0

Adoption is each project's own decision and change. From 3.5.2, a project should expect to:

  1. Select the edition and record its tag and source revision.
  2. Remove active instructions and selectors that expect the bundled coordinated-knowledge-work: the line copied from the shared project-entry text, any sentence in its own AGENTS.md, and any code or test that selects the workflow by name. Keep historical citations pinned to their old basis. A selection against the 3.6.0 Library fails.
  3. Replace two paragraphs of "How agents are organised" in its AGENTS.md with this edition's text, word for word: the one beginning "An independent review" and the one beginning "The INTERLOCUTOR". Nothing else in either common passage changed.
  4. Decide whether to take the landing rules from the template's shared text into its own "Verification and authority" and Git grant. They change what gates a merge, so they need the owner's decision in that project, the project's own short check, nightly suite and heavy qualification, and its own high-consequence list. A project that keeps its present rules keeps them; nothing in the template applies itself.
  5. If it keeps its own copy of a role text, reconcile AGENT_INTERLOCUTOR.md, AGENT_HELP_HUMAN.md and AGENT_WORKING_ITEMS.md against this edition.
  6. If it reads or imports the book by file name, change the name to Chirality_in_Practice_Edition_2.
  7. Software decompositions: nothing is required of an existing one. A project may add the product-structure sections by its own decision, with the human's acceptance as at group 2, keep them in the file setup names, and name that file in its entry instructions. A project that keeps its own copy of software-decomp or reverse-engineer-software needs their new resource files.
  8. Reconcile adapted documents with Workflow: compare-library-derivations, and advance metadata.upstream.edition to library-v3.6.0 only for a document wholly reconciled against this edition.

A project still on 3.4.0 or earlier also takes the changes of 3.5.0, 3.5.1 and 3.5.2; see their notes.

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.5.2 archive byte for byte from its tag. The 3.6.0 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 cover its configured patterns in text and skip recognised binary formats. No file is a symlink, and the lines added since 3.5.2 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 (71 workflows, none invalid), 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. In the extracted source the full suite reports 1,298 passing and 2 failing, and the boundary check cannot run; both failing tests 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.

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

  • Landing rules. They are new. Whether they hold up under many concurrent pull requests has not been measured.
  • Product structure. A first draft had one blind retrospective walkthrough. The final wording was reviewed. Its proportionate forms and use through delivery remain untested, and the existing validators do not check the new sections or IDs.
  • Observed structure. reverse-engineer-software's new resource has not yet been run on a product.
  • Compatibility. No named compatibility claim is selected, so this edition makes none for any consumer's reader. A consumer's own checks of the material it reads are what stand.
  • What retired with coordinated-knowledge-work. The three questions at integration, verification of a dispatch route and general briefing guidance now have no general home beyond the standing instructions.
  • The book's October 4 case. Chapter 4, "Graphs and cycles", describes the App's October 4, 2026 episode from records in the earlier Chirality repository, which is not public. A reader of the public Library cannot follow its sentence "Each pass found more coupling, while no usable product advanced" to a source. The passage is unchanged from the first edition. DEL-04-02 AC-007 remains unverified for that sentence from public sources.
  • The thesis framework summary. docs/thesis/CHIRALITY_FRAMEWORK.md still carries the label "revised October 2026" and now includes November corrections.
  • Frozen records. The accepted amendment records and the decomposition's accepted audit still name the retired workflow and removed Work/ files. They are not rewritten.
  • Carried over from 3.5.0. prepare-sources-and-dbm and the estimating resources have had review walkthroughs, not production use.
  • Publication changes no consumer's selection.