Project updates

Small, complete improvements to Physical AI research, skills, evaluation, replay and knowledge workflows. Each entry links to a released version and its implementation.

noteflowai/evalarc · 0.23.6 · 2026-11-30

fix: name the malformed field when a promptfoo result row, its testCase or its gradingResult is not a JSON object

For promptfoo --output files, load_results and evalarc diff now name the malformed field in three cases: a row in results.results is not a JSON object, a row's testCase is a truthy non-object, or a row's gradingResult is a truthy non-object. A validation pass runs in _promptfoo right after the existing results.results list check. It walks the rows in file order and stops at the first failure. It raises ValueError with a message such as "promptfoo output field results.results[0].gradingResult must be an object (got string) (test '<row 0 label>'): the result row cannot be read. Re-export with promptfoo eval --output instead of editing results." Only the gradingResult message includes the test label. Before this change, these inputs raised AttributeError, and evalarc diff printed the raw Python text, for example "evalarc: 'str' object has no attribute 'get'". evalarc diff still prints the message after 'evalarc: ' on stderr and exits 2. Null, false, 0 and empty testCase or gradingResult values still count as absent. cli.py is unchanged. docs/ci-gate.md lists the three checked fields and says which fields are not checked.

noteflowai/evalarc · 0.23.5 · 2026-11-27

fix: name the malformed field when an Inspect log's results headline section crashes the loader

load_results reads Inspect .json logs and .eval archives, and evalarc diff calls it. Its headline block used to fail with an internal AttributeError, KeyError or TypeError on seven malformed values in a log's results section. Each now raises a ValueError. The message names the field path, the value's JSON type and the recovery step, which is to re-export the log with inspect log dump. The paths are results, results.scores, results.scores[N], results.headline, results.headline.metric, results.scores[N].metrics[K] and results.scores[N].name. Metric names in messages go through the existing _shown_id helper, so an ESC character appears as \x1b. Each check runs only where the old code raised, and in the same order. Logs that loaded before load the same way and keep the same headline, including the recorded examples (0.625 and 0.8125). An .eval archive gives the same message through its header.json. evalarc diff exits 2 with the message on stderr, creates no --output folder and leaves an existing --markdown file unchanged. On the base commit, the same CLI case already exited 2, but stderr showed only the internal text "evalarc: 'str' object has no attribute 'get'". docs/ci-gate.md lists this case under exit code 2.

noteflowai/evalarc · 0.23.4 · 2026-11-20

fix: reject an Inspect sample whose scores field is not an object with a named error instead of crashing

Inspect logs now fail with a named error when a sample's scores field is a non-empty list, a non-empty string, a non-zero number or true. Before this commit, load_results raised AttributeError, and evalarc diff exited 2 with only "evalarc: 'list' object has no attribute 'items'" on stderr. The controller's run on base 5060961 recorded that output, and the sample was not named. Now load_results raises ValueError. The message names the sample id (in Python repr form, for example 'address-change'), the sample's position and the JSON type it received (array, string, number or boolean), and says to re-export the log with inspect log dump. The check covers .json logs and .eval archives, and it also runs for samples that have an error field. Missing, null or falsy scores still load as no scores, and object scores are read as before. The commit also adds docs/results-diff-inspect-scores.md, which the CHANGELOG entry cites. That page covers the error message form, exit code 2, the absence of a report folder, the recovery steps and the values that still load as no scores. The plan said no documentation page would change. The page was added anyway because the product docs needed the recovery guidance. Controller results: on base 5060961, tests/test_feature_cf3fcccffda5.py gave 8 failed and 2 passed, which reproduces the defect. On candidate 762410959a9b, the feature tests, the full pytest suite, ruff check, ruff format --check, scripts/build_site.py and scripts/check_site.cjs all exited 0.

noteflowai/ai-chat-for-amazon-bedrock · 1.74.1 · 2026-11-18

fix: wp ai-chat-bedrock usage labels chat requests whose token usage Bedrock did not fully report

Before this fix, a chat answer for which Bedrock reported no input or output token count was added to the totals as 0 tokens, and nothing recorded that a count was missing. In 1.74.1, Usage::record() still counts such a request and adds whatever counts were reported. It also adds 1 to a per-day counter, usage_unknown_requests. A chat answer counts as unknown when either count is missing or is not a number. A real 0 counts as reported and is not marked. Embedding, rerank and speech records are never marked. prune() keeps the counter for the same retention period as the other counters. Usage::totals() also returns the sum of usage_unknown_requests over the window. When that sum is above 0, the daily view of wp ai-chat-bedrock usage prints one extra line directly after the Total line, saying the token totals are a lower bound. The count is capped at the window's request total. The line has no denominator, so requests recorded before the upgrade are never shown as measured. The --by-model output, the exit status and the Total line format are unchanged. The version is 1.74.1, with a changelog entry and an upgrade notice. Controller results for commit 0871b38: before the fix, the controller ran tests/test_feature_56689b30e4cc.php and 7 of its 8 cases failed (exit 1). On commit 0871b38, the same test passed all 8 cases. bin/prerelease.sh passed, reporting 'Ready to package and publish 1.74.1'. tests/tooling.php passed. bin/build-package.py built a 1.74.1 package of 136 files. I did not run any of these commands myself.

noteflowai/evalarc · 0.23.3 · 2026-11-17

fix: compare JUnit testcases in nested suites under a root <testsuite> instead of silently dropping them

'evalarc diff' and load_results now read testcases inside nested <testsuite> elements when the JUnit document root is a single <testsuite>. Before this fix, only the root suite's direct testcases were read, and nested ones were dropped without a message. Nested testcases now go through the normal diff and appear in diff.json, summary.md, index.html and the 'Why the gate failed' section. A nested check that regresses, is removed or becomes unassessed makes the command exit 1. A case ID is the classname if present. Otherwise it is the name of the suite that directly contains the testcase, followed by '::' and the testcase name. identity.suites lists every suite visited, nested ones included. An unnamed nested testcase raises the existing ValueError, which names its position and its suite, and the CLI exits 2. Files with a <testsuites> root and flat <testsuite> files are parsed as before. The English and zh-CN CI gate docs each describe the nested-suite rule. Measured results, all executed by the controller (the author ran nothing): the new acceptance test, run in its pre-fix acceptance check, had 4 of 5 tests fail. The failures covered the nested case load, the regression, the removal and the unnamed-testcase error, and they show the defect. On commit 2f612e113790b89471b5515adaff726f8d89e61c, the controller ran the new acceptance test, the full pytest suite, ruff check, ruff format --check, scripts/build_site.py and scripts/check_site.cjs. All exited 0.

noteflowai/evalarc · 0.23.2 · 2026-11-10

fix: name the archive and member when an Inspect .eval log has a malformed header.json or sample

When a member of an Inspect .eval archive is malformed, evalarc diff now names the archive and the member in its error. Before this change it printed a bare Python error. If header.json or a samples/*.json member is not valid UTF-8 JSON, stderr reads "evalarc: <archive> member '<name>' is not valid JSON: <decoder message>." The message then gives the recovery step: re-export with inspect log dump LOG.eval > LOG.json, or rerun the evaluation. If header.json parses to an array, string, number or null, stderr reads "evalarc: <archive> member 'header.json' must be a JSON object (got <type>): ..." followed by the same recovery advice. Member names go through the existing _shown_id helper. It quotes the name, escapes control characters and cuts long names at 80 characters. The command still exits 2, writes nothing to stdout and creates no --output folder. With --markdown, a missing Markdown file is not created and an existing one keeps its bytes. Valid archives load as before. docs/ci-gate.md and docs/ci-gate.zh-CN.md describe the new messages. The controller ran every check on commit b5714bfebc29382934031c7f4c9795a06db3a117. I ran nothing and wrote this text from the controller's receipts and the review findings. Before the fix, the controller ran tests/test_feature_1e31601a8900.py: 15 failed and 2 passed. The failures recorded the old stderr text, for example 'evalarc: Expecting value: line 1 column 1 (char 0)', 'evalarc: list indices must be integers or slices, not str', "'str' / 'int' / 'NoneType' object does not support item assignment" and a bare 'utf-8' codec decode error. None of them named the archive or the member. After the fix, the controller ran that test file, the full pytest suite, ruff check, ruff format --check, python scripts/build_site.py and node scripts/check_site.cjs. All six exited 0.

noteflowai/evalarc · 0.23.1 · 2026-11-08

fix: reject JUnit testcases without a name instead of merging them into one check

evalarc diff now rejects JUnit XML that contains a <testcase> whose name attribute is missing, empty or whitespace-only. Before this fix, the JUnit loader (_junit in src/evalarc/results_diff.py) built IDs such as corpus::None or corpus:: for these testcases and merged every unnamed testcase in a suite into one check. A swapped failure ([fail, pass] in the baseline, [pass, fail] in the current run) then tallied 1/2 on both sides, was classified as unchanged, and the gate exited 0. Loading now raises a ValueError that names the suite and the testcase's 0-based position among the suite's direct testcase children. A suite without a name is shown as (unnamed suite). evalarc diff exits 2 through its existing unusable-input path and prints the message on stderr, whichever input contains the unnamed testcase. Named testcases keep their exact IDs, and identical classname::name entries still load as repeated attempts of one check. docs/ci-gate.md and docs/ci-gate.zh-CN.md list this case among the exit-2 causes. Controller results: the controller ran tests/test_feature_5e40b6f9743a.py in a run labeled acceptance-before. That run had 4 failures and 2 passes. The failures show the old behavior: the swapped-failure diff returned 0 and printed 'Unchanged: 1', and the blank-name and unnamed-suite cases did not raise. On candidate commit 5fa8973 the controller ran the acceptance file, the full pytest suite, ruff check, ruff format --check, scripts/build_site.py and scripts/check_site.cjs, and all of them exited 0. I wrote this metadata from those receipts and ran nothing myself.

noteflowai/evalarc · 0.23.0 · 2026-11-03

show the per-finding "Why the gate failed" explanation in the diff index.html

When a diff has at least one blocking change, evalarc diff BASELINE CURRENT --output DIR now writes a 'Why the gate failed' section into DIR/index.html. This is the report the CLI prints as 'Report:'. The section comes after the Changed checks table and before the remaining sections. The section contains: - The numeric threshold sentence, worded as in summary.md. - A table with the columns Finding, Case / check, Baseline, Current and Failing attempt. - A metadata line with each input's file name and a 12-character sha256 prefix. Table cells: - Finding shows the kind, plus '(within noise)' when flagged. It is rendered as a ✗ tone label, so it does not rely on color. - Failing attempt shows the first failing current attempt's value and evidence, each clipped to 120 characters. - Removed checks show the baseline attempt, labelled 'not recorded in the current run; baseline:'. - Rows without detail show 'no attempt detail recorded'. Every value is HTML-escaped. The HTML table lists every blocking row with no limit. summary.md and index.html are both built from the shared helper _blocking_rows. When nothing blocks, the section is not written. The gate logic, exit codes and the diff.json schema are unchanged.

noteflowai/evalarc · 0.22.1 · 2026-10-29

fix: refuse to compare Inspect runs scored at different numeric pass thresholds

evalarc.results_diff.diff(baseline, current) now refuses to compare two Inspect runs whose numeric scores were judged against different pass thresholds. The Inspect loader turns every finite numeric score that is not a bool into a pass or a fail, using the threshold given to load_results(path, threshold=...). Before this fix, a baseline loaded at 0.8 compared with a current run loaded at 0.5 could report checks as improved, or pass the gate, when behavior had not changed. The report also showed only the current threshold. The new check runs after the existing format and task checks. It is implemented by the helpers _is_numeric_score, _has_numeric_scores and _require_same_numeric_threshold in src/evalarc/results_diff.py. When it fires, diff() raises ValueError('inputs are not comparable: numeric pass threshold 0.8 (baseline) != 0.5 (current); numeric Inspect scores were judged against different pass thresholds. Load both runs with the same threshold.') and returns no partial result. These cases are unchanged: equal thresholds (1 and 1.0 count as equal); Inspect runs with only letter-grade, boolean or missing score values; a baseline dict without a threshold key; and all promptfoo and JUnit comparisons. docs/ci-gate.md documents the rule and how to fix it. Checks the controller ran on candidate eca495b against base 01cd565: the acceptance-before run of tests/test_feature_ab24ecf56e51.py exited 1 (1 failed, 9 passed). The failing test was test_mismatched_numeric_thresholds_are_not_comparable, with DID NOT RAISE ValueError, which shows the test detects the defect. On the candidate commit, these all exited 0: the new test file, the full python -m pytest -q, ruff check ., ruff format --check ., scripts/build_site.py and scripts/check_site.cjs. An earlier controller run had failed ruff format --check on results_diff.py; the final run passes it.

noteflowai/evalarc · 0.22.0 · 2026-10-26

explain each blocking finding in the diff summary

When a diff has at least one blocking change (regressed, less_reliable, unassessed, less_covered or removed), render_markdown now adds a '#### Why the gate failed' section right after the existing changes table. This Markdown goes to summary.md and to the --markdown destination, such as $GITHUB_STEP_SUMMARY or a PR comment body. The section first states the threshold that was applied, using the existing value formatting, so 1.0 prints as 1: 'Numeric scores pass at threshold 1; categorical verdicts use the source tool's pass mark.' A table follows with one row per blocking finding, in the existing sort order and capped by the existing row limit. Each row gives the kind, with ' (within noise)' when the row is within sampling noise, then a combined Case / check cell, the Baseline and Current fractions, and the Failing attempt. For regressed, less_reliable and unassessed rows, the Failing attempt is the first current attempt that did not pass, shown with its value and evidence and leaving out any part that is absent. Removed checks show 'not recorded in the current run' plus their baseline attempt. Less_covered checks show both assessed counts. Missing or malformed detail reads 'no attempt detail recorded'. Untrusted text is escaped into a single cell and cut to 120 characters with an ellipsis. When there are more rows than the limit, a line gives the remaining count and points to diff.json. A provenance line with each input's file name and the first 12 hex characters of its sha256 appears only when both runs record them. Summaries with no blocking change are unchanged, and so are diff.json, index.html, exit codes and the gate logic.

noteflowai/ai-chat-for-amazon-bedrock · 1.74.0 · 2026-10-19

wp ai-chat-bedrock usage reports failed requests by cause

In its default per-day mode, wp ai-chat-bedrock usage [--days=N] now prints a 'Failed requests' line. It counts chat requests that still failed after any fallback model, grouped by cause, over the same window as the latency line: min(30, N) days, labelled '1 day' or 'N days'. Example: 'Failed requests (7 days): 3 after any fallback model: throttled 2, access denied 1.' Causes appear in the plugin's fixed FAILURE_CATEGORIES order. The printed labels are throttled, access denied, rejected, unavailable, network and other, and the validation category prints as 'rejected' (for example 'rejected 2'). Categories with zero failures are left out. The counts come from AI_Chat_Bedrock_Usage::failure_totals(), which reads the stored data the dashboard uses. A private failure_line() helper next to first_token_line() formats them. Stored counters that are non-numeric, negative or in an unknown category are ignored. The line comes after the day table, Total and Prompt cache lines and directly before the Time to first text line, which stays last. When the window has no valid failures, the line is left out, the same way the Prompt cache line is, and the command still succeeds. --by-model output does not change. The plugin version is 1.74.0. Controller-run checks on commit 457bedd: the acceptance test tests/test_feature_2d89f9484181.php failed on the base commit with 8 assertion failures and passed on the candidate. bin/prerelease.sh passed, with 72 PHP suites run (including the unchanged tests/cli.php, tests/usage.php and tests/test_feature_fe5052185c45.php), phpcs clean and versions consistent. tests/tooling.php passed, and bin/build-package.py built the 1.74.0 package (136 files). I did not run any of these checks myself.

noteflowai/evalarc · 0.20.1 · 2026-10-18

test: EA-02 regression corpus that pins how the diff gate handles missing evidence

Commit b0de9ac adds tests/test_feature_cb4fe5a9ab91.py, a synthetic regression corpus for EA-02. Every case id carries a synthetic label. Each case loads its inputs with load_results, runs diff and checks the gate outcome through evidence.diff_passed and the render_markdown headings. Control and added-check cases pass. Removed checks, fewer Inspect epochs at an unchanged pass rate, a JUnit pass-to-skipped change with no other difference, and incomplete baseline or current runs all fail the gate. Malformed records, duplicate IDs and non-comparable runs (different task or format) raise ValueError. An invariant test checks that no lost-evidence case passes. The corpus exposed one defect, fixed in src/evalarc/results_diff.py. Before the fix, a repeated Inspect sample ID loaded as extra attempts and could pass the gate when any copy had a null, boolean, string or other non-integer epoch, or when integer and missing epochs were mixed. Those logs now raise ValueError with the message duplicate sample '<id>' without a valid epoch (got ...). Legacy behavior is unchanged: if every copy of an ID omits the epoch key, the copies still load as attempts, and a single sample with no epoch still loads. The controller ran the checks. I did not run them. Before the fix, the controller's acceptance run of the new test file exited 1 with 8 failed and 20 passed. All 8 failures were in the duplicate-epoch cases. On candidate b0de9ac, every controller check exited 0: the new test file, the full pytest suite, ruff check, ruff format --check, scripts/build_site.py and scripts/check_site.cjs. docs/ci-gate.md and docs/ci-gate.zh-CN.md gain a Regression corpus section.

noteflowai/evalarc · 0.17.10 · 2026-10-13

fix: reject Inspect samples without a usable id instead of inventing case None

evalarc diff and load_results now reject Inspect samples that have no usable identity. This covers JSON logs and .eval archives. Each sample is checked in recorded order, before any case bookkeeping and before the duplicate-sample guard. A sample that is not a JSON object fails with ValueError: 'Inspect log sample at position N is not an object (got TYPE)'. A sample whose id is missing, null, boolean, float, a list or an object fails with: 'Inspect log sample at position N has an invalid id SHOWN (TYPE): expected an integer or a string'. Both messages end with re-export guidance. The CLI prints evalarc: MESSAGE, exits 2, writes no diff.json, and leaves the --markdown file unchanged. Two null-id samples now get the invalid-id message instead of 'duplicate sample None epoch 1'. Integer, string and empty-string ids behave as before. docs/ci-gate.md and docs/ci-gate.zh-CN.md describe the accepted id types, both messages and the re-export command. Controller-executed evidence: at base c722b75, tests/test_feature_b64744a8af0c.py had 13 failures and 1 pass. The failures were KeyError 'id', TypeError for non-object samples, no error for null/true/1.5/list/object ids, the misleading duplicate message, and CLI exit 1 (a gate verdict computed on an invented case) instead of 2. At candidate e835b05, the controller ran the feature tests, the full pytest suite, ruff check, ruff format --check, scripts/build_site.py and scripts/check_site.cjs. All exited 0. I did not run anything myself.

noteflowai/evalarc · 0.17.9 · 2026-10-11

fix: reject duplicated promptfoo result rows instead of counting them as attempts

evalarc diff now rejects a promptfoo --output JSON file that contains the same result row twice, instead of counting the copy as an extra attempt. The promptfoo loader keys each row of results.results[] by (testIdx, promptIdx, provider). The key is checked only when testIdx is an integer and not a bool. If a key repeats, loading stops with a ValueError, the same way duplicate Inspect samples are already handled. The message names the duplicated testIdx, promptIdx and provider and the test label. The label and provider are escaped and truncated with the existing _shown_id helper. The message also tells the user to re-export with promptfoo eval --output. evalarc diff exits 2 for a duplicate in either the baseline or the current file, prints the message to stderr and gives no gate verdict. A list or object promptIdx used to crash the loader with an unhandled TypeError. It is now reported as malformed input with exit 2. Output from --repeat, which gives each repeat a new testIdx, still loads as attempts of one test. The unmodified promptfoo example pair still exits 1. docs/ci-gate.md and docs/ci-gate.zh-CN.md describe the rule, exit 2 and how to recover. Controller results: before the fix, the new test file failed on the base code (9 failed, 5 passed). The duplicate cases did not raise, and the non-scalar promptIdx cases crashed with TypeError at results_diff.py line 543. At commit f18d1890 the controller ran the new tests, the full pytest suite, ruff check, ruff format --check, scripts/build_site.py and scripts/check_site.cjs, and all exited 0. The author had no tools and ran none of these checks.

noteflowai/evalarc · 0.17.7 · 2026-10-06

fix: escape untrusted run status and metric name in the Markdown gate summary

evalarc diff now escapes untrusted input-file text in specific parts of its main Markdown gate summary (summary.md, the --summary target and the GitHub Action job summary). It does not escape the whole summary. Three parts are covered: the run-status sentence for an unfinished current or baseline run, the 'Headline metric: ... from the source tool.' sentence, and the case and check identifiers in the change table. A new private helper, _inline_code_text, does the escaping. It turns pipes into \|, turns backticks into apostrophes, and replaces each CRLF, CR or LF with a space. A crafted status, metric name or identifier therefore stays inside one single-line code span. It cannot add a fake '### EvalArc' heading line. Before this change, table cells and the baseline-incomplete sentence already escaped pipes and backticks. They now also replace carriage returns. Ordinary values render the same as in 0.17.6, with backtick code spans. diff.json and the result dict still hold the raw values. gate_passed, blocking_changes and exit codes 0, 1 and 2 are unchanged. docs/ci-gate.md Limits describes the escaping. Checks were run by the controller, not by me. On base commit 20babd1, the new test failed 5 of 8 cases because a raw CR was still in the output. On candidate f4daf73, the controller ran six checks and all exited 0: the new test file, the full pytest suite, ruff check, ruff format --check, scripts/build_site.py and scripts/check_site.cjs.

noteflowai/evalarc · 0.17.5 · 2026-10-05

fix: reject duplicate Inspect samples instead of counting them as extra attempts

evalarc diff now rejects an Inspect AI log that contains the same (sample id, epoch) pair more than once. This applies to JSON logs and .eval archives. Before this change the copy was silently counted as an extra attempt, which inflated the assessed count and could hide a less_covered change. Ids are compared after str(), so an integer 7 and a string '7' in the same epoch count as duplicates. A duplicate in either the baseline or the current file makes load_results raise ValueError. evalarc diff then prints the message to stderr and exits 2 before any comparison, so no diff.json is written. The message names the sample id and epoch and points to re-exporting with inspect log dump. The id is shown with repr() and truncated to 80 characters, so control characters stay escaped. Samples without an integer epoch are not checked. The same id in different epochs still counts as repeated attempts. The diff.json schema, change kinds and gate logic are unchanged. docs/ci-gate.md and docs/ci-gate.zh-CN.md add this case to the exit-2 list. Both explain the 7 vs "7" collision and why counting a copy would misstate coverage and mask less_covered. Both give the recovery step inspect log dump LOG.eval > LOG.json (or rerun) and note that samples without an integer epoch are not checked. The commit sets the version to 0.17.5. Controller results: on base 1d62bef, tests/test_feature_e0a029ce3b1b.py had 5 failures and 1 pass. Duplicates on either side exited 1 instead of 2, and the 7/'7' collision, duplicate .eval members and control-character ids raised no error. On candidate 37e8719 these all passed: that test file, the full pytest suite, ruff check, ruff format --check, scripts/build_site.py and node scripts/check_site.cjs.

noteflowai/ai-chat-for-amazon-bedrock · 1.66.0 · 2026-10-05

show streamed time to first text in wp ai-chat-bedrock usage

wp ai-chat-bedrock usage, in its default per-day mode, now ends with one Time to first text line for streamed answers. The line uses the existing first-token counters, which the dashboard already shows. It gives the number of answers measured, the average in ms and the median band (under 1 s, 1 to 2 s, 2 to 5 s, 5 to 10 s, or 10 s and over). It covers the --days window, capped at the 30-day retention period: --days=90 prints '30 days' and --days=1 prints '1 day'. With no measurements, after a reset, or when the stored count is missing or invalid, it reads 'unknown, no streamed answers recorded.' and never shows 0 ms. A missing or invalid sum prints 'average unknown'. Missing or invalid band counters print 'median unknown'. The table, Total and Prompt cache lines are unchanged. --by-model prints no latency line, and wp help ai-chat-bedrock usage describes the new line. The plugin is now version 1.66.0. Controller-run results: before the change, the new feature test failed 13 of its 14 cases, because the latency line did not exist yet. On commit a540596 the controller ran four checks and all passed. The feature test passed all 14 cases. bin/prerelease.sh passed with 62 suites, including cli.php and usage.php, plus the JS script tests, phpcs, version consistency at 1.66.0 and readme limits (changelog 4924 of 5000 characters). tests/tooling.php passed. bin/build-package.py built ai-chat-for-amazon-bedrock.1.66.0.zip with 122 files. I made no edits or runs at this stage; this text only describes those results.

noteflowai/robot-reel · 0.19.0 · 2026-10-04

seal one frame/channel finding into a LeRobot replay bundle

Adds a --mark option to the existing robot-reel lerobot command: robot-reel lerobot EXPORT_DIR --mark FRAME --signal KEY/NAME [--signal ...] --note TEXT. It runs verify() on the export first. It then writes one finding.json containing: the episode, the zero-based frame, timestamps[frame], 1 to 8 key/name/value signals read from episode.json, the note, the manifest hash of episode.json, the package version (or null) and a fixed limitations statement. The sha256 of finding.json is added to manifest.json, and every other manifest entry stays the same. With --verify, alone or with --check-media / --check-source, the JSON result includes the sealed finding. An unmarked export gives the same result as before. Verify exits 2 with a named error if finding.json was edited without re-hashing, if finding.json is present but not listed in the manifest, if a listed finding.json is missing, if episode.json or a clip changed, or if a re-hashed finding disagrees with episode.json or breaks the input rules. Invalid --mark arguments, an already-marked export and any verify failure exit 2 and write nothing. If the manifest replacement fails, --mark removes the finding.json it placed in that run. Controller-executed checks: on base commit 4ed6d4b, the new feature test exited 1 with 'unrecognized arguments: --mark', so the test exercises the new option. On candidate commit 6f393b3, the controller ran robot_reel.pages --write, tests/test_feature_11ffe2c50b07.py, npm run check:js, the full Python unittest suite and node --test. All exited 0, and node --test reported 53/53 passed. My own action was writing this metadata; I ran no commands.

noteflowai/physical-ai-radar · 1.4.1 · 2026-10-04

fix: label README baseline fallback on days with no live picks

On a day with no live picks, the README radar block in all three languages (README.md, README.en.md, README.ja.md) now explains the empty day the same way the frozen daily page does. readme_block in pairadar/render.py keeps the existing day heading and generated/window line. After them it adds the localized no-items sentence as a Markdown quote, then a bold label from the existing glossary baseline string, then the curated baseline table, evidence legend, reasons and links. Before this change, the baseline entries appeared under the day's heading, ranked and in the pick column, with no explanation. If there are no picks and no baseline, the block shows the no-items line and an empty table header without raising. Days with picks keep the previous rendering. docs/METHODOLOGY.md describes the empty-day README behavior. Checks run by the controller on candidate dfb3436 (base 047ef4a): before the change, the new test file failed 2 of 3 tests (the empty-day label test and the nothing-at-all test), which confirms the defect. After the change, rerender exited 0, the 3 tests in tests/test_feature_b41f745004f1.py passed, and the full suite of 484 tests passed.

noteflowai/dsh-skills-anywhere · 0.18.0 · 2026-10-02

require a reviewed Git source commit when opening a skill over MCP

MCP open_skill accepts a new optional input, expected_source_commit. Set it to the receipt.source_commit value from an earlier load, and the skill is delivered only while the Git-source checkout HEAD is still that commit. When the field is supplied, the checks run in this order: format (40 lowercase hex characters, enforced by the input schema), Git-source origin, the existing expected_sha256 and expected_bundle_sha256 checks (wording unchanged), a provable commit from the existing sourceCommit() probe, and an exact match. Any failure returns isError true with an actionable message and no instruction text or receipt. A mismatch names both the expected and the found commit. A rejected digest still runs no Git command. Calls that omit the field behave as before. tools/list shows the field as optional. Results from the controller's runs on commit 6a40534. These are the controller's executions, not mine. With the new test file run against the base code, 4 of its 6 tests failed: the moved-checkout, unprovable-commit, malformed-pin/non-Git and tools/list tests. The 2 tests that check unchanged existing behavior passed. On the candidate, every check passed: pnpm run build, the feature test (6 tests), pnpm run check (25 test files, 251 tests), pnpm run showcase:build and pnpm run showcase:check. The prior review finding is addressed. As the logged test source shows, the malformed-pin test reads the resolved callTool result directly and asserts both isError true and the schema message (must be a full 40-character lowercase Git commit). It no longer wraps the call in a try/catch that would turn thrown errors into isError.

noteflowai/evalarc · 0.17.3 · 2026-10-01

fix: fail the diff gate when the baseline run did not finish

evalarc diff and the GitHub Action now fail the gate (exit 1) when the baseline run did not finish. Before this change, an Inspect baseline log whose status was not success could pass. Checks missing from it were classified as 'added', and 'added' never blocks. Change classification, counts and blocking rules are unchanged. When the baseline is incomplete, diff.json gains "baseline_incomplete": true and gate_passed is false. When the baseline is complete, the key is left out, so those reports keep their previous content apart from created_at and version. After the existing summary line, default stdout prints: 'The baseline run is incomplete (status error); N check(s) appear only in the current run and were not compared. Rerun the baseline to completion; the gate fails.' summary.md and --markdown add a line below the table: 'The baseline run did not finish (status `error`); the gate fails because checks missing from it cannot be compared. N check(s) appear only in the current run. Rerun the baseline to completion.' The heading reads 'EvalArc: the baseline run is incomplete' only when there are no blocking changes and the current run finished. Otherwise it shows the existing blocking heading or 'the baseline and current runs are incomplete'. index.html shows 'Gate failed' with the reason 'the baseline run is incomplete'. When there are no blocking rows, it says 'Rerun the baseline to completion and compare again.' evalarc verify recomputes the same result. docs/ci-gate.md and the README CI-gate paragraph document the rule. The controller ran the checks; the author did not run anything. On base commit dc848cc, tests/test_feature_f107c0a41d3a.py failed (5 failed, 1 passed), which confirms the gap. On candidate bc6089b, these all exited 0: the feature test, the full pytest suite, ruff check, ruff format --check, scripts/build_site.py and node scripts/check_site.cjs.

noteflowai/dsh-skills-anywhere · 0.17.0 · 2026-10-01

record the Git source commit in MCP open_skill receipts

On candidate commit 59390b7, a successful MCP open_skill call that passes its expected_sha256 and expected_bundle_sha256 checks now returns structuredContent.receipt.source_commit. For a skill from a Git source, it is the 40-character lowercase HEAD SHA of that source's cache checkout at load time. For agent directories, plugin marketplaces and extra local directories it is null, and no Git command runs for them. For a Git source whose commit cannot be proven, it is also null and the server logs one 'skills-anywhere: source commit unavailable for <name>: <reason>' warning. That covers Git missing or failing, a timeout, or a work tree with no .git of its own or one outside the cache. The load still returns unchanged content in that case. Git runs without a shell and with GIT_* variables removed. Discovery stops at the cache directory, so the commit of an enclosing repository is never reported. Rejected loads throw their existing errors before any Git lookup. The advertised outputSchema declares source_commit. The schema string stays skills-anywhere-load-1. These are unchanged: loadReceipt(), LoadReceipt, OpenedSkill, the exported openSkill(), dsh provider and tool receipts, skill:// resources and rendered text. Controller-run checks on 59390b7: an acceptance-before run failed 3/3 feature tests because the receipt had only 11 fields. After the change, pnpm run build passed. tests/test_feature_ea6b51801ed9.test.ts passed. pnpm run check passed, and its log shows 24 test files and 245 tests passing. pnpm run showcase:build and pnpm run showcase:check also passed.

noteflowai/ai-chat-for-amazon-bedrock · 1.53.0 · 2026-09-30

count final Bedrock chat failures by cause on the dashboard

Version 1.53.0 makes failed Amazon Bedrock chat calls visible on the existing admin dashboard. The Usage today card has a fourth metric, Failed requests. The seven-day usage panel has one line, for example 'Failed chat requests, last 7 days: 4. Throttled 3, access denied 1.' When there are none it reads 'No failed chat requests recorded in the last 7 days.' The line also appears in the existing empty state. A site where every call fails no longer looks like a quiet site. A failure is counted once per handle_chat_message() or stream_chat_message() call, only if that call sent at least one Bedrock HTTP request and still returned an error after fallback and Converse adaptation retries. AI_Chat_Bedrock_Usage::classify_failure() sorts it into one of six categories using the HTTP status and the plugin error code: throttled (429), access_denied (401/403), validation (400), unavailable (5xx), network (status 0 with aicfab_unreachable or aicfab_stream_interrupted) or other. Some cases are not counted: - Missing credentials, an invalid region or model, the daily limit, and encoding errors. None of these send a request. - Retries that later succeeded. - Stopped streams. Only per-day category counts are stored in the existing ai_chat_bedrock_usage option. No message, prompt, output, error text, user ID or IP is kept. Requests, tokens, per-model counts and the daily cap still count successful invocations only. Controller-run checks on commit d1da36b: - Before the change, the new test failed with exit 255 (undefined classify_failure) on the base code. - tests/test_feature_364f48c382c4.php passed with assertions enabled. - bin/prerelease.sh passed: 47 suites including usage.php and admin-ux.php, phpcs clean, and versions all 1.53.0. - tests/tooling.php passed. - bin/build-package.py built the 1.53.0 zip. The stream_chat_message() return-path check that failed in the prior review now passes.

noteflowai/robot-reel · 0.18.1 · 2026-09-30

fix: name the first bad frame in LeRobot timeline errors

robot-reel lerobot now names the first frame that breaks an episode's timeline. It still stops with exit status 2 and writes no output. Each message gives the dataset-relative data file, the episode and the first bad frame_index. There are five cases: a missing frame (with the next recorded frame_index), a repeated frame, an unexpected value (negative, null, NaN or non-numeric), a frame with no finite timestamp, and a timestamp that is not after the previous frame's (both values shown). Frame indices are now checked before the metadata length check, so a frame dropped mid-episode is reported as a gap instead of a count mismatch. A missing final frame keeps the old 'Episode metadata lists N frames but ... holds N-1' message. Every timeline message ends with 'Robot Reel does not reorder, fill or interpolate frames; repair or re-export the episode.' The accept/reject rule is unchanged, so float or bool frame_index columns equal to 0..length-1 are still accepted. docs/lerobot.md has a new 'Timeline errors' section. Controller results for commit f8e0c1e: before the fix, the new test file ran 10 tests on the base code with 5 failures (the old generic messages) and 5 skips. After the fix, one gated run passed the new test file, the full Python unittest suite, npm run check:js, node --test (52 of 52) and robot_reel.pages --write (0 files updated). I wrote this delivery text only; I did not run any of these checks myself.

noteflowai/physical-ai-radar · 1.4.0 · 2026-09-30

claim-audit worksheet for recently published numeric claims (RA-01)

Adds python3 -m pairadar.claims, an offline, read-only command for the RA-01 claim review. It reads the published JSON Feed store (radar/feed.json by default). For each figure in the items[]._radar entries within the chosen window, it prints one row of a deterministic Markdown review sheet. The columns are #, day, evidence, claim, status, context, source and an empty review cell. Each status comes from distill.number_context applied to the stored text: - quoted: the figure was found in the stored excerpt. - title: the figure was found only in the title. - no-excerpt: the stored excerpt is empty, as it is for baseline entries. - unlocated: the figure is not in the stored title or truncated excerpt. Check the original source first. The reference day is the newest valid entry date, not the system clock. The header gives the store path, reference day, days, total figures T, rows shown S and skipped entries K. A whole-window status-count line always appears. When the sheet is capped, a line gives the number of hidden unlocated and no-excerpt figures and a --limit T rerun value. Items that are not objects, lack a _radar dict or have a non-canonical date are skipped and counted. Store problems (missing, unreadable or invalid JSON, wrong shape or version, no dated entries) exit 2 with one 'claims: ' stderr line and no traceback. Controller-executed checks on candidate 3bd0c4f: - The feature test ran on the pre-change tree and failed with ImportError because pairadar.claims did not exist yet. - On the candidate, python -m pairadar --rerender --no-readme exited 0. - tests/test_feature_02985cec3631.py exited 0. - The full unittest suite passed: 469 tests, OK. The author did not run any of these checks.

noteflowai/evalarc · 0.16.1 · 2026-09-29

fix: fail the diff gate when a check has fewer assessed attempts than the baseline

evalarc diff now has a blocking change kind, less_covered. A check gets it when the current run assessed fewer attempts than the baseline and the pass rate did not fall. A smaller sample can no longer be reported as improved or unchanged. For example, 2/2 to 1/1, 1/2 to 1/1, and 2/2 to 1/1 with one unassessed attempt are all less_covered, and the command exits 1. The existing kinds still take precedence. A lower pass rate is still reported as regressed or less_reliable. A check that passed before and now has zero assessed attempts is still unassessed. The CLI now reads its list of blocking kinds from BLOCKING, so it prints lines such as ' less_covered: cancel-pending / match'. With --output, diff.json keeps schema evalarc.results-diff.v1 and lists less_covered in counts and changes. summary.md shows a 'less covered' row with the baseline and current fractions, and the index.html row uses the existing failed styling. Comparisons where no check lost assessed attempts give the same results as before. docs/ci-gate.md and docs/ci-gate.zh-CN.md list less_covered in the change table. Controller-executed checks on image sha256:3effc5c7...: On base commit e99bc9e, the new tests/test_feature_3412504c3ce6.py failed 6 of 15 tests. The trimmed comparison exited 0 and reported 'Unchanged: 16', which confirms the gap. On candidate commit d4a4afd, all of the following exited 0: that test file, the full pytest suite (including the unchanged tests/test_results_diff.py), ruff check, ruff format --check, scripts/build_site.py and node scripts/check_site.cjs. The earlier review finding that ruff format --check would fail is resolved by that passing run. I did not run these checks myself.

noteflowai/physical-ai-radar · 1.3.0 · 2026-09-29

score keyword lane classification against a labeled shortlist

python3 -m pairadar.lanes has a new --labels PATH option. It compares the keyword lane classifier with a hand-labeled JSON file. For each entry it scores title + '. ' + summary using ranked_lanes, whose top lane is the one distill.classify picks. It then applies the existing thin/ambiguous rules. Those rules now live in a flag_reasons helper that inspect() also calls. The command prints a JSON report with: - labels: the file's basename only - labeled and margin - agreement for all, confident (unflagged) and flagged entries, each as n, agree and rate (rate is null when n is 0) - disagreements in input order, each with id (null when absent), title, label, predicted, reasons, best and runner_up A disagreement with reasons [] is a confident misfile that the flags missed. The whole file is validated before anything is scored. Invalid input exits 2 with one 'lanes: ' stderr line and empty stdout. This covers an unreadable file, invalid JSON or non-UTF-8 text, no items list, a non-object entry, an empty or non-string title or lane, a non-string id or summary, an unknown lane (the valid ids are listed), and combining --labels with --latest or --fail-on-suspicious. In labels mode the exit code is 0 whenever a report is printed. docs/METHODOLOGY.md section 9 documents the format and its limits. The controller ran the checks, not me. In the pre-feature run, 8 of the 10 feature tests errored because argparse rejected --labels. On candidate c109acf the controller ran python -m pairadar --rerender --no-readme (exit 0), the 10 feature tests (all passed) and the full unittest suite (446 tests, OK).

noteflowai/ai-chat-for-amazon-bedrock · 1.48.0 · 2026-09-29

choose the content gaps period and export the same window

The Content gaps card on the Conversations screen now has a Period control with Last 7 days, Last 30 days and Last 90 days, plus a Show button. The form does not submit when the select changes. After Show, the summary sentence, the gap table and the empty state cover the chosen window. The empty state names the window and suggests trying a longer period. The period carries over to the Stored exchanges filter, pagination and the Reset link. Reset clears only the log search, source and rating. At 30 days, including when invalid input falls back to 30, none of those forms or URLs gain aicfab_gap_days, and Reset is the plain page URL, as in 1.47.6. Download content gaps CSV exports the window shown on screen. Seven-day and 90-day files are named ai-chat-bedrock-content-gaps-7d-YYYYMMDD-HHMMSS.csv and ...-90d-.... A 30-day file, or one with a missing or rejected period, keeps the legacy name. The columns are unchanged. The new AI_Chat_Bedrock_Insights::gap_window() accepts only an int, or a string of digits alone, equal to 7, 30 or 90. Anything else returns 30. The export handler reads the period only after the manage_options and nonce checks. The version is 1.48.0. The controller ran the checks on commit f279e41. The feature test failed on the base commit, which lacks the feature, and passed on the candidate. On the candidate, bin/prerelease.sh passed: 40 suites, including admin-ux.php, insights.php and the earlier content-gap test test_feature_9ecd4de5ba50.php, which had failed in the prior attempt; phpcs was clean across 75 files. tests/tooling.php and bin/build-package.py also passed (89 files).

noteflowai/evalarc · 0.16.0 · 2026-09-28

Decision coverage for recorded choices

How often does a recorded choice component answer when it abstains below a confidence threshold, and how often is it wrong? EvalArc 0.16.0 chooses the threshold on calibration decisions, then reports coverage and selective error on held-out decisions. Invalid responses stay visible instead of being counted as wrong answers.

noteflowai/dsh-skills-anywhere · 0.16.0 · 2026-09-28

Check a skill choice against the installed shortlist

Skills Anywhere 0.16.0 adds a two-step route command. Prepare builds a shortlist of installed skills that can actually be opened; apply checks a saved choice against that shortlist before it is used. The result says whether the pick is selected, absent, below the confidence threshold, stale or invalid. The command does not load or run the skill.

noteflowai/robot-reel · 0.17.0 · 2026-09-27

stall-threshold sensitivity for recorded step-limit failures

Adds --stall-sweep T1,T2,... to python -m robot_reel.stress. It re-labels verified recorded step-limit traces at up to eight stall thresholds in metres and reports per-threshold counts, changed and stable trials, and threshold-dependent boundaries against the unchanged 1 mm reference. No policy is re-run and no threshold is validated.

noteflowai/physical-ai-radar · 1.2.0 · 2026-09-27

report consecutive-failure streak and failing_since date for struggling sources in pairadar.health

`python3 -m pairadar.health` now tells the maintainer and the nightly repair gate whether a struggling source has been continuously dark or is flapping. Each entry under `struggling` gains two fields next to the existing `source` and `failed_days`: `streak_days`, the number of consecutive runs (counted back from the latest run that recorded health inside the window) on which the source appears in `failed`, and `failing_since`, the `date` of the oldest run in that streak. A run on which the source answered, was served by its fallback endpoint, or was not attempted ends the streak. A new public helper `health.streak(runs, reference, window, source)` returns `(streak_days, failing_since)` and `(0, None)` when the source did not fail the latest run. All previously emitted keys (`reference`, `window_days`, `threshold_days`, `runs_with_health`, `failures`, `fallbacks`, and `source`/`failed_days` inside `struggling`), the worst-first ranking, the threshold and latest-run rules, and `--fail-on-struggling` exit codes are unchanged. The module docstring and docs/automation.md explain the two fields.

noteflowai/ai-chat-for-amazon-bedrock · 1.47.0 · 2026-09-27

content-gap insight export as CSV for editorial workflow

Export ranked content gaps as CSV for editorial planning.