Skip to content

v0.25.0

Choose a tag to compare

@github-actions github-actions released this 13 Sep 18:39
· 615 commits to main since this release
v0.25.0
9089e03

Structured exchange grows into a working format for requirements: version 2 of the contract is published, a project can hold the agent's documents to its own data model and review rules, and a whole specification can be checked requirement by requirement outside the application. Diagrams can be turned, Git skill collections are managed skill by skill, and pi-outpost update works on Windows behind an npm proxy.

Upgrading from 0.24.0 on Windows

The pi-outpost update fix below ships in 0.25.0, so the 0.24.0 you are updating from still has the bug and may answer "cannot tell how this copy was installed". Update once by hand — npm install -g pi-outpost@latest — or tell it where npm keeps global packages, then run it as usual:

$env:npm_config_prefix = (npm prefix -g)
pi-outpost update

From 0.25.0 on, pi-outpost update needs neither.

Structured exchange for requirements

  • Version 2 of the contract is published beside version 1 (#198): targets with a revision, typed and bounded attributes, structural heading rows, expect preconditions a write-back tool rechecks, and relations that may leave the document. Version 2 is frozen with this release, as version 1 already was: its conformance cases are locked, and a future change to what an envelope may say is a version 3.
  • Viewpoints (#205): a graph names the readings it is made for — power distribution, control chain, safety — and the reader selects one; write_structure_figure draws a figure for a viewpoint the document or the project's profile declares.
  • Project profiles (#208): .pi-outpost/structured-exchange.json registers the project's data model — its kinds, attributes and enumeration values — and present_structure and write_structure_figure refuse a document that strays from it, with the rule, a pointer and what the model allows. Each presented document says whether it conforms, re-checked against the files as they are now. The reference validator checks a profile where it is built (--check-profile, --profile, --describe-profile).
  • Review rules (#210): human-written rules beside the profile, in the project's own language — for example ARP4754A's "a derived requirement does not satisfy an upstream requirement", or "a safety requirement is satisfied only by safety requirements". A refuse rule refuses the document; a report rule, or a rule not verifiable because a linked item is missing, is a finding to check, counted beside the document. Rules are a review aid, not certification evidence.
  • Whole specifications, outside the application (#210): the reference validator checks a registry (--registry), lists every rule beside the conditions it checks, and validates a JSON Lines export requirement by requirement (--batch) — ten thousand requirements in seconds — into a conformity report: the specification's own columns and chapters with conformity and violations beside every requirement, a summary, and the profile and rules files it was checked against with their digests (--report, --report-markdown). The shape an exporter must produce is documented.
  • Tables as Markdown: any table downloads as Markdown beside CSV and XLSX, and the agent writes one to the workspace with the new write_structure_table tool, available in every project. The validator's --markdown writes the same text headlessly.

Diagrams

  • Portrait or landscape (#200): a structured-exchange graph and Mermaid flowchart, graph and state diagrams can be turned a quarter turn; with no choice made, a diagram too wide for the reading column is laid out down the page, even when its Mermaid source asks otherwise. The code view and copy button still give the source as written.
  • The orientation control names what a click will do rather than the current state, and a double click no longer leaves it unresponsive.

Agent resources

  • Git skill collections (#196): a repository carrying many skills is enrolled as a collection — listed by its own folders, every skill off until turned on, one by one or per folder, with search and "only on" for large collections. Only the skills that are on reach the session and the sandbox. Remove repository unregisters it and deletes a clone pi-outpost manages. New configuration key: userSkillCollections; repositories enrolled before keep their behaviour.

Fixes

  • pi-outpost update on Windows (#212): it found the newer version and then refused, "cannot tell how this copy was installed". Asking npm for its global node_modules still ran npm.cmd without a shell, which current Node refuses; it now goes through cmd.exe like the version check and the install. The refusal, when there is one, also prints npm's global node_modules or that npm gave no answer.
  • "index.lock: File exists" (#201): the agent's git commands intermittently failed because pi-outpost's own read-only git status was taking the index lock. pi-outpost no longer takes it to answer a question.
  • Past prompts (#197): the ✎ to edit or branch from a past prompt disappeared once a prompt had named a file with @; it is back.
  • Outcome (#197): the drawer could stay on "Loading Outcome…" for the rest of the connection, with its Refresh disarmed; it no longer does.
  • Files (#206): a file removed while it was being read — a figure regenerated under an open report — answered a server error instead of not found.
  • Figures: trimming a viewpoint's concern used a regular expression a crafted document could make slow; it is now linear.
  • Agent guidance on profile refusals: a refusal by the core contract says it is not the profile's, and a refusal of a word the profile lacks tells the agent to ask the user rather than substitute an allowed value.

Documentation and project

  • Downloaded executables need chmod +x on macOS and Linux, and macOS Gatekeeper refuses a quarantined download rather than warning (#204).
  • pi-outpost is listed in the pi package gallery.
  • CI's check job is capped at thirty minutes (#202).
  • The packaged contract (dist/contract/) carries the profile, registry and rules schemas beside the two envelope versions.

Full Changelog: v0.24.0...v0.25.0