Skip to content

v1.2.0-alpha.2

Choose a tag to compare

@github-actions github-actions released this 18 Nov 20:49
· 378 commits to main since this release
adc86fa

Updating from v1.2.0-alpha.1

New in this release:

  • Commands: rashomon steer (say whether the notes to your agent are on, or turn them off or on), summary,
    scorecard, why, lessons, brief, measure and graph index. The README's command table describes each of
    them except graph index, which the next item describes.
  • Piped test runs: when every stage after the test runner is tail (without -c), tee or a bare cat, rashomon
    reads the runner's own summary line, in memory, for pytest, go test, cargo test, jest and vitest. A run such as
    go test ./... | tail now counts as a pass or a failure instead of a hidden result.
  • Go repositories indexed with rashomon graph index, once your consent to this build is on record (with the
    plugin, the first session after you enable it records it; after install.sh or go install, rashomon consent
    does): after the agent's first
    edit to a Go file in a unit your prompt points at, it is given that unit's brief (up to eight units), and each Go
    edit is checked against the project's spec rules, the repository's recorded decisions and the graph edges that cross
    a boundary a rule sets. These, and what each Go edit declares, need rashomon graph index typed once in the
    repository; until then they are off.
  • With no rashomon command typed: after the agent edits a Go file, it can be told which other folders hold code that
    calls into the edited package, and in how many of them test files sit. This works in a Git repository with go.mod
    in its root, when a calling package sits in a folder below the root, once the graph helper has synced at session
    start. When this note is sent to the agent, you are shown the same text after the words rashomon told the agent:.
  • The graph helper also records the names of imported functions and types the code touches, in .pgraph/ in the
    repository, on this machine.
  • The install screen is now version 6 (v1.2.0-alpha.1 showed version 4). rashomon consent --full prints it whole.

If you use the plugin: In 1.2.0-alpha.1, installing through the plugin did not record steering consent, so the agent never saw rashomon notes unless you had run rashomon watch or rashomon consent. In 1.2.0-alpha.2, the plugin records consent at the start of the first session after you enable it, so notes can reach the agent from that session on.

The first session after this update records your enable at version 6, as a first install does, and asks you nothing.
The record keeps text_sha256, the SHA-256 of this build's plugin description, the one /plugin shows now. If you
enabled the plugin on v1.2.0-alpha.1, you agreed to that version's description; read this one in /plugin.
The session shows:

rashomon is on: records tool calls, adds notes to the agent. Off: /plugin

then where to see what it recorded and how to print the full list of what it keeps. From that session on it keeps what
version 6 lists, including the working directory, the project root and the paths an edit names, in the clear; this
build has no setting that leaves those out. Disabling the plugin in /plugin stops all of it.

On a new plugin install, before you type any rashomon command, one note can be sent to the agent: the note on calling
folders above. No other note has been shown to reach the agent with no command typed. Lines shown to you and not sent
to the agent include these, each when its condition holds:

  • at the start of the first session after you enable the plugin, or after an update that asks for more, a line saying
    rashomon is on and where to see what it recorded; later sessions do not show it;

  • after your prompt, when the prompt names a file path or a name in the code, or rashomon has something on record for
    it (a lesson you approved, something the last turn left open, a resumed session's briefing, or a brief from
    rashomon graph index): a line listing the files the prompt names and what rashomon has on record for them, such as
    a spec or earlier test results, or that none is known. When none of those holds, nothing is shown after the prompt;

  • at the end of a turn whose edits no test run has checked yet, a line such as

    rashomon: 1 file edited, go test (inferred) not run after the last edit.
    
  • at the start of your next session, a brief of the project: its instruction files, its build file and its test
    command.

If you used v1.2.0-alpha.1 through install.sh or go install, run rashomon consent in a terminal and agree to the
version 6 screen. Until you do, rashomon sends no notes to your agent, since this build's notice about notes is newer
than the one v1.2.0-alpha.1 recorded, and it keeps none of the session content that version 6 names.

Known limits:

  • At most three notes reach the agent for one prompt, subagents included, and no setting changes that. A long task
    run from a single prompt hears from rashomon only near its start; your next prompt starts a new count.
  • The brief at session start shows the last session's time in UTC, with no time zone label.
  • When every caller of the edited package sits in the project's root folder (a main.go beside go.mod), the note on
    calling folders says nothing.

Full list of changes: v1.2.0-alpha.1...v1.2.0-alpha.2