## Summary
Native Windows installs fail from the shell Windows ships with. Both
commands the README gives for Windows break under Windows PowerShell
5.1:
- `irm https://raven.evermind.ai/install.ps1 | iex` stops with `(308)
Permanent Redirect`. PowerShell 5.1 follows 301, 302 and 307 redirects
but not 308, which is what that URL answers with. This is the error #148
reported; the README already offered the direct URL for it.
- The direct URL downloads the script, which then stops at "Could not
resolve the latest Raven release wheel from GitHub".
`Resolve-RavenLatestVersion` requests the release page without following
the redirect and reads the Location header off the exception that
raises. Only PowerShell 7 attaches the response to that exception.
PowerShell 5.1 returns the unfollowed redirect as the response and
reports `MaximumRedirectExceeded` as an error with no response, so the
lookup always came back empty. This came in with #299 and has been on
main since.
Changes:
- `install.ps1`: the release-page request uses `-ErrorAction Ignore`
instead of `-ErrorAction Stop`, so PowerShell 5.1 reads Location from
the returned response. PowerShell 7 still raises regardless of
`-ErrorAction` and goes through the existing catch. The Location is
still matched against the same stable-tag pattern.
- CI: the installer job ran `install.ps1` under `pwsh` only, which is
how this shipped. It now also runs the piped install under Windows
PowerShell 5.1 (`shell: powershell`), into its own tool, bin and home
directories, sharing the uv cache.
- Docs: README, README.zh-CN, the docs-site quick start (en, zh) and the
release notes template now say that Windows PowerShell 5.1 stops on the
short URL with `(308) Permanent Redirect` and to switch to the direct
URL when that appears. The short URL's redirect itself is unchanged.
- Tests: tripwires for the lookup (`-ErrorAction Ignore`, catch kept)
and for the CI gate (both shells, and separate tool, bin and home
directories, since the version check runs the `raven.exe` in the bin
directory).
Second topic, Windows test hygiene: three tests failed when the suite
ran on a Chinese-locale Windows checkout. CI runs the unit tests on
Linux only, so it never saw them.
- `test_no_workflow_step_enters_the_removed_page_directory` read
workflows in the locale encoding (GBK there) and stopped on the UTF-8 in
`release.yml`. It now reads UTF-8.
- The font and LibreOffice harness tests run `install.sh` code under
`sh`, which on Windows is Git Bash: its curl sits outside `/usr/bin` and
paths mix separators, so two failed and others passed for the wrong
reason (the digest-mismatch test passed because curl was missing). The
ten harness tests now carry the POSIX-only skip the other three
sh-driven tests already had, shared as one `POSIX_SH_ONLY` marker. Linux
runs are unchanged.
#861 merged first, and this branch is rebased onto it. The one conflict
was in `tests/test_install_script.py`. The sh-driven tests #861 added,
its two Node harness tests and
`test_a_download_that_cannot_be_hashed_is_not_installed`, now carry
`@POSIX_SH_ONLY` like their neighbours, so the marker stays the one
spelling of that skip.
Third topic, test infrastructure: Python's locale-dependent text I/O
uses the system code page when no `encoding=` is passed. On a GBK-locale
Windows checkout, any test that reads or writes a file containing
non-ASCII bytes will fail or silently corrupt data. The class of bug was
found above; there are ~790 `read_text()` call sites without `encoding`
in `tests/`. Measured on Linux under a zh_CN.GBK locale, main without
UTF-8 mode is not one test short: 87 tests fail only there, across 25
files, and `tests/test_rpc_schema_match.py` (418 tests) does not
collect, mostly on `UnicodeDecodeError` from reading UTF-8 files.
- Makefile: `export PYTHONUTF8 := 1`, so every recipe runs in UTF-8
mode, `check-core-wheel` (part of `make ci`) included.
- `tests/conftest.py` raises at import time on any interpreter whose
default text encoding is not the UTF-8 codec, telling the caller to set
`PYTHONUTF8=1` or use `-X utf8`. It compares codecs rather than names,
so Windows with the system-wide UTF-8 option, which reports `cp65001`,
passes. `uv run pytest`, which AGENTS.md documents and which does not
read the Makefile, now stops here on a GBK checkout, as does an IDE
runner that does not set the variable. CI's `--noconftest` self-upgrade
job (its tests all name `encoding` explicitly) is unaffected.
`tests/test_conftest_utf8_guard.py` pins the codec comparison and drives
the refusal in an ASCII-locale child.
- CI sets `PYTHONUTF8` in no job. The jobs that load `tests/conftest.py`
run on ubuntu-latest, where the locale is UTF-8 already, and the `unit`
job gets the variable from the Makefile through `make coverage-shard`.
The Windows self-upgrade job runs its one file with `--noconftest`, and
that file names its encodings. The installer job runs no tests at all:
its steps are raven installing itself and answering `--version`, so the
variable there would only change how raven runs, and that gate exists to
run it the way users do.
## Type
- [x] Fix
- [ ] Feature
- [ ] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Run on Windows 11 (zh-CN) with Windows PowerShell 5.1.26100 and
PowerShell 7.6.6, before the rebase onto #861 and the second review
round. Every install below was isolated: `UV_TOOL_DIR`,
`UV_TOOL_BIN_DIR` and `RAVEN_HOME` in a temp directory,
`RAVEN_MINIMAL=1`, `RAVEN_NO_LAUNCH=1`.
- Before the fix, under 5.1: `irm https://raven.evermind.ai/install.ps1`
fails with `(308) Permanent Redirect`; `irm
https://raw.githubusercontent.com/EverMind-AI/Raven/refs/heads/main/install.ps1
| iex` stops at `Could not resolve the latest Raven release wheel from
GitHub`.
- `Invoke-WebRequest
https://github.com/EverMind-AI/Raven/releases/latest -MaximumRedirection
0 -UseBasicParsing -ErrorAction Stop`: 5.1 throws
`InvalidOperationException` (`MaximumRedirectExceeded`) with no
`Response`; 7.6.6 throws `HttpResponseException` whose
`Response.Headers.Location` is the tag URL. With `-ErrorAction Ignore`,
5.1 returns the 302 with Location set, and 7.6.6 still throws into the
catch.
- Redirects under 5.1, via httpbin `redirect-to`: 301, 302 and 307 are
followed; 308 is not.
- After the fix, `Get-Content install.ps1 -Raw | Invoke-Expression`
under 5.1 and under 7.6.6, with `uv tool update-shell` disabled in a
temp copy of the script to leave the user PATH alone: both resolved
v0.2.4, installed raven with everos-memory, design-engine and
ppt-engine, and `raven.exe --version` printed `Raven v0.2.4`.
- `uv run pytest tests/test_install_script.py
tests/test_release_plugin_list.py
tests/test_constraints_export_contract.py` plus the six installer tests
in `tests/test_cli_onboard_commands.py`, on Windows: 48 passed, 13
skipped (before: 55 passed, 3 skipped, 3 failed). The two new tripwires
fail against the previous `install.ps1` and `ci.yml`. With the UTF-8
gate added, a bare `uv run pytest --co -q tests/test_install_script.py`
on the GBK checkout raises RuntimeError naming `PYTHONUTF8=1`, while the
same invocations with the variable set pass (45 passed, 13 skipped).
- `uv run ruff check` and `uv run ruff format --check` on both test
files pass; `ty` does not cover `tests/`, the only Python this changes.
`PYTHONPATH=. uv run python scripts/check_source_language.py
origin/main` exits 0.
Run on Linux (Ubuntu 22.04, Python 3.12.13) at this head. A zh_CN.GBK
locale compiled into a private `LOCPATH` gives a non-UTF-8 interpreter
(`locale.getpreferredencoding(False)` is `GBK`, UTF-8 mode off).
- Full suite, `uv run --frozen --python 3.12 --all-extras pytest -q`: 7
failed, 27567 passed, 119 skipped. On main the same command gives 7
failed, 27556 passed, 119 skipped with the identical 7 failing IDs, this
machine's local baseline (five proxy tests, a root-only permission test
and an npm found on PATH), so 0 introduced; the 11 extra passes are this
PR's new tests.
- Main under GBK without UTF-8 mode: 86 failed, 27059 passed, 119
skipped, 11 errors. 87 IDs fail only there, and
`tests/test_rpc_schema_match.py` does not collect. One of the 87, a
non-ASCII file name, is specific to Linux, where GBK also becomes the
filesystem encoding.
- This head under GBK: a bare `uv run pytest --co -q
tests/test_install_script.py` stops at the conftest RuntimeError naming
`PYTHONUTF8=1`. `make test-python`, which exports it: 7 failed, 27567
passed, 119 skipped, the same 7 IDs as under UTF-8. `make
check-core-wheel`: 1 passed, where with the per-target exports it exited
2 at the guard.
- The harness tests marked `@POSIX_SH_ONLY` run on Linux in the full
suite above.
- Mutations: with the old name tuple back in the guard's predicate, only
the `cp65001` case of `tests/test_conftest_utf8_guard.py` fails; with
the guard deleted, its end-to-end refusal test fails. Giving the 5.1
step pwsh's `UV_TOOL_BIN_DIR`, or its `RAVEN_HOME`, now fails the CI
gate test naming the shared variable, where before it passed.
- `make lint-python` passes, and the commit-message, source-language and
large-file gates exit 0 over `origin/main..HEAD`.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
User-visible: the one-line Windows install works again from Windows
PowerShell 5.1 through the direct URL. The short URL still answers with
a 308 there, and the docs now name that error. `install.ps1` is served
from main, so the fix reaches users on merge, and reverting the squash
commit rolls it back the same way. The resolved Location is still
matched against the same stable-tag pattern before anything is
downloaded. The installer CI job gains one Windows install, which reuses
the uv cache.
Developer-visible: on a Windows checkout whose code page is not UTF-8, a
pytest run that loads `tests/conftest.py` without UTF-8 mode stops at
import with a message naming `PYTHONUTF8=1`; the `make` targets set it,
and Linux and macOS runs are unaffected. On Windows the sh-driven
harness tests report as skipped: the ten this PR marks and
`test_a_download_that_cannot_be_hashed_is_not_installed`, beside the
five that already skipped there.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
#148
---------
Co-authored-by: Claude (claude-opus-5-5) <noreply@anthropic.com>
## Summary
The technical report is now on arXiv as 2609.33439, with a paper page
on Hugging Face. This points the READMEs at those two pages instead of
the `tech-report-v1` Release PDF, and switches the citation to the
arXiv entry.
- Both READMEs: the report link that leads the navigation line under
the badges becomes two links, arXiv and the Hugging Face paper page.
The Citation sentence now links the arXiv abstract page.
- Badge row, both READMEs: an arXiv badge (2609.33439) joins it beside
the X badge, and the HuggingFace badge is relabelled Paper and points
at the paper page instead of the organisation page.
- The navigation line under the badges drops its two report links, now
that the badges carry them, and keeps Website, Documentation and the
language switch.
- BibTeX, in all three copies (both READMEs and
`docs/technical-report/README.md`, still byte-identical):
`@techreport` becomes arXiv's `@misc` form with `eprint`,
`archivePrefix` and `primaryClass`. `institution` and `month` are
dropped, as arXiv's export carries neither.
- Two deliberate departures from arXiv's generated export. The key
stays `evermind2026raven`, so existing citations keep resolving.
Author and title keep their double braces: arXiv parses "EverMind
AI" as a person (its `citation_author` reads "AI, EverMind", which
is where its generated key `ai2026ravenharnessharnessescomposable`
comes from), so the verbatim export cites as "AI [2026]" under
natbib author-year, and as "E. AI" with a lowercased title under
`abbrv`.
- `docs/technical-report/README.md` keeps its Release download and
adds the two links. The Release PDF and arXiv v1 are the same
document: 82 pages each, and a word-level diff of their text is
empty apart from arXiv's margin stamp.
Not changed in git: the `tech-report-v1` Release notes held a fourth
copy of the old `@techreport` entry. It is outside the repository; its
notes were updated to the same entry, and `/releases/latest` was
re-checked afterwards and is still the software release.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Run at the branch head, with the repository's Python 3.12 environment:
```
PYTHONPATH=. python scripts/check_large_files.py origin/main..HEAD
PYTHONPATH=. python scripts/check_source_language.py origin/main..HEAD
PYTHONPATH=. python scripts/check_commit_messages.py origin/main..HEAD
commitlint --from origin/main --to HEAD --config commitlint.config.cjs
pre-commit run --from-ref origin/main --to-ref HEAD
python -m pytest -q tests/test_living_docs.py \
tests/test_cli_onboard_commands.py::test_readme_quickstart_matches_the_installer \
tests/test_docker_runtime.py::test_container_exposes_no_engine_selector
```
The four gates exit 0; every pre-commit hook that applies passes and
modifies no file; pytest reports 4 passed: the living-docs scan and
the two tests that read the root READMEs.
- Links: `https://arxiv.org/abs/2609.33439` and
`https://huggingface.co/papers/2609.33439` both return HTTP 200, and
both pages carry the report's exact title.
- BibTeX: the entry compiles without warnings under bibtex with
`plain`, `abbrv` and `plainnat`, and under biber with biblatex
`numeric`, which prints `arXiv: 2609.33439 [cs.AI]`.
- Rendering: GitHub's own render of all three files at the branch
head; every new link carries the intended href, and each file
renders one bibtex code block.
- The three BibTeX blocks share one sha256.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Documentation only: three Markdown files, no code. The README
navigation line and Citation section change for readers. Existing
citations keep their key, and the Release and its download URL are
untouched, so old links still resolve. Roll back by reverting the
squash commit.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
---------
Co-authored-by: Claude (claude-opus-5-5[1m]) <noreply@anthropic.com>
## Summary
Introduce Raven as "the harness of harnesses, built for recursive
self-improvement (RSI)" and explain how proposed changes to Raven's own
harness are evaluated before adoption. Rename the Raven RSI showcase
heading to "recursive self-improvement in practice" to distinguish the
example from the product positioning.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- `git diff --check` passed.
- `make check-large-files COMMIT_RANGE=origin/main..HEAD` passed.
- `PR_TITLE='docs: clarify Raven RSI positioning in readme' make
check-pr-title` passed.
- `/tmp/raven-rsi-pr.6CgQ43/node_modules/.bin/commitlint --from
origin/main --to HEAD --config commitlint.config.cjs` passed.
- `PYTHONPATH=. uv run --no-sync python scripts/check_commit_messages.py
origin/main..HEAD` passed.
- PR body ASCII validation using `scripts.commit_lint.check_pr_body`
passed.
- Runtime tests are not applicable to this README-only change.
- [ ] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Only English README copy changes; runtime behavior is unchanged.
Renaming the showcase heading changes its generated anchor; no
references to the old anchor were found in repository Markdown. Revert
this change to restore the previous wording and anchor.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
Co-authored-by: Codex <noreply@openai.com>
## Summary
Moves the Showcase section of both READMEs up so it sits directly after
the multi-agent orchestration benchmark chart and before Built-in
Agents. A reader now meets the three complete delivered projects before
the per-agent detail.
The section content is unchanged in both languages; only its position
moves. The new order in `README.md` and `README.zh-CN.md` is Showcase,
Built-in Agents, Runtime Self-Evolution, Connect Third-Party Agents.
Headings are untouched, so existing `#-showcase` links still resolve.
The diff reads as the 74-line Built-in Agents and Runtime Self-Evolution
block moving down past the Showcase, which is the same swap from the
other side.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- A scripted move asserted that each file keeps the same line count and
the same sorted multiset of lines before and after, so nothing was
added, dropped or edited.
- `git diff --numstat origin/main...HEAD`: `74 74` for each README,
nothing else.
- `make check-commits check-large-files check-source-language`: all exit
0.
- `uv run --frozen --all-extras pytest -q tests/test_docker_runtime.py
tests/test_living_docs.py tests/test_cli_onboard_commands.py -k "readme
or README or living or docker"`: 12 passed. These are the tests that
read the root READMEs, including the Quick Start heading lookup.
- Searched both READMEs for positional wording ("above", "below" and the
Chinese equivalents); the only hits are inside the moved section or in
image alt text, so no sentence now points the wrong way.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
README-only reordering; no code, assets or links change. Roll back by
reverting the squash commit.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
Co-authored-by: Claude (claude-opus-5-5) <noreply@anthropic.com>
## Summary
Adds `docs/technical-report/README.md`, the landing page for the Raven
technical report: title, abstract, BibTeX entry, and a download link for
the PDF. It replaces the zero-byte `.gitkeep` that created the folder,
and `docs/README.md` gains the index entry that the placeholder change
deferred until real content landed.
Both root READMEs link the PDF itself rather than that page: a Technical
Report link leads the navigation line under the badges, and a closing
Citation section, after License, carries the same BibTeX entry and links
the same file. The English and Chinese READMEs change in the same
places, and the three BibTeX blocks are byte-identical.
The PDF itself (4,035,271 bytes, 82 pages) is not committed. AGENTS.md
section 7 keeps report assets and files over 1 MiB out of git, and
`scripts/check_large_files.py` rejects this file on both counts. It is
attached to the `tech-report-v1` release instead, published with
`--latest=false`: `/releases/latest` is what `install.sh`, `install.ps1`
and `raven/updates/upgrade.py` resolve, and all three accept only a
`vX.Y.Z` tag there. The report tag points at the v0.2.3 commit. A later
revision of the report gets its own release rather than replacing this
asset.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Every range below starts at the branch base, the #810 squash on `main`.
- `scripts/check_large_files.py <base>..HEAD`: exit 0.
- `scripts/check_source_language.py <base>..HEAD`: exit 0.
- `scripts/check_commit_messages.py <base>..HEAD`: exit 0.
- `commitlint --from <base> --to HEAD --config commitlint.config.cjs`:
exit 0.
- `pre-commit run --from-ref <base> --to-ref HEAD`: exit 0. The hooks
that match these files passed and modified nothing.
- `pytest -q tests/test_living_docs.py tests/test_docs_site.py
tests/test_large_file_check.py tests/test_docker_runtime.py`: 41 passed.
`test_docker_runtime.py` is the one test that reads both root READMEs.
- All three pages rendered through the GitHub markdown API. The landing
page shows the abstract's en dash, both emphasized terms, the two links
and the BibTeX block; each root README shows the Technical Report link
first in its navigation line, both of its report links resolve to the
PDF download URL, and it ends with the Citation section and its BibTeX
block.
- The release asset's digest equals the local file's SHA-256
(`14832f50...`). After publishing,
`https://github.com/EverMind-AI/Raven/releases/latest` still redirects
to `v0.2.3`, and the release page and the PDF download URL both return
200 to an anonymous request.
`make lint` was not run: `PYTHON_LINT_TARGETS` and the TypeScript lint
trees do not include `docs/` or the root READMEs.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Docs only: nothing reads these files at runtime. The release is the part
with reach: it is public, publishing it notified release watchers, and
it must never become Latest. If it has to be withdrawn, `gh release
delete tech-report-v1 -R EverMind-AI/Raven --cleanup-tag` removes it and
its tag, and the landing page's links then 404 until the page is
reverted. Rolling back this PR is a revert of the squash commit.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
#804 created the folder this page fills.
---------
Co-authored-by: Claude (claude-opus-5-5[1m]) <noreply@anthropic.com>
## Summary
The self-evolution section described a capability with no author in it.
The Curator landed on main in #802, so this names it: it is what
rewrites the four strategy modules, it reaches past the prompt into the
tools, skills and judgement an agent runs on, and it works in rounds
that end when the reader is satisfied, when it has nothing left worth
changing, or when the round budget runs out. Quality is held by
verification before installation and by withholding the reference
answer.
The heading drops `(Experimental)`.
Four claims were wrong or loose against the code, and are corrected:
- **"The next turn of the same conversation already runs on it"** is
true of a charter bound for one turn, not of a Curator, which installs
at an execution boundary
(`experimental/curator/raven_adapter/deployment.py`, `activate`). The
section now says the agent runs on the new implementation once it is
installed.
- **Feedback described as requirements "rather than a score"** was
wrong: a `Signal` carries per-item verdicts and metrics
(`experimental/iteration/protocols.py`). What is withheld is the
reference answer -- `answerless` exists precisely because a reference
that reaches the Curator gets copied into the harness and scores the
same cases again without the agent improving. That is what the section
now says.
- **Capability** is "which tool definitions one iteration exposes" per
`raven/contracts/harness.py`, not "what it can reach".
- **Action** decides what to do next as well as judging it before it
runs; the previous line carried only the second half.
The Chinese keeps the register set in #787 rather than reverting it to
the earlier wording.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Documentation only: one section rewritten in each README, no code
touched.
```
npx commitlint --from origin/main --to HEAD --config commitlint.config.cjs
python3 scripts/check_commit_messages.py origin/main..HEAD
python3 scripts/check_source_language.py origin/main..HEAD
python3 scripts/check_large_files.py origin/main..HEAD
```
All four pass.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
No behaviour change.
One thing a reviewer should weigh: the third paragraph describes a
Persona, whose implementation is in #709 and is not on main. That was
raised on #780 and is not resolved by this change; it is called out here
so the decision is deliberate rather than inherited.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
---------
Co-authored-by: yao pengfei <yaopengfei@shanda.com>
Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
## Summary
Add original PPTX downloads beside the THRESHOLD, Raven RSI, and Raven
overview presentations in both READMEs. Each link points to the matching
file in the [public presentation
release](https://github.com/LivXue/Raven/releases/tag/showcase-decks-2026-09-25).
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
- `rtk proxy uv run --no-sync --all-extras pytest
tests/test_living_docs.py tests/test_docs_site.py
tests/test_docker_runtime.py
tests/test_cli_onboard_commands.py::test_readme_quickstart_matches_the_installer
-q` - 28 passed.
- `rtk proxy uv run --no-sync pre-commit run --from-ref origin/main
--to-ref HEAD` - all applicable hooks passed.
- `rtk proxy env UV_NO_SYNC=1 make check-large-files
check-source-language COMMIT_RANGE=origin/main..HEAD` - passed.
- `rtk proxy env PYTHONPATH=. uv run --no-sync python
scripts/check_commit_messages.py origin/main..HEAD` - passed.
- `rtk proxy git diff --check origin/main...HEAD` - passed.
All three files were downloaded without authentication and matched the
provided originals byte for byte. GitHub-rendered captions were checked
at 838 px and 1013 px content widths; table sizes, image sizes, and
title row heights are unchanged in both languages. Type checking is not
applicable to this Markdown-only change.
## Risk
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
Downloads depend on the public GitHub Release remaining available. No
binary files are added to this repository. Revert the six link additions
to restore the previous captions.
## Related Issues
N/A
## Summary
Present the three showcases as complete projects delivered by Raven's
teams of specialized agents, with the full set of deliverables stated in
both README introductions and project descriptions.
- Refresh the English and Chinese THRESHOLD and Raven RSI website
screenshots.
- Adjust the English game board and Chinese RSI board columns to fit the
updated screenshots.
- Point the THRESHOLD website links to the corresponding GitHub Pages
language versions.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
Commands run after rebasing:
- `rtk proxy uv run --no-sync --all-extras pytest
tests/test_living_docs.py tests/test_docs_site.py
tests/test_docker_runtime.py
tests/test_cli_onboard_commands.py::test_readme_quickstart_matches_the_installer
-q` - 28 passed.
- `rtk proxy uv run --no-sync pre-commit run --from-ref origin/main
--to-ref HEAD` - all applicable hooks passed, including private-key
detection.
- `rtk proxy env UV_NO_SYNC=1 make check-large-files
check-source-language COMMIT_RANGE=origin/main..HEAD` - passed.
- `rtk proxy env PYTHONPATH=. uv run --no-sync python
scripts/check_commit_messages.py origin/main..HEAD` - passed.
- `rtk proxy git diff --check origin/main...HEAD` - passed.
Both README Showcase sections were rendered through GitHub Markdown and
checked in a browser at 838 px and 1013 px content widths: each retains
three project headings, three boards, 11 images, and two video players.
All four uploaded screenshots were downloaded and matched their local
SHA-256 hashes. Both new THRESHOLD website links returned HTTP 200. The
README files are byte-identical before and after rebase.
Validation is scoped to documentation. Type checking is not applicable;
the full application suite and the showcase experiments were not rerun.
## Risk
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
The three project subsection anchors change with their titles; the main
Showcase anchor is preserved. Images remain hosted as GitHub
attachments. This PR changes only two Markdown files and does not modify
website deployments or runtime behavior. Revert these README edits to
restore the previous wording, screenshots, and links.
## Related Issues
#505 - [updated website
screenshots](https://github.com/EverMind-AI/Raven/issues/505#issuecomment-5843036118)
## Summary
The README showcase now highlights three complete projects: THRESHOLD,
Raven RSI, and Raven's product launch kit. Each project pairs a concise
description with hosted videos, posters, presentations, and website or
README previews.
- Polish the English and Chinese titles, descriptions, and media labels.
- Preserve the previous 11 examples in `docs/showcase.md` and
`docs/showcase.zh-CN.md`, with links from both READMEs and the
documentation index.
- Keep all media hosted externally; this change contains five Markdown
files.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
Commands run after rebasing onto the current target:
- `rtk proxy uv run --no-sync --all-extras pytest
tests/test_living_docs.py tests/test_docs_site.py
tests/test_docker_runtime.py
tests/test_cli_onboard_commands.py::test_readme_quickstart_matches_the_installer
-q` - 28 passed.
- `rtk proxy uv run --no-sync pre-commit run --from-ref origin/main
--to-ref HEAD` - all applicable hooks passed, including private-key
detection.
- `rtk proxy env UV_NO_SYNC=1 make check-large-files
check-source-language COMMIT_RANGE=origin/main..HEAD` - passed.
- `rtk proxy env PYTHONPATH=. uv run --no-sync python
scripts/check_commit_messages.py origin/main..HEAD` - passed.
- `rtk proxy git diff --check origin/main...HEAD` - passed.
The migrated showcase bodies match their originals byte for byte. GitHub
Markdown rendering produces three project headings, three tables, 11
images, and two video players per README, with no unrendered bold
markers. Relative links and domain terminology were checked.
All five project website links returned HTTP 200. Requests to the 19
GitHub attachment URLs returned HTTP 403 or timed out; a direct GET
retry also timed out, so media payload delivery could not be revalidated
from this environment.
Validation is scoped to documentation. Type checking is not applicable
to these Markdown-only changes. The full application and integration
suites were not run, and the showcase experiments were not rerun.
## Risk
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
This changes the README presentation and adds navigation to the full
galleries. Runtime behavior, configuration, and dependencies are
unchanged. Media remains dependent on its external hosting. Revert this
documentation change to restore the previous layout.
## Related Issues
N/A
## Summary
The README opens on "a self-evolving multi-agent orchestration
ecosystem" and then never shows what that buys a reader. The only place
a Playbook appears is an image caption, and the word Persona appears
nowhere.
This adds one section after the built-in agents, in both `README.md` and
`README.zh-CN.md`. It says what can change in a running agent -- the
instructions it carries, what counts as done, the tools it reaches for,
the checks it must pass -- and that a change belongs to that agent
alone, so the next turn of the same conversation runs on it with nothing
restarted. A Persona is then given as the first thing that builds: what
the user asked for lands in the assistant's harness rather than stopping
at a prompt, and Raven reworks it from feedback until it does the job.
Marked Experimental in the heading. It deliberately claims no
improvement in outcome: the revision loop runs, and whether it makes an
assistant measurably better is not something this repository can show
yet.
The Core Systems table is left alone. Its five rows are shipped systems,
and "harness self-evolution" there already names the Evolver, which
develops agents offline against benchmarks rather than inside a running
task -- a row here would read as the same thing.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Documentation only: `+8` lines in each README, no deletions, no code
touched.
```
npx commitlint --from origin/main --to HEAD --config commitlint.config.cjs
python3 scripts/check_commit_messages.py origin/main..HEAD
python3 scripts/check_source_language.py origin/main..HEAD
python3 scripts/check_large_files.py origin/main..HEAD
```
All four pass. Markdown is exempt from the source-language gate
(`check_source_language.py:142`), which is what lets the Chinese README
carry the translated section.
Placement checked against the file's own conventions: the section sits
between Built-in Agents and Showcase in both files, and carries no
Back-to-top badge because that badge is not per-section (it appears
twice in the whole README, after Core Systems and after EverMind
Ecosystem).
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
No behaviour change. The section describes an experimental capability
and says so in its heading; if the naming of Persona changes before it
ships, this is one paragraph to revise.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
---------
Co-authored-by: yao pengfei <yaopengfei@shanda.com>
Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
## Summary
The repo ships a Compose stack and `docker/README.md` documents it, but
the readme's Quick Start offered only the installer script and the
source checkout, so the container path was findable only by browsing the
tree. This adds it to both readmes:
```bash
git clone https://github.com/EverMind-AI/Raven.git
cd Raven
docker compose -f docker/docker-compose.yml up
```
Two decisions worth a reviewer's eye:
- **No heading of its own.** It lands as another option in the install
flow, parallel to "Or install from a source checkout". A heading before
this point would have taken the paragraph about the agent products with
it, and that one is a note on every install path, not on this one.
- **Prerequisites as prose, not a list.** `README.md` has no bullet list
anywhere in it; the file is prose, code blocks and tables. Both links
are there either way.
The zh copy was written against `fadaa70d7` (#765), which rewrote that
file while this branch was open: the block is worded to sit inside the
new text rather than reinstating the pre-#765 phrasing around it.
Docs only. No code, no assets.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
The command in the instructions was checked from the repository root,
which is where the readme tells a reader to run it:
```
docker compose -f docker/docker-compose.yml config
-> exit 0
context: /Users/admin/github/Raven (the build context resolves to the checkout)
published: "18793" (the port the text tells you to open)
```
`docker/.env` is tracked, so the `required: true` env_file is present in
a fresh clone and the command works with no setup step the readme does
not mention. The `18790` the entrypoint banner prints is the engine's
port inside the container; nginx fronts it, and 18793 is the one a
browser wants.
Gates:
```
make check-source-language -> exit 0
make check-large-files -> exit 0
```
`check-source-language` is the one that matters here: the zh file adds
CJK, and it passes on the `*.md` suffix exemption.
- [ ] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Docs only, so no behaviour changes and nothing to roll back but the
text. The one factual claim a reader acts on is the port, confirmed
above against the Compose file.
Left unchecked: there are no tests over readme prose to run.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
## Summary
Polish the wording of `README.zh-CN.md` and align it sentence by
sentence with `README.md`, and correct one stale claim that both READMEs
shared. Docs only.
- Remove translationese and dangling clauses, and split no paragraph the
English does not split.
- Align meaning with the English: drop qualifiers the English does not
say (for example "continuously", "top six", "only"), and restore ones it
does (for example "clear" in the Raven-Research reports, "connected" in
the sub-agent caption, "quality" in the AI4AI caption).
- Use the docs-site terms consistently: "Agent" instead of a mix of
"Agent" and the native word for agent, "sub-Agent", and "Playbook".
- Showcase titles now share one "type: topic" shape. The Greek
polychromy deck title is rendered as "how ancient Greece became
'white'", which keeps both the colour and the whiteness readings of
"whitewashed"; the other titles translate the English literally.
- Join a hard line break inside the Showcase intro, which rendered as a
stray space in Chinese.
- Correct the agent-products paragraph in both READMEs: onboarding does
not register the products (each folder under `agents/` is discovered in
place, see `raven/cli/subagent_setup.py::configure_subagents`); it only
asks whether a product runs on the model it is tuned for, with a key of
its own, or on this raven's LLM.
Kept different on purpose: costs stay converted to CNY, and the zh
README keeps its own Chinese-UI screenshots. The overview also calls
Raven a self-evolving multi-agent collaboration ecosystem that preserves
memory across sessions, where the English says orchestration ecosystem
and preserves context; both are deliberate Chinese wording choices, not
drift.
Not changed here: `demos/oncall_heat2d/README.md` still says the on-call
product gets registered by `raven onboard`; it is outside this change
and left for a follow-up.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- `uv run pytest -q
tests/test_cli_onboard_commands.py::test_readme_quickstart_matches_the_installer
tests/test_docker_runtime.py::test_container_exposes_no_engine_selector`
-> 2 passed (the two tests that read `README.zh-CN.md`), re-run after
each rebase onto the latest `main`.
- `make check-source-language` -> exit 0.
- `make check-large-files` -> exit 0.
- `uv run python scripts/check_commit_messages.py origin/main..HEAD` ->
exit 0.
- Structure check against `README.md`: same headings (9 h2, 6 h3),
tables (7), code fences (12) and link targets; image differences are the
pre-existing zh-only screenshots.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Text-only change to the two READMEs; no code, links, images or commands
changed. Roll back by reverting the commit.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
---------
Co-authored-by: userName20260323 <270284818+userName20260323@users.noreply.github.com>
Co-authored-by: Claude (claude-opus-5-5) <noreply@anthropic.com>
## Summary
Refresh the four Launch WebUI figures from the current frontend, with
no chat history: the empty composer that the "New task" button opens
and the Agent Connector page, in English for README.md and in Chinese
for README.zh-CN.md. The figures they replace predate the redesign and
still showed the Agent Hub list and the earlier composer.
How they were captured, so the next refresh can repeat it:
- One `raven web` per language, launched from a checkout of
origin/main afdc04f89 after both ui-web build steps, each on its own
empty `RAVEN_HOME`, so there are no conversations and no schedules.
- Each home holds a working config without its `a2a` key or a local
permission override, so the composer shows the default permission
mode (Smart mode), and MiroThinker keeps its preset name.
- 1440x900 at 1x in the light theme, framed like every earlier set:
24px corner radius and a soft shadow (Gaussian blur 34, 16px down,
30 percent black) on a 1588x1048 transparent canvas. The alpha
channel equals the previous figures' (max difference 0), so they
composite the same on GitHub's light and dark themes.
- On the first load after `raven web` starts, the composer's model
chip shows the model store's initial value (`minimax-m3`, set in
`ui-web/src/features/model/store.ts`) until the first `model.options`
answer arrives: 5.9 to 10.7 s when these were captured, and 1.6 to
2.5 s on the rebased head after #738, where it stayed visible for
about 0.6 s past the splash in one of two runs. Each capture waited
for the chip to read `agents.defaults.model`. The placeholder itself
is a separate defect and is not addressed here.
The images are hosted on issue #505 (comment 5795066037) rather than
committed, per AGENTS.md section 7. Only the four asset URLs change,
each twice (link target and image source).
Left unchanged: the alt text and the captions under the four images,
which predate this frontend. The first caption says playbooks and
knowledge are a click away, but #501 retired the knowledge page,
`ui-web/src/chrome/Rail.tsx` records that a playbook is not a place a
reader goes, and skills and memory are settings sections now. The
second calls the Agent Connector page "one roster", a word
`CONTEXT.md` reserves for the enabled subset formatted for a prompt.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Each uploaded asset fetched back with GET and compared by sha256 with
its local file (user-attachments URLs answer 403 to HEAD):
```
4 of 4 byte-identical: 199713, 121540, 202124 and 125344 bytes
```
Only the four ids changed, and none of the old ones survives:
```
substituting the old ids back reproduces origin/main byte for byte (both files)
git grep <old id> -- . -> no match for any of the four
(the same grep finds each one on origin/main)
```
After rebasing onto 5c4ae70b6 (#738 and #739), all four views were
re-captured there the same way. The settled renders match the
uploaded captures on every pixel but 13, 20, 13 and 0 per view, each
off by 1/255 on a shadow or border edge.
The tests that read the root READMEs, the hooks that match markdown,
and the repository gates:
```
uv run --frozen --python 3.12 --all-extras pytest tests/test_docker_runtime.py \
tests/test_living_docs.py \
tests/test_cli_onboard_commands.py::test_readme_quickstart_matches_the_installer -q
-> 12 passed
uv run --frozen --python 3.12 --all-extras pre-commit run --files README.md README.zh-CN.md
-> trailing-whitespace, end-of-file-fixer, check-added-large-files,
check-merge-conflict, detect-private-key: Passed
make check-commits -> exit 0
make check-large-files COMMIT_RANGE=origin/main...HEAD -> exit 0
make check-source-language COMMIT_RANGE=origin/main...HEAD -> exit 0
```
The source-language gate exempts `*.md` by suffix, so its pass here is
by construction rather than evidence.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
The lint box covers the pre-commit hooks that match markdown; no type
check applies to this change.
## Risk
Presentation only: the two READMEs show new images. No code, config or
build output changes.
- [x] Security impact considered
- [ ] Backward compatibility considered
- [x] Rollback path is clear for risky changes
The four PNGs carry no metadata chunks (IHDR, IDAT and IEND only), and
the captures show no key, path or conversation title. Backward
compatibility does not apply: no interface or stored value changes.
Rollback is a revert of the squash commit; the previous assets stay
live on issue #505, so the old figures come back intact.
## Related Issues
#505
Co-authored-by: Claude (claude-opus-5-5[1m]) <noreply@anthropic.com>
## Summary
Both READMEs now open Quick Start with a short subsection for readers
who would rather have their own agent install Raven. It holds one prompt
to paste into any agent that can read a web page and run shell commands.
The prompt sends the agent to the quick start page on the documentation
site and asks it to install Raven, or to update it when it is already
installed. The page covers both paths since its Update Raven section
landed in #711, so this route adds no install steps to the README that
could drift from the page.
The prompt sits in a fenced `text` block, which GitHub renders with a
copy button, so one click copies the whole prompt. It stays on a single
line so that pasting it cannot send half a prompt in an agent whose
input submits on a newline. The Chinese README points at the Chinese
page, as its documentation link already does.
Known gap, left to the page: an install that an agent runs by following
the page ends on the WebUI in the foreground and does not return until
it is stopped. The page's Update Raven section says a re-run of the
installer finishes that way; the Install Raven section does not say the
first install does the same, and neither names `RAVEN_NO_LAUNCH=1`, the
setting that makes the installer return. That belongs to a separate
docs-site change.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Every command ran against this branch's tree, with the project venv's
Python.
- `python -m pytest
tests/test_cli_onboard_commands.py::test_readme_quickstart_matches_the_installer
-q -o addopts=""` -> `1 passed`. This is the test that reads the Quick
Start section of both READMEs.
- `python scripts/check_commit_messages.py origin/main..HEAD` -> exit 0.
- `commitlint --from origin/main --to HEAD --config
commitlint.config.cjs` -> `found 0 problems, 0 warnings`.
- `python scripts/check_large_files.py origin/main...HEAD` and `python
scripts/check_source_language.py origin/main...HEAD` -> exit 0 each.
- `pre-commit run --from-ref origin/main --to-ref HEAD` -> trailing
whitespace, end of files, large files, merge conflicts and private key
passed; every other hook had no files to check.
- Copy button, checked in headless Chromium at 1440x900 on this branch's
blob view of both READMEs: the block carries GitHub's `clipboard-copy`
button, the button shows on hover, and one click puts exactly the
committed prompt on the clipboard (129 characters in README.md, 91 in
README.zh-CN.md, no newline). The clipboard held a different string
before the click, so a click that copied nothing would have failed.
- Both pages the prompts name return 200 and carry the Update Raven
section: https://evermind-ai.github.io/Raven/quick-start/ and
https://evermind-ai.github.io/Raven/zh/quick-start/
- The `#-quick-start` and `#-install` anchors are unchanged; the new
heading adds `#-install-with-your-agent`.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
User-visible change: one new subsection at the top of Quick Start in
both READMEs; nothing else in either file moves. The prompt asks an
agent to read the project's documentation page and run the installer
that page names, which is the same trust the README's own `curl ... |
bash` line already asks of a reader. No existing anchor or link changes.
Rollback is reverting this commit.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
Co-authored-by: Claude (claude-opus-5-5[1m]) <noreply@anthropic.com>
## Summary
Two changes to README.md and README.zh-CN.md, one commit each.
**Recompress the images that were over 400 KB.** Seventeen images in the
two READMEs were over 400 KB, 35.97 MB between them. Each one now points
at a recompressed copy, so this commit is confined to asset ids: 33
swaps per file, and every image gets the same new id in both files. The
two language-specific workflow images at the top of each README were
already under 400 KB and are untouched.
How each kind of image was re-encoded:
- Flat-color charts, dashboards, task-graph screenshots and the two
poster-style decks: 256-color PNG (pngquant, then oxipng). The
multi-agent orchestration chart, already close to the limit, is a
lossless recompression with identical pixels.
- Photo-like plates (the key-visual series, the GPS explainer, the Greek
and Song-dynasty decks, the top banner and the EverMind ecosystem
banner): JPEG with 4:4:4 chroma. At 4:2:0 the thin colored strokes on
these plates visibly washed out, which a luma-only comparison does not
see.
- An image is downscaled only where it was stored at more than twice the
width GitHub renders it at, and never below twice that width. On the
repository front page at a 1440x900 viewport that width is 838 px for a
full-width image and about 392 px inside the Showcase tables; the file's
blob view is wider, about 479 px per table cell, and the narrowest
downscaled image (1200 px) is still 2.5 times that. The rendered README
loses nothing; opening one of those six images at full size shows fewer
pixels than before.
- The two Showcase GIFs keep every frame and every frame delay,
re-encoded on one global palette whose dominant flat colors match the
original exactly. Limit-load goes from 4.43 MB to 1.81 MB at full size.
Dam-break goes from 8.93 MB to 4.04 MB, also at full size and
deliberately above 2 MB: every variant under 2 MB either dropped the
faint free-surface detail the entry is about or halved the frame rate of
the motion.
The seventeen images go from 35.97 MB to 11.15 MB, and every still image
in both READMEs is now under 400 KB.
The new files are uploaded as new comments on the threads that already
hosted the originals: #505 (twelve Showcase assets), #126 (banner), #530
(ecosystem banner and retrieval sweep), #474 (DeepResearch chart) and
#479 (multi-agent orchestration chart). Each item in those comments
names the id it replaces. The old comments are untouched, so the
previous assets stay live for forks, mirrors and caches.
**Lead each Showcase title with what the run produced.** The titles
named a topic ("How pop music is manufactured") without saying what the
run delivered, so a reader could not tell a deck from a poster or a web
page until the image below it loaded. Each title now leads with the
artifact: four presentations ("A presentation about ..."), two posters,
a website, a data analysis on a parameter sweep and two simulations. The
FPS game entry already led with its artifact and keeps its title. The
Chinese titles follow the same pattern without a leading measure word,
and quote the deck cost as about 5.5 yuan rather than 0.80 US dollars;
the English titles keep ~$0.80, and the two agree within that figure's
rounding for any exchange rate between about 6.5 and 7.3. Only the text
inside the ten `<b>` title elements changes in each file.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- Upload integrity: every new asset was downloaded back with a plain GET
(`curl -sL`) and compared by sha256 with the local file, 17 of 17
identical. The GIFs also keep their frame count and every per-frame
delay (228 and 182 frames, compared frame by frame).
- The diff is confined to ids and titles: substituting the old ids and
the old titles back into both files reproduces the `origin/main` copies
of README.md and README.zh-CN.md byte for byte. `git grep -F` for the 17
old ids, and for each old title, finds nothing outside the two READMEs.
- Rendering: `gh api -X POST /markdown` (gfm, repository context) over
the old and the new file gives identical tag counts for both READMEs
(img 41, td 69, table 8, video 1, a 72, b 11, details 1), with all 17
new ids present, none of the old ones left, and the eleven Showcase
titles in the same order in both languages. Every new image keeps its
original aspect ratio within 1 px, so no row changes height. On the
pushed branch, the blob view of each README loaded all 17 new assets in
headless Chrome at 1440x900 (every matching image decoded, naturalWidth
> 0).
- Quality, measured against each original at twice the rendered width:
luma SSIM 0.988 to 1.000 for the stills (lowest the top banner at 0.9878
and the Greek deck at 0.9882), and a per-frame mean of 0.9995
(limit-load) and 0.9967 (dam-break) for the GIFs.
- Gates, run the way CI runs them:
- `commitlint --config commitlint.config.cjs` (the lock-pinned 21.1.0)
on both commits and on the prospective squash header `<title> (#695)`:
pass
- `PYTHONPATH=. python3 scripts/check_commit_messages.py
origin/main..HEAD`: exit 0
- `PYTHONPATH=. python3 scripts/check_pr_title.py` and
`scripts/check_pr_body.py` on this title and body: exit 0
- `PYTHONPATH=. python3 scripts/check_large_files.py origin/main..HEAD`
and `scripts/check_source_language.py origin/main..HEAD`: exit 0
- `pre-commit run --from-ref origin/main --to-ref HEAD`: trailing
whitespace, end of files, large files, merge conflicts and private keys
passed; the other hooks had no files to check
- Tests that read the root READMEs: `python -m pytest -q -n0
"tests/test_cli_onboard_commands.py::test_readme_quickstart_matches_the_installer"
tests/test_docker_runtime.py`: 10 passed.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
The uploaded files are recompressed copies of images that were already
public in the README, and they carry no metadata beyond what the format
needs: the PNGs hold only IHDR, PLTE, IDAT and IEND, the JPEGs only
their JFIF header (no EXIF), and the GIFs only the loop extension. The
README markup is unchanged apart from the ids and the title text, and
the old assets stay hosted, so a fork or mirror still pointing at them
keeps working. The titles are bold table text, not headings, so no
anchor or link points at them. Rollback is reverting this commit.
User-visible changes: the README downloads about 25 MB less; six images
are JPEG instead of PNG; six images show fewer pixels when opened at
full size, while the rendered README is unaffected; the two GIFs look
the same apart from palette rounding (per-frame SSIM above); ten
Showcase titles now name what each run produced.
## Related Issues
#505, #126, #530, #474, #479 (the threads hosting the assets; nothing to
close)
---------
Co-authored-by: Claude (claude-opus-5-5[1m]) <noreply@anthropic.com>
## Summary
Refresh the Launch WebUI screenshots in both README files after the
frontend update. The final English and Chinese figures show a blank New
task page and a blank Agent Hub without conversation rows or user
workspace content, then frame each capture with rounded corners and a
soft floating shadow to match the existing README image treatment. The
earlier README wording updates remain synchronized across both
languages.
The four polished images are hosted in issue #505 and are not committed
to the repository. The Agent Hub figures use the live local roster and
show the normal browser viewport, with no chat history or personal
workspace content.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
```
uv run pytest tests/test_cli_onboard_commands.py -k readme_quickstart_matches_the_installer -q
1 passed
uv run pytest tests/test_docker_runtime.py -q
9 passed
make check-large-files
exit 0
make check-source-language
exit 0
git diff --check
exit 0
```
The New task figures are RGBA at 1588x1048. The Agent Hub figures are
RGBA at 1588x1748 so the complete 5/10/3 roster fits without clipping.
The New task captures are 1440x900; the Agent Hub captures are
1440x1600. Each uses 24px rounded corners, 34px Gaussian blur, a 16px
downward shadow offset, 30 percent black shadow opacity, 74px
transparent padding, and 4x mask supersampling.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Documentation and hosted screenshot links only. The rollback is a revert
of the screenshot URL commit; the hosted assets can remain available in
issue #505.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
#505
## Summary
The showcase named the artifact type rather than the run, so a reader
scanning the
section learned the format and not the work. This retitles four entries
and adds two.
Retitled:
| entry | before | after |
|---|---|---|
| game | An FPS game, picked, built and judged | An FPS boss arena game,
built in Godot 4 |
| frameworks | Six orchestration frameworks, compared | Six
agent-orchestration frameworks, compared |
| posters | A light-pollution poster campaign | How light pollution
steals wildlife sleep |
| explainer | An interactive explainer and its solver | Why GPS needs a
fourth satellite |
Added as the last two entries, closing the section:
- A beam's limit load, found by bisection. A CalculiX cantilever is
driven to its
plastic limit, and eight rounds of bisection narrow the bracket from
1800-2000 kN
down to 3.125 kN, or 0.16 percent.
- A dam break, tuned until the water stays bounded. Seven rounds tune
the solver
until the water fraction stays inside [0,1]; the out-of-bounds excursion
falls from
1e0 to 1.36e-10 once the MULES correction is switched off.
Both new entries carry the same task graph shape: Raven-Research into
Raven-Code into
Raven-Oncall, run in sequence, 3 of 3 done.
Sign-offs taken before publishing:
- [x] Every title, English and Chinese, is the owner's own final
wording.
- [x] The dam-break title states the objective the run drives down, the
water fraction
staying inside [0,1], which is what the footage's own metric panel
tracks.
- [x] The dam-break recording was re-rendered to drop a Chinese
parameter label so
both READMEs can share it; its frames were re-read round by round to
confirm.
- [x] The two recordings render at 90 percent width and their task
graphs at 100.
Only the recordings are portrait, 720x1260 against the 2270x400 of the
bars
beside them, so only they gain height back from a narrower box.
- [x] The comparison-board alt text still reads "six orchestration
frameworks" while
its title now reads "agent-orchestration". That is deliberate: the alt
describes
what the image shows, and the board's own wording did not change.
Assets: the four new files, two run recordings and two task graphs, are
hosted on the
asset issue and referenced by URL, because the repository bans image
files by
extension at any size. Each was checked byte for byte against its local
source after
upload.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Scoped with three dots throughout. `git diff origin/main...HEAD` is two
files, 38
insertions and 8 deletions, and `git rev-list --left-right --count
origin/main...HEAD`
is `0 3` after a rebase onto the current base.
- `uv run --frozen --all-extras pytest
tests/test_cli_onboard_commands.py tests/test_docker_runtime.py
tests/test_living_docs.py -q` gave 346 passed. Those are the tests that
read the root READMEs.
- `make lint check-commits check-large-files check-source-language` all
exit 0 at the rebased head.
- Rendered both files through the GitHub markdown API. Each returns one
video player, 41 images, 69 cells, zero empty cells and eleven bold
titles, and the eleven come back in the same order in both languages,
with the two new entries last.
- Both READMEs carry the same four new asset URLs. The only per-language
assets are the three that were already language-specific before this
branch.
- Grepped the whole tracked tree, with no path filter and no extension
filter, for the four retired titles in both languages: zero hits outside
these two files.
- Checked the added lines against every retired term in the repository's
`_Avoid_` entries. One term matched, `run`, which that entry retires as
a TUI transcript construct; the same phrase, `run in sequence`, is
already on `origin/main` in this exact alt-text position.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Text and image references on two README files. No code path, no schema,
and nothing
links to a title. The section grows by one table, so the page is longer
and pulls two
more assets, the larger of which is 8.5 MB.
Rollback is a revert of the three commits.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
505 hosts the four assets this adds. Nothing is closed by this PR.
---------
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
The parameter sweep case shipped a two-panel matplotlib plot. The same
run
also produced a dashboard, and it carries what the plot could only
assert:
the sixteen measured cells as a grid with recall and latency in each,
the
best cell ringed at top_k 10 and chunk_size 1024, and a footnote naming
the
single warm-up sample behind the 256/top_k=3 outlier. This swaps the
plot
for the dashboard and rewrites the alt text to describe that grid rather
than the two lines.
**Language.** The dashboard was authored in Chinese. Both front pages
share
one image set, and the comparison board beside this cell is already
English,
as is the alt text on both pages, so what lands is an English render
built
the same way that board was. The Chinese original is left untouched on
disk
and nothing in the repository refers to it.
**Widths.** The new render is 2000x1568 against the board's 2000x1547,
so
the two sit almost exactly on one aspect. The board goes back to full
width
and the dashboard takes 99 percent; the board only needed 86 percent
against
the old plot's 2000x1332.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
```
git diff --check origin/main...HEAD
clean
COMMIT_RANGE=origin/main...HEAD make check-large-files
exit 0
PYTHONPATH=. uv run --frozen --python 3.12 --extra dev python scripts/check_source_language.py origin/main...HEAD
exit 0
make check-commits
exit 0
PR_TITLE="docs: replace the sweep chart with the run's dashboard" make check-pr-title
exit 0
git merge-tree --write-tree HEAD origin/main
clean
```
The attachment was fetched anonymously before it was referenced: HTTP
200,
2000x1568, md5 fcd434b3000cbcda9339e98c22bf974b, matching the local
render
byte for byte.
Rendered the section through GitHub's markdown endpoint under the
published
markdown stylesheet and measured every image box. All eight pairs share
a
top edge and match within 2px on height; the Frameworks pair is now
379x293
against 375x294, where before this change it was 326x252 against
375x294.
Both front pages were compared after the edit: each carries the
identical
set of attachment ids, and neither still references the old plot.
No test suite is relevant to a change that edits two markdown files. The
python lint job was not run locally for the same reason; CI runs it on
the
head.
- [ ] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Documentation only, in both READMEs. One attachment reference is
replaced
and one width attribute is restored; no file is committed to the
repository.
The old plot remains reachable at its own attachment URL, so a revert of
the
commit restores it with no other action.
- [ ] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
Follows #555.
Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
## Summary
Refreshes the Raven-Design visual design figure in both READMEs with the
resupplied
Opus-5 evaluation. Raven-Design and Claude Code moved on all three
benchmarks in that
figure; the GPT5.6-Luna rows and the Hermes column carry over unchanged.
| Benchmark (Opus-5) | Raven-Design | Claude Code | Hermes |
| --- | --- | --- | --- |
| ArtifactsBench Dashboard | 64.4 -> 66.3 | 63.6 -> 62.8 | 64.4
(unchanged) |
| ArtifactsBench SVG | 83.5 -> 86.2 | 82.7 -> 83.4 | 83.0 (unchanged) |
| GDPVal | 89.4 -> 91.9 | 88.7 -> 89.2 | 89.1 (unchanged) |
Two consequences of the update are worth naming, because they change
what the figure
shows rather than only the bar lengths. Raven-Design now leads Hermes on
all three
benchmarks, where ArtifactsBench Dashboard was previously a tie at 64.4.
And Claude Code
now leads Hermes on ArtifactsBench SVG and GDPVal while trailing it on
ArtifactsBench
Dashboard, having previously trailed on all three.
The chart was re-rendered with the same renderer, the same palette and
the same layout as
the figure it replaces, so only the six Opus-5 bars and their value
labels differ. The
asset is hosted as a comment attachment on #477, per the repository rule
that image files
are not committed. Both READMEs reference the same asset, so the diff is
one URL swap per
file; the alt text, the anchor, the width and the caption are untouched.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Chart data, before rendering:
- Built the eighteen expected plotted values by hand from the supplied
numbers, then
asserted the renderer's readout equal to them. Diffed against the
previous value set:
exactly six cells differ, all of them Opus-5 Raven-Design or Claude
Code.
- The renderer's own guards passed: `18 values verified; no overlapping
labels`, plus its
assertions that no text escapes the 2000px canvas and that the output is
2000px wide on
a white background.
Uploaded asset, after rendering:
- `curl -sL <asset-url> | sha256sum` against the local render:
identical, 141368 bytes,
`e175bc24e7d6208ab26d2aaaab213431585398c0de9705f058dfd4092023924f`.
Checked with GET,
not HEAD, because user-attachments answers HEAD with 403.
- `POST /markdown` on the changed line returns both `href` and `src`
pointing at the new
asset.
Repository state:
- Asserted the retired asset id occurred exactly twice per README
(anchor plus image)
before replacing, and zero times after. `git grep` over the whole
tracked tree finds no
remaining reference to it.
- `git grep` for the six retired score values across every markdown,
text and YAML file:
no hits, so no prose quoted the numbers the figure carries.
- `uv run --frozen --all-extras pytest tests/test_living_docs.py
tests/test_docs_site.py`:
18 passed. `tests/test_cli_onboard_commands.py -k readme`: 1 passed.
These are the tests
that read the repository-root READMEs.
- `make check-large-files`, `make check-source-language`,
`scripts/check_commit_messages.py origin/main..HEAD`: all exit 0.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
User-visible change is the Raven-Design visual design figure in the
English and Chinese
READMEs. No code, no configuration and no dependency is touched, so
there is no runtime
behaviour change and nothing to be backward incompatible with.
Rollback is a one-line revert per README: the retired asset
`061b5818-595b-4392-b9b6-53a1effb8347` stays hosted on #477 and keeps
serving, because
replacing a README reference does not delete the attachment it pointed
at.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
#477
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
The four Launch WebUI figures were flat rectangles butted against the
page.
They now carry a 24px corner radius and a soft drop shadow, so each
reads as a
window floating on the page rather than a slab of pixels pasted into it.
- The capture is untouched. The same 1440x900 content sits inside a
1588x1048
frame; the extra 74px on each side is the room the blur needs, and
nothing in
the interface was re-shot.
- The canvas is RGBA. Both the rounded corners and the shadow are
transparent,
so GitHub composites them correctly on the light theme and on the dark
one.
On the dark theme a black shadow against `#0d1117` is nearly invisible
by
construction, and only the rounding reads; a tinted shadow would fix
that and
would look dirty in the light theme, so the shadow stays neutral.
- `width` stays at 90 percent. Because the padding is inside the image,
the
interface itself now renders about nine percent smaller than before.
That is
the space the shadow needs to read as depth, so it is kept rather than
compensated for.
- Both language pairs are replaced: English in `README.md`, Chinese in
`README.zh-CN.md`.
The corner mask is drawn at 4x and resampled down, because PIL's
`rounded_rectangle` is aliased at 1x and leaves a visible stair-step on
a
1440px edge.
Shadow parameters, for anyone reproducing them: radius 24, Gaussian blur
34,
offset 16 down, 30 percent black.
Assets are hosted as a comment on issue #505 rather than committed, per
the
repository asset rule.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
```
.venv/bin/python -m pytest tests/test_scope_canon.py tests/test_docs_site.py \
tests/test_docker_runtime.py -q -p no:randomly
-> 27 passed
make check-large-files -> exit 0
make check-source-language -> exit 0
make check-commits -> exit 0
```
The gates were run over a committed range, not an empty diff.
Each uploaded asset was fetched back with a GET and compared by sha256
against
the local render; all four are byte identical. A HEAD request is not a
valid
check here, because user-attachments URLs answer 403 to HEAD and 200 to
GET.
Both README sections were rendered through the GitHub markdown API,
which
confirms each file now references its own language's new asset and that
the alt
text survived. The rounding and the shadow were inspected at 1:1 on a
white and
on a `#0d1117` backdrop before upload, to confirm the corner is clean
and the
edge carries no light fringe on the dark theme.
The diff is four URLs, each appearing twice as the link target and the
image
source. Alt text, captions, width and layout are unchanged, and no stale
asset
id survives in either file.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Presentation only. Both READMEs render the same four captures with
rounded
corners, a shadow, and slightly smaller interface content. No code, no
build
output, no behaviour change.
Rollback is a revert of the single commit; the previous assets are still
live
on issue #505, so the old figures would come back intact.
Backward compatibility is not applicable: no interface, config key or
stored
value changes.
- [x] Security impact considered
- [ ] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
#505
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
Two commits. The first fills the Launch WebUI section of both READMEs,
which
carried three `Screenshot placeholder` lines and no images, with two
figures
each: the new task page and the subagents page. The second lands the
Raven mark
those figures show.
On the figures:
- Two, not three. The third placeholder asked for a task graph, which
cannot be
captured from stored data: the web DAG panel is driven by live `dag.*`
events
and its disk restore is gated on a localStorage note that only a live
event
writes, so showing one would have required a real `run_subagent_dag`
turn.
That slot is dropped rather than filled with something its caption does
not
match.
- They come from an isolated instance with its own `RAVEN_HOME` and an
empty
session store, so no conversation titles, memory entries or workspace
file
names appear. The A2A block was removed from its config, and the config
carries no channels and no cron, so the throwaway instance had no
outward
side effects. Its home, which held a copy of real provider keys, was
deleted
after the run.
- Each README gets its own language, captured with `language` set to
`en` and
to `zh`. Following the convention already in these files, `alt` text
stays
English in both while the caption follows the prose language.
On the mark:
- The new file is a dark bird on an antique-gold halo. Against the dark
theme's
surface that ink measures 1.07:1, and no tone filter can lift it because
it is
not one colour to invert, so it carries an opaque plate rather than the
`prefers-color-scheme` rule the previous file used. Ink against plate
measures
18.29:1 on both themes.
- The plate is a card, so the mark fills its frame the way
`miromind.svg`
already does. Keyed by file rather than by `data-agent`, which carries
the
preset and raven's own rows have none.
- The halo stroke goes from 1.6 to 3.2. Against a 64 unit canvas the old
width
lands under one device pixel at the two smaller slots the mark renders
in,
0.45 at 18px and 0.65 at 26px, so the ring washed out wherever the
roster
draws it.
Reviewer note: the figures were captured before the stroke went to 3.2,
so the
halo in them is thinner than what this branch now renders. Everything
else in
them is current. Re-capturing would mean a second upload for a
difference of
half a device pixel, so they are left as they are.
Assets are hosted as a comment on issue #505 rather than committed, per
the
repository asset rule.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
```
.venv/bin/python -m pytest tests/test_ui_agent_marks.py -q -p no:randomly
-> 7 passed
.venv/bin/python -m pytest tests/test_scope_canon.py tests/test_docs_site.py \
tests/test_docker_runtime.py -q -p no:randomly
-> 27 passed
npx --prefix ui-web vitest run --root ui-web \
scripts/agent-mark-css.test.mjs src/shell/agent-mark.test.tsx
-> 2 files, 18 passed
make check-large-files -> exit 0
make check-source-language -> exit 0
make check-commits -> exit 0
```
The gates were run over a committed range rather than an empty diff, and
the
mark suite was re-run afterwards because `make check-commits` can
rebuild the
virtualenv under it.
The mark change was rendered and measured rather than eyeballed: at
1440px the
mark is 28px, and the two candidate files differ only in a sub-pixel
halo and a
plate that is near the tile colour in the light theme, so the two are
not
visually separable at full size. The renders were compared by pixel
signature
against standalone renders of each file.
Every uploaded asset was fetched back with a GET and compared by sha256
against
the local render; all four are byte identical. A HEAD request is not a
valid
check here, because user-attachments URLs answer 403 to HEAD and 200 to
GET.
Both README sections were rendered through the GitHub markdown API to
confirm
the figures resolve, the alt text survives and each file references the
assets
for its own language.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Two user-visible changes. Both READMEs render two figures in Launch
WebUI where
three placeholder lines used to be. The Raven mark in the subagents
roster and
in every other slot it draws in is a different image, larger in its
frame, and
no longer answers the theme from inside its own file.
Rollback is a revert of either commit independently; they touch disjoint
files.
The hosted assets can stay either way.
Backward compatibility is not applicable: no interface, config key or
stored
value changes.
- [x] Security impact considered
- [ ] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
#505
---------
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
Rebuilds the Showcase layout in both READMEs, and replaces one image.
**Why the old layout did not hold.** The section had grown to nine cases
across three tables of mixed shape. A heading that wrapped to two lines
pushed its column's images down. Paired task graphs of unequal height
left
the artifacts below them starting at different heights. And GitHub's
stylesheet stripes every second row while a case spanned three, so the
pattern drifted until some headings sat on white and others on the grey.
**What it is now.** Each case spans three rows - heading, task graph,
artifact - so cells in a row share a top edge and a long heading cannot
cascade into the images. Each pair gets its own table, which restarts
the
stripe and puts the usual gap between pairs. The game run keeps the
opening
slot and now takes the full width instead of leaving half a row empty.
Image widths are set per pair so both sides render to one height, and
the
narrower image is centred. The divider sentence that separated the old
tables is gone, since the headings already say it.
**A new comparison board.** The Frameworks artifact is replaced with a
redrawn plate: each framework carries its vendor mark, and the
orchestration style became a three-way tag - explicit graph or canvas,
declared task flow, dynamic at runtime - where the old plate split the
six
in two. Its alt text said "versus" and named two categories; it names
three
now. The render is 2000x1547 against the old 2000x1332, so its width is
set
to 86 percent to stay level with the sweep chart beside it.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- `make check-large-files` -> exit 0
- `make check-source-language` -> exit 0
- The replacement board was fetched anonymously from its attachment URL:
HTTP 200, 2000x1547, and its md5 matched the local source file byte for
byte.
- Rendered the section through GitHub's own markdown endpoint under the
published markdown stylesheet and read back the computed row
backgrounds.
All five heading rows now report one background; before the split they
reported two.
- Measured every image box in that render. All four pairs match on top
edge,
and within 2px on height:
| pair | left | right |
| --- | --- | --- |
| Song / Greece | 379x129 and 379x718 | 379x129 and 379x718 |
| Pop / Abstract | 379x127 and 379x713 | 371x127 and 379x713 |
| Frameworks / Sweep | 379x126 and 326x252 | 379x126 and 379x252 |
| Poster / Explainer | 314x131 and 379x348 | 379x131 and 367x347 |
- Confirmed against the repository-rendered README that the game run's
bare
attachment URL is served as a video player, and kept it on its own
paragraph inside the cell so it still is.
- [ ] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Documentation only, in both READMEs. One of the seventeen attachments is
replaced, with its alt text rewritten to match the new plate's three-way
legend; the rest are untouched, and no file is committed to the
repository.
Rollback is reverting the commit.
- [ ] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
Follows #547 and #557.
Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
## Summary
Open the Showcase with a Raven-Code run that picked, built and judged an
FPS
game over 42 rounds, and give README.zh-CN.md the Showcase section it
never had.
The entry sits in its own table above the existing ones: the left cell
carries
the run's task graph and a 30s clip of the result, and the right cell is
left
empty for a second sample. It is a separate table rather than a row in
the deck
grid, because a playable game is not a deck and an empty cell inside
that grid
would read as a broken row.
The clip is a GitHub attachment referenced by a bare URL on its own
line. That
is the only form that renders a player: a video element is removed by
the
markdown sanitizer, which was confirmed by rendering both forms through
the
markdown API before writing either one. The same rendering also shows
that the
player header displays the name the file carried at upload, so the clip
was
re-uploaded under its intended name rather than left under a working
name.
README.zh-CN.md previously had eight sections against the English nine,
and the
missing one was Showcase. Rather than hand-copying it, the section was
derived
from the English one and its entry titles translated, so the two files
stay
structurally aligned; alt text is left in English, matching every other
alt
attribute in that file. Both files now render the same structure: one
player,
seventeen images, fourteen cells, one empty cell.
The section's opening sentence is reworded in both files while the
section is
being touched: it now says Raven generates the orchestration rather than
chooses it, and the Chinese copy names the panel as the multi-agent
orchestration graph.
Checked and deliberately not changed:
- The task-graph alt text describes three nodes running "across 42 game
rounds".
The panel actually shows round 42 of a capped loop, with those three
nodes
being that one round's pick, do and judge steps, so the wording is
loose. The
author chose to keep it; it is recorded here rather than silently
altered.
- The first upload of the clip is still attached to its hosting issue
under the
earlier filename. Nothing references it, and attachments are not
removable
once posted, so it stays as upload history.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Rendering, through GitHub's own markdown API rather than by eye, on the
exact
section text of each file:
gh api -X POST /markdown --input - # mode gfm, repo context
Both files returned one video element, seventeen images, fourteen cells
and one
empty cell, with the player header reading the intended filename and the
first
entry title reading as intended in each language.
Byte equality of every uploaded asset against its local source, fetched
back
over HTTP:
curl -sL <asset-url> | sha256sum
All matched. A HEAD request is not usable here: the attachment host
answers HEAD
with 403, which reads as a failed upload.
Tests that actually read these two files, found by grepping for them
rather than
assumed absent:
uv run --frozen --all-extras pytest tests/test_cli_onboard_commands.py
tests/test_docker_runtime.py -q
344 passed
Repository gates:
make check-commits check-large-files check-source-language
All passed. The two file gates were also run against a bare revision,
which
compares the working tree, because a commit-range form reports nothing
while an
edit is still uncommitted.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
No test asserts anything about Showcase content, asset URLs or section
parity
between the two READMEs. The 344 above cover one heading lookup and one
whole-file read; nothing would fail if an entry were malformed. The
rendering
check above is what stands in for that, and it is manual.
## Risk
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
Documentation only; nothing executable changes. The assets are public
attachments on a repository that is already public and carry no
credential or
private detail. The clip is 53 MB, so the Showcase section is heavier to
load
than before, and the player appears only in the rendered file view: the
diff and
compare views show the bare URL as text. Rollback is a revert of these
commits;
the assets stay hosted either way.
## Related Issues
N/A
---------
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
Adds a second row to the Showcase's non-deck table, bringing the design
engine's two output modes into the section: a poster campaign and an
interactive page.
**Light-pollution poster campaign.** The first case whose graph takes an
edge from the code side. Three Raven-Research nodes and a
plate-generation
node run in parallel; a Raven-Code node computes the sky-brightness
panel
from the research findings; a Raven-Design node composes the key visual
and
the street, data-panel, social and banner cuts off one master plate,
with
every headline and statistic set as live type rather than baked into the
generated pixels. The artifact image is the key visual over the four
derived formats.
**Interactive GPS explainer.** Two Raven-Code nodes write a
trilateration
solver and an independent oracle in parallel, a Raven-Oncall node
cross-checks them, and a Raven-Design node builds the page on a
generated
orbital plate. The artifact image is the live page above the fix at two,
three and four satellites, which is what shows the geometry is computed
rather than drawn.
Both images are hosted as GitHub user-attachments and referenced by URL.
Nothing is committed to the repository, per the repository-assets rule.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- `make check-large-files` -> exit 0
- `make check-source-language` -> exit 0
- All four attachment URLs fetched anonymously with curl: HTTP 200, and
each one's md5 compared against its local source file to confirm the
right image sits behind the right URL.
- [ ] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
README-only change. The two new cells add four remote images to the
page;
if an attachment URL ever stops resolving the cell degrades to alt text.
Rollback is reverting the commit.
- [ ] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
Follows #517 and #520.
---------
Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
## Summary
Refresh the overview figure at the top of the What is Raven section in
both
READMEs with re-rendered versions. The diagram is unchanged in subject:
one
prompt entering Raven, fanning out across the built-in agents and two
external
agents, and converging on a single delivered result.
The image files are not committed. AGENTS.md section 7 rejects an added
image by
extension at any size, so each figure is uploaded as a GitHub attachment
and
referenced from the README by absolute URL. The new pair is hosted on
the same
thread that already hosts the pair it replaces, so this figure keeps one
provenance trail. The superseded assets stay reachable, so any fork,
mirror or
cache of the old text still resolves them.
This slot is language-specific: README.md and README.zh-CN.md carry
different
asset ids here, unlike the benchmark charts, which share one id across
both
files. Each file therefore takes its own image.
Checked and deliberately left unchanged: the alt text and the caption
under each
figure. Both still describe the new render, and the English caption's
"generates
DAGs and orchestrates multiple specialized agents" is if anything a
closer fit to
the branching the diagram shows.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Byte equality of each uploaded asset against its local render, fetched
back over
HTTP:
curl -sL <asset-url> | sha256sum
Both matched their source exactly. A HEAD request is not sufficient
here: the
attachment host answers HEAD with 403, which reads as a failed upload.
Repository gates, run on the committed range:
make check-commits check-large-files check-source-language
All passed. The two file gates were re-run with a three-dot range and
agreed. The
base had not moved under the branch: git rev-list --left-right --count
reported
zero commits on the left.
Stale-reference sweep for every superseded asset id, over all tracked
files:
git grep -n -e <old-id>
No hits. The two READMEs are the only carriers of these assets; no page
under
docs-site or docs references them, and no test pins them.
- [ ] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
No test covers the README figures, so no suite was run for this change.
tests/test_living_docs.py globs raven/**/README.md and ui-tui/README.md,
and does
not reach the root READMEs.
## Risk
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
The user-visible change is the rendered figure at the top of both
READMEs.
Nothing executable changes. The assets are public attachments on a
repository
that is already public and carry no credential or private detail, so no
surface
is widened. Rollback is a revert of this commit; the previously
referenced assets
remain hosted and resolve as before.
## Related Issues
N/A
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
A presentation pass over both READMEs. No prose was rewritten and no
benchmark
number changed; all four changes are about how the Built-in Agents and
EverMind
Ecosystem sections read.
1. The four agent subheadings (Raven-Research, Raven-Code, Raven-Design,
Raven-Oncall) now carry a single chevron, one step lighter than the
double
chevron the section headings already use. That gives depth by weight
without
introducing a second symbol family.
2. The six Raven-Code, Raven-Design and Raven-Oncall benchmark charts
render at
95% of the line instead of full width. Both READMEs reference the same
six
assets, so the width is set in each file or the two language pages
disagree
about the same picture.
3. The EverMind Ecosystem section now opens with a brand banner, cropped
to
2172x511 (4.25:1) from the 3.00:1 original. The empty field above and
below
the orbital composition is gone and the remaining margin is equal on
both
sides, which the original was not. The composition itself is untouched.
4. The two Raven-Oncall captions state the result their chart shows
rather than
naming the comparison.
Checked and deliberately not changed:
- The two Raven-Oncall charts label the same model differently:
DS-V4.1-Flash
on AI4AI, DS-V4-Flash on AI4S. Pre-existing, and correcting it means
regenerating a chart rather than editing text.
- The Raven-Research chart keeps its full width, and is now the only
chart in
that section which does.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Gates, each against a non-empty branch range:
make check-large-files exit 0
make check-source-language exit 0
scripts/check_commit_messages.py exit 0
Tests:
uv run --frozen --all-extras pytest tests/test_living_docs.py \
tests/test_scope_canon.py tests/test_commit_lint.py -q
15 passed
Assets: for each uploaded image the published URL was fetched with GET
and its
sha256 compared against the local file. Both matched. HEAD is not usable
for
this check, because user-attachments answers 403 to it whether or not
the
upload succeeded.
Greps:
- The superseded banner asset id has zero occurrences repo-wide.
- The four agent heading anchors have zero references in either README,
in the
documentation site, or in the workflows, so the slug change the chevron
prefix causes breaks nothing that links to them.
- [ ] Relevant tests pass locally
- [ ] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
The first two boxes are blank on purpose. No test reads the two root
READMEs:
test_living_docs globs the package READMEs, test_scope_canon reads a
documentation-site page, and test_external_consumer_surface reads a
different
README. The three suites above ran because they are the nearest
documentation
guards, not because they cover this change. Repository lint does not
cover
Markdown.
## Risk
User-visible: the four agent subheadings gain a symbol, so their
generated
anchors change; six charts render slightly narrower; the ecosystem
section
gains a banner; two captions assert a result. Nothing outside the two
README
files changes.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
Security: no credential, endpoint or permission is touched. The uploaded
image
is a brand banner, public by intent.
Backward compatibility: the heading anchors are the one break. Nothing
in the
repository links to them, but an external bookmark to one of the four
would
stop resolving.
Rollback: revert the commit. Images are attachments rather than
committed
files, and superseded assets stay published, so any link already shared
keeps
resolving.
## Related Issues
#530 hosts the ecosystem banner assets and stays open for that purpose.
---------
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
Both READMEs point at a re-rendered hero banner on line 3. The
composition and the
1536x656 geometry are unchanged; the tagline rule now sets its
ampersands in italic so
they match the italic words on either side.
The image is not committed. `scripts/check_large_files.py` rejects an
added `.png` by
extension at any size, so the asset is hosted as a GitHub attachment and
the README
references it by absolute URL. It was uploaded as a new comment on the
existing banner
issue rather than by editing the old one, whose URL is still live in the
published
README and in every fork and cache of it.
The banner UUID is shared between the English and the Chinese README, so
one replaced
image is two edits carrying the same new URL. The workflow figure
further down is the
language-specific one, and it is untouched.
Checked and deliberately not changed: line 3 uses plain Markdown image
syntax rather
than the anchor-wrapped `<img width="100%">` shape the benchmark figures
use. That is
the shape the banner already had, and converting it is a separate
decision from
swapping the asset.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- `git grep` for the previous asset UUID across all tracked files
returns 0 hits after
the change; before it, exactly two, both README line 3. Nothing survives
in
`docs-site/`, which carries no copy of the README and no
`user-attachments` URL at
all.
- Byte check of the published asset against the local render: a GET of
the exact URL
as written in the README returns HTTP 200 `image/png` with sha256
`c62a38ab3bf0c8fe82dc194bd8250ee99e324bfdd13242a271f18a8f5c69e107`,
identical to the
file on disk.
- A HEAD probe of that URL returns 403, but so does a HEAD probe of the
previously
published banner, which is live and rendering. The signed storage URL
behind the
redirect refuses HEAD, so GET is the only probe that carries information
here. Noted
because the 403 reads like a failed upload and is not one.
- `make check-large-files check-source-language` -> exit 0.
- `scripts/check_commit_messages.py origin/main..HEAD` -> exit 0.
- No automated test covers this and none was added: no file under
`tests/` references
`user-attachments`, and `tests/test_living_docs.py` globs
`raven/**/README.md` and
`ui-tui/README.md`, not the repository root README. The byte comparison
above is the
verification.
- [ ] Relevant tests pass locally
- [ ] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
The two boxes above are left blank on purpose. No test suite exercises a
README image
URL, and `make lint` covers Python that this diff does not touch. The
checks that do
apply to a Markdown-only diff are the three gates listed above, and all
three pass.
## Risk
One rendered image at the top of the README landing view. No code path,
no
configuration, no dependency, no behaviour change. The artwork carries
only the product
tagline, so there is nothing disclosed by publishing it.
Rollback is a single revert of this commit, which restores the previous
URL. The
previous asset is untouched and still served, so the rollback needs no
re-upload.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
#126 hosts the asset. This PR does not close it.
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
Swaps the sweep chart in the Showcase for an annotated version.
The chart that shipped with #517 was the run's raw matplotlib output:
four
flat lines and four noisy ones, with the finding left for the reader to
infer.
The new one states it in its own panel titles, marks the best cell,
labels the
recall values on the right edge, and carries a footnote saying the
source is
18 rows with duplicate cells averaged. That footnote also explains the
two
points that are means of two runs, which the earlier chart showed
without
comment.
The image is padded to the same aspect as the comparison board beside
it, on
the chart's own white canvas, so the two cells in that table still end
at the
same height. Hosted as a GitHub user attachment, like the rest of the
section.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- `make check-large-files` and `make check-source-language` both pass;
the
change is one line of README markup.
- Confirmed the new attachment returns HTTP 200 to an anonymous request
and
matches its source file by checksum.
- Rendered the section locally at GitHub's 860px README column width to
check
that the two cells in the second table still align.
- [ ] Relevant tests pass locally
- [ ] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
No tests or lint were run: this change touches README markup only.
## Risk
- [ ] Security impact considered
- [ ] Backward compatibility considered
- [x] Rollback path is clear for risky changes
README-only, with no runtime behaviour change. Rollback is reverting the
commit; the previous image is still a live attachment, so the old chart
can
come back by restoring the one line.
## Related Issues
Follows #517.
Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
## Summary
Five sections leave both READMEs: self-hosting, the command reference,
the
documentation index, the repo layout and the architecture. Each is
already a
page on the documentation site, and a second copy in the README is the
one
that drifts. Quick Start now ends by naming the site, so a reader who
has just
installed Raven is told where the rest lives. English drops 258 lines
and
Chinese 228, and the two stay in step: every section removed and the
pointer
added exist in both.
The repo-layout table went with them, and it was never only prose. It is
the
canonical set of commit scopes: a test held it equal to the packages on
disk
while commitlint computes its enum from that same tree, so the table is
what
keeps the list a reader is sent to and the list the tooling enforces
from
splitting. Removing the section broke both of that test's assertions,
and the
test reads the documentation page now, which carries the same table and
the
same key directories block. It is renamed with the move, because it no
longer
reads a README. AGENTS.md, raven/README.md and two comments in
commitlint.config.cjs name the page as well. The enum commitlint
computes is
unchanged at 71 scopes, because it was always read from the tree rather
than
from the table.
Two things are deliberately left alone. The dated records under
docs/plans and
docs/specs still describe the old location: they record the tree as of
their
date. And the English README keeps a Showcase section the Chinese one
does not
have, which is how they already were.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
The coupling was demonstrated rather than assumed: removing the sections
first
was run against the existing test, which failed with "README.md lost its
'Repo
layout' section" and "Key directories lost its agents/ line". After
repointing,
dropping one table row from the documentation page fails it again with
"package
on disk without a table row: ['acp']", so the guard still bites from its
new
source.
- `uv run pytest tests/test_scope_canon.py tests/test_docs_site.py
tests/test_docker_runtime.py tests/test_living_docs.py
tests/test_external_consumer_surface.py` -> 22 passed
- `uv run pytest` over the eleven other tests that read a README -> 859
passed
- `make lint-python`, `make lint-imports`, `make lint-deps`, `make
lint-types`
-> exit 0, against an environment synced the way CI installs
- `make check-commits`, `make check-source-language`, `make
check-large-files`,
and `pre-commit run --from-ref origin/main --to-ref HEAD` -> exit 0
- `make docs-build` -> built
- `node -e` on commitlint.config.cjs -> 71 scopes, the same set as
before
- the only internal anchors left in either README are `#readme-top`,
whose
target is still there, and no remaining link points into a removed
section
## Risk
User-visible: the README no longer answers self-hosting, the commands,
the
layout or the architecture; it points at the site instead. Anyone who
had
bookmarked a README anchor for one of those sections loses it. The scope
list
AGENTS.md sends a contributor to is now a page rather than a README
section.
Rollback: revert the commit. Nothing outside the repository depends on
the
removed sections, and the site pages they moved to were already
published.
## Related Issues
N/A
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
Adds a Showcase section to the README, between the built-in agents and
the
third-party agent presets. The agent sections above it each carry
benchmark
charts; this one shows what the agents produce together on real work.
Six runs, laid out as two tables of cells. Each cell holds two
screenshots:
the task graph exactly as Raven ran it, and what the run produced. The
first
table is the four runs that end in a slide deck, and all four graphs
show the
same orchestration shape, three research legs in parallel, a node that
reduces
them to a single argument, and one design node, so they read as one
family
rather than four unrelated demos. The second table is two runs that end
in
something else: a comparison board across six orchestration frameworks,
and a
parameter sweep that Raven-Code wrote, Raven-Oncall ran and Raven-Design
plotted.
Everything on display is an output of the run itself, not an
illustration.
The comparison board was re-rendered from its own source in English so
the
section does not mix languages; the one remaining Chinese artifact is
the
Song-dynasty deck, which was asked for in Chinese.
Images are hosted as GitHub user attachments, matching how the existing
README
images are served, so no assets land in the repository.
Two things left out on purpose, each worth its own change: per-deck
download
links, because both larger decks exceed the 25 MiB attachment limit and
need
release assets; and a run whose task graph is not yet captured in
English.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- `make check-large-files` and `make check-source-language` both pass;
the
change adds no files, only README markup.
- Rebased onto f10ac9f11 and re-ran both gates afterwards.
- Rendered the section locally at GitHub's 860px README column width to
check
cell alignment, image scaling and the two-column layout.
- Confirmed all twelve attachments return HTTP 200 to an anonymous
request,
and that each one matches its source file by checksum.
- Paired every graph with its own artifact by content rather than by
file
name, because the source screenshots use two different numbering
schemes.
- [ ] Relevant tests pass locally
- [ ] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
No tests or lint were run: this change touches README markup only.
## Risk
- [ ] Security impact considered
- [ ] Backward compatibility considered
- [x] Rollback path is clear for risky changes
README-only, with no runtime behaviour change. Rollback is reverting the
commits; the twelve images are user attachments, so nothing is left
behind in
the repository.
## Related Issues
N/A
---------
Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
## Summary
The overview says the four built-in agents are "Powered by the **Raven
Evolver** engine". The architecture section of the same file says
`evolver/`
is a separate tool that consumes Raven as a library and that the runtime
does
not import Evolver, and `pyproject.toml` enforces that with an
import-linter
contract literally named "the runtime does not import the evolver". A
reader
gets two incompatible answers to whether Evolver is a runtime engine or
an
external development tool, and the contract settles which one is true.
This was gloryfromca's blocking review finding on #486. The thread was
resolved when that PR merged, but the text was never changed, so the
contradiction is live on `main` today in both language mirrors.
Both mirrors now put Evolver where it actually runs: refining the shared
harness from outside, against benchmarks, developing the agents rather
than
running inside them. That is the reading the review offered for the case
where
the intended claim was that Evolver was used to develop the agents. The
overview also takes the canonical spelling of harness self-evolution
from the
architecture section, as the review asked.
Scope note: only the Evolver relationship changes. The SOTA sentence in
the
same paragraph is untouched - it was not part of the finding, and what
it
should say is a product call rather than a consistency fix.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Prose only: two lines, one per language mirror, no code and no new
files.
- `git diff --stat` -> `README.md | 2 +-`, `README.zh-CN.md | 2 +-`
- The two gates that apply here are satisfied by construction rather
than by a
command: `check-source-language` exempts `*.md` by suffix (AGENTS.md
1.3),
and `check-large-files` sees no added or resized file.
- Read back against the two places the claim has to agree with: the
Evolver
row of the agent table, and the harness self-evolution bullet in the
architecture section. Both mirrors now match both.
- [ ] Relevant tests pass locally
- [ ] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Documentation wording only. No runtime behaviour, no interface, no
build.
Rollback is a plain revert. The claim removed was the one the
import-linter
contract forbids being true, so nothing downstream depends on it.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A. Lands the finding from #486 that was resolved without a change.
Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
## Summary
Stands up a bilingual MkDocs site under `docs-site/`, published to
GitHub Pages
by a workflow that builds on every pull request and deploys only from
`main`.
Fourteen topics ship in English and Chinese: the quick start,
self-hosting,
Docker, the WebUI, the sandbox manual, the runtime architecture, the
command
reference, the repository layout, the developer workflow, the
proactivity design
and reference pair, the self-evolution map and the tracing API.
This pull request is additive. Both READMEs keep their prose and gain
one link
to the site in the header row; trimming them is deliberately a second
pull
request, so the site can be confirmed live before anything depends on
it.
Key decisions:
- **`docs-site/`, not `docs/`.** `docs/README.md` defines `docs/` as
design
notes and dated records, and `docs/plans/` is an archive explicitly not
held
to today's layout. A user manual has the opposite lifecycle.
- **Full bilingual parity**, via the `mkdocs-static-i18n` suffix
structure
(`page.md` beside `page.zh.md`). Parity decays immediately without a
guard, so
a test fails when a page has no twin.
- **Anchors are pinned on the Chinese side.** A CJK heading slugifies to
nothing, so Markdown numbers it `_1`, `_2`, and inserting one heading
renumbers every anchor below it, silently breaking links readers already
hold.
Each Chinese heading therefore states the anchor its English twin gets
for
free: 133 heading anchors, identical across the two languages, none
positional.
- **A left rail, not a top bar.** The header carries the brand, the
search box
and the navigation tree down the left; the table of contents on the
right is
one continuous polyline clipped to the headings currently on screen.
- **No template overrides.** Material customises through
`theme.custom_dir` with
Jinja partials, those partials are `.html`, and
`scripts/check_large_files.py`
holds `.html` in `BLOCKED_ASSET_EXTENSIONS`. The skin is therefore one
stylesheet remapping Material's own custom properties, plus one script
for the
table-of-contents rail. The brand mark is a `data:` URI for the same
reason.
- **An owner-signed `docs-site/` exemption zone** in AGENTS.md section
1.3. The
i18n config carries the Chinese navigation labels, and `mkdocs.yml` is
not
`*.md`, so the blanket suffix exemption does not reach it. A contract
test
holds the AGENTS.md list and `EXEMPT_PREFIXES` equal, so both moved
together.
- **The site never links out to a file it does not host.** Documents
that stay
in the repository are named as plain paths rather than linked, and a
guard
fails a page that links to an external webpage or a repository-relative
path.
Two defects found and closed here rather than after publication. The
Chinese
site rendered an English sidebar: navigation labels live in
`mkdocs.yml`, not in
any page, so comparing the two languages' Markdown finds nothing and
only the
rendered output shows it. And a control could be present, sized,
animated and
answer `querySelector` while being unclickable, because a popup Material
sized
for a top bar landed outside the viewport once the header became a rail.
## Type
- [ ] Fix
- [x] Feature
- [ ] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
All commands run at the pushed head, rebased onto `origin/main`.
```
make check-large-files exit 0
make check-source-language exit 0
make docs-build exit 0, 0 errors
docs-site/site/index.html and docs-site/site/zh/index.html both present
mkdocs_static_i18n: Translated 17 navigation elements to zh
uv run pytest tests/test_docs_site.py tests/test_source_language_check.py \
tests/test_readme_scope_canon.py tests/test_docker_runtime.py \
tests/test_living_docs.py 44 passed
uv run pytest tests/integration/test_docs_site_controls_e2e.py 13 passed
pre-commit run --files <changed files> all hooks pass
git diff --check clean
```
Anchor parity was measured on the built HTML rather than assumed: 14
page pairs,
133 heading anchors compared at h2 through h6, every one identical
between the
two languages and none positional.
The controls are hit-tested rather than queried.
`document.elementFromPoint` at
the exact point a reader clicks must return the control itself, which is
the
only check that catches an off-viewport popup; the language switcher,
the search
panel, the repository link and the table-of-contents rail each pass it.
The brand lockup is measured, not eyeballed. A failing test was written
first
and reported the wordmark sitting 4.00px below the mark's centre line;
it is
0.00px after the fix, and a 4x screenshot puts the residual optical
offset at
0.25px.
Every guard this branch adds was confirmed to fail first. The
brand-class guard
was mutated from both sides in turn: renaming `.em-eyebrow` in the
stylesheet
turned it red, renaming `class="em-standfirst"` in `index.md` turned it
red, and
it is green again with both restored. The anchor guard was shown to
catch both
failure modes, a missing anchor and a wrong one.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
No behaviour change to any shipped code path. Nothing imports
`docs-site/`, the
new Makefile targets are additive, and the only change outside
`docs-site/` and
its tests is one link added to each README's header row.
Rollback is deleting the branch: the site does not exist until Pages is
enabled
with `Source: GitHub Actions`, and every other change is inert without
it.
Disclosed residue, checked and deliberately not changed:
- The README header now links to `https://evermind-ai.github.io/Raven/`,
which
404s until Pages is enabled. It is the same URL the Documentation
section
already carries.
- The `deploy` job is skipped on pull requests by design, so a green
check here
does not prove deployment works. The first real evidence is the `deploy`
job's
own conclusion on the `main` run after merge.
- GitHub Pages is not enabled on this repository. Measured: `GET
/repos/.../pages`
returns 404. Under `Deploy from a branch` the uploaded artifact is
silently
ignored while the workflow still reports success, so the source must be
set to
`GitHub Actions`.
- `tests/integration/` is excluded by `norecursedirs`, so the browser
suite is a
local guard and never runs in CI.
- The self-hosting page's Makefile target, docker path and port claims
are
unguarded. They were equally unguarded in the README they came from, and
the
owner ruled against adding a guard for them.
- The self-evolution SOP and the benchmark contract stay in the
repository and
are named as plain paths from the pages that reference them. The SOP is
a
translation of an upstream project's internal document and carries
redaction
placeholders, which is a publication decision rather than a formatting
one.
- `docs/plans/` still shows the pre-restyle `mkdocs.yml`. CONTEXT.md
defines that
directory as an archive of the tree as it stood, with an explicit rule
against
updating an old plan to match a later change.
- The Chinese pages drop the brand's italic serif accent word. Cormorant
Garamond
carries no CJK glyphs, so it would fall back to another face without any
sign.
- The code font is Material's default Roboto Mono. The brand names four
typefaces and no monospace, so none was invented for it.
## Related Issues
N/A
---------
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
Replace the first image in README.md and README.zh-CN.md with the
updated Raven banner, "One raven, a whole flock of specialists." Both
versions use the same GitHub-hosted attachment.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
- `uv run --frozen --extra dev pytest tests/test_readme_scope_canon.py
-x -q`: 2 passed.
- `uv run --frozen --extra dev pre-commit run --files README.md
README.zh-CN.md`: all applicable hooks passed.
- `git diff --check origin/main...HEAD`: passed.
- `make check-commits check-large-files check-source-language`: passed.
GitHub confirmed the attachment upload. Download timeouts prevented a
complete comparison with the supplied PNG. Browser rendering at desktop
and mobile widths has not been checked.
## Risk
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
This changes the README banner only. The image is hosted as a GitHub
attachment. Reverting the two URL edits restores the previous banner.
## Related Issues
Fixes#126
Co-authored-by: Codex <noreply@openai.com>
## Summary
Update the hosted AI4AI (Nanochat 50M Pretraining) chart reference in
both bilingual READMEs.
- Replace the old image attachment URL in README.md and README.zh-CN.md.
- Use the updated chart with the Bits Per Byte (BPB) label and the Lower
Is Better annotation above the BPB values.
- Keep the chart hosted as a GitHub attachment; no image binary is added
to the repository.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
Commands:
- `git diff --check`
- `UV_NO_SYNC=1 make check-large-files check-source-language
PYTHON_VERSION=.venv/bin/python COMMIT_RANGE=HEAD`
- `UV_NO_SYNC=1 uv run --no-sync pytest tests/test_readme_scope_canon.py
tests/test_cli_onboard_commands.py -k readme_quickstart -q`
- Downloaded attachment SHA-256 matches the local PNG.
## Risk
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
This is a documentation-only URL update. Reverting the commit restores
the previous chart.
## Related Issues
#465
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
Synchronize the Chinese README with the updated English README. The
change aligns the Raven introduction, benchmark captions, built-in agent
copy, third-party agent positioning, and the removal of the obsolete
benchmark summary section.
The change also adds the updated wording for data analysis, PowerPoint
slide generation, and unattended AI4S benchmark captions while
preserving all chart links and remaining bilingual sections.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
Commands run:
- `uv run --no-sync pytest tests/test_readme_scope_canon.py
tests/test_cli_onboard_commands.py -k readme_quickstart -q` (1 passed)
- `uv run --no-sync pytest tests/test_docker_runtime.py -k
container_exposes_no_engine_selector -q` (1 passed)
- `UV_NO_SYNC=1 make check-large-files check-source-language
PYTHON_VERSION=.venv/bin/python COMMIT_RANGE=HEAD` (passed)
- `git diff --check` (passed)
## Risk
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
This is a documentation-only change. Reverting the commit restores the
previous README wording.
## Related Issues
N/A
---------
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
Present Raven's orchestration capabilities and four specialized agents
with benchmark figures, and keep the English and Chinese READMEs
aligned.
- Add the Multi-Agent Orchestration Benchmark at the end of the
introduction. Compare Hermes, Claude Code, and Raven with shared 0-1
scales for Node F1, Edge F1, Partial Order Accuracy, and Exact Match
Rate.
- Move Raven Agents before Benchmarks and add concise Research, Code,
Design, and Oncall descriptions with their figures.
- Replace the third-party agent table with a centered card image and
explain how Raven connects to and orchestrates these agents. Host image
files as GitHub attachments.
- Standardize primary heading markers and align section order, captions,
model settings paths, and the EverMind ecosystem catalog across both
languages.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Commands run after rebasing onto the latest main:
```text
uv run --no-sync pytest tests/test_readme_scope_canon.py tests/test_living_docs.py -q -o addopts=''
# 4 passed
uv run --no-sync pre-commit run --files README.md README.zh-CN.md
# All applicable checks passed
make check-large-files
# Passed
make check-source-language
# Passed
env PYTHONPATH=. uv run --no-sync python scripts/check_commit_messages.py origin/main..HEAD
# Passed
git diff --check
# Passed
```
Compared all 27 headings, 12 code blocks, image URLs and sizing,
commands, paths, numeric values, and architecture graph structure across
both languages. Verified all 24 orchestration scores against the
supplied results and confirmed that the uploaded chart matches the local
PNG byte for byte.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
This changes documentation structure, wording, and linked figures.
Runtime behavior is unchanged. Figures depend on GitHub attachment
availability. Roll back by reverting the changes to README.md and
README.zh-CN.md.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
#462, #465, #474, #477, #479
---------
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Claude (claude-opus-5[1m]) <noreply@anthropic.com>
## Summary
The installers stop telling you what to run and run it. `install.sh`
ends with
`raven web --stop && raven web --foreground`, so a finished install is
the page
open in a browser rather than a hint to go and type something; first-run
setup
is walked through by the page's own onboarding. The capability summary,
the
upgrade-versus-first-run wording and the config.json probe that fed it
go with
it. `install.ps1` mirrors all of this, with one deliberate divergence: a
non-zero page exit only warns there, because under `irm | iex` that is
the
reader's own interactive PowerShell and Ctrl-C, the ordinary way to end
a
foreground page, returns non-zero.
Two gaps that only bite a source install are closed on the way:
- `build_web_assets` compares each artifact against its sources instead
of only
testing that it exists. An editable install relinks Python and nothing
else,
so `ui-tui/dist/entry.js` and `ui-web/dist/index.html` kept serving
whatever
the tree held at first install while every `.py` beside them moved on.
The
page watches `i18n/` too, since `ui-web/build.py` inlines the catalogue.
`node_modules`, `dist` and `.modern` are pruned: `npm ci` rewrites the
first
on every build, and the other two hold the artifact being judged.
- A node packaged without npm now fetches a private runtime that carries
one.
Debian and Ubuntu split the two packages, so a system node >= 22
satisfied
`ensure_node` and the build then found no npm with no private runtime
ever
provisioned. The download body is split out as `provision_private_node`
and
called from the build probe as well, subshelled so a failure there is a
skipped build rather than a failed install. It stays lazy rather than
moving
into `ensure_node`, so a wheel install that never runs npm does not pay
for a
50 MB download it has no use for.
Both READMEs are reordered and the clone install is documented under
Quick
Start, where it was missing: `./install.sh` and a piped run do different
things
from inside a checkout, because local mode requires `$0` to be a real
file, and
`RAVEN_LOCAL_SRC` is the opt-out. The Chinese README also picks up the
EverMind
ecosystem table the English one had already moved to.
One test changed rather than being deleted.
`test_readme_quickstart_matches_the_installer_hint`
required an `Onboard and run` heading in both READMEs; the installers no
longer
close with a first-run hint and neither README carries that section, so
the pin
had no subject left. It is repointed at what the two must still agree
on, which
is the clone install.
`install.ps1` has not been parsed or executed. There is no pwsh on the
machine
this was written on and no PowerShell step in CI, so every Windows
change here
is reviewed by eye and pinned by text tripwires only. A real Windows run
before
release would be worth it.
## Type
- [ ] Fix
- [x] Feature
- [ ] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
`uv run python -m pytest tests/ --ignore=tests/integration` on the
merged tree:
23161 passed, 109 skipped.
`uv run pytest tests/test_install_script.py`: 27 passed, including a
functional
test that extracts the real `is_stale` and `resolve_node_dir` from
`install.sh`
and runs them under `sh`. `is_stale` is checked across missing artifact,
fresh
artifact, touched page source, touched catalogue, and build output
touched;
`resolve_node_dir` across system node with npm, node without npm, node
without
npm and a failed fetch, and no node at all. Both were mutation-checked:
removing
the fallback line from `install.sh` turns the new tests red.
`sh -n install.sh`, `make check-source-language`, `make
check-large-files`,
`ruff check`, `ruff format --check`: all clean.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
User-visible: a finished install now holds the terminal on a running
page
instead of returning to the prompt. That also means the installer's exit
code is
the gateway's, so on a clone where the page build only warned,
`install.sh` now
exits 1 with "No page is built" where it used to exit 0 with a working
TUI. A
re-run over a checkout that has moved on will rebuild the frontend,
which costs
an `npm ci` it used to skip.
Rollback is per commit: the launch, the rebuild-on-change and the npm
fallback
are independent edits to `install.sh` and `install.ps1` and can be
reverted
separately. No runtime code outside the installers changed.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
---------
Co-authored-by: admin <admin@SH-HuKai.local>
Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
## Summary
Moves what a conversation defaults to onto a page of its own, under
Agent, and adds three model choices beside it. The providers page keeps
the accounts and their model lists, and is renamed Model providers to
say what it is now.
Five rows on the new page:
- Agent model -- the default binding, moved here with how it answers.
- Quick model -- the short errands beside a conversation, today the call
that names a new session.
- Translate model -- reserved. Nothing calls it yet, and the row says
so.
- Painting model -- the image tool's model and quality, moved out of the
tool row it was folded inside.
- Embedding model -- what knowledge bases are embedded and searched
with. New.
Each of the three new rows writes a model and the provider serving it,
because an id alone does not name a credential: `openrouter` +
`anthropic/claude-haiku-4-5` and `anthropic` + `claude-haiku-4-5` are
both valid and bill different accounts. That is the shape every
subsystem pin in the config already states.
A defect fixed on the way. `sessionTitle.model` had no provider half, so
a pinned naming model was sent on the conversation's provider and key --
exactly the mis-pairing the pin convention exists to prevent. It now
binds the pair through the provider pool and follows the conversation's
model when the pair cannot be built, reported once. A config that sets
only a model keeps working, since the pool derives the vendor from the
id.
The embedding pin is the first time raven decides where a knowledge base
embeds. Set, it wins; unset, the EverOS endpoint answers exactly as
before, so no existing install changes behaviour. Provider credentials
resolve through a new public helper in `update_providers`, which is
already the one place that knows what address a request goes out on,
rather than a second answer to that question.
Two decisions worth a reviewer's attention:
- Painting is not a pin. The image tool carries its own key and address
instead of borrowing a provider account, so giving it a provider half
would mean re-plumbing the media stack. The existing model/quality
picker moved as it is, and the row says how it is reached.
- Each slot's offer is filtered by what the slot is for, using the same
bucketing the backend does (`registry_data.kind_of`). A picker that
lists every model for every slot is how an embedding id lands in a
painting slot; for the embedding slot the cost of that is a vector store
that cannot be searched. Providers that are not connected are left out,
since picking from one fails on the next call rather than at the click.
## Type
- [ ] Fix
- [x] Feature
- [ ] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
`make coverage`: full suite green.
`npm test --prefix ui-web` -> 103 files, 1681 tests. `npm test` in
ui-tui -> 143 files, 2072 tests. Type-checks, `lint:rpc`, `lint:i18n`
and ui-web's `gen:check` all clean, and `ruff check` / `ruff format
--check` pass.
New tests cover the embedding pin (a complete pair wins, half a pair
does not, an uncredentialed provider falls back, no pin behaves as
before), the quick pin (both halves reach the pool, a refused pin
follows the conversation), and the slot filtering. Each was confirmed to
fail with its fix removed rather than assumed to cover.
`check-page` fails on this branch. It is the two-versus-three script
block mismatch already failing on main, fixed in a separate PR;
repeating the fix here would collide when both land.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [ ] User-facing docs or screenshots are updated when needed
## Risk
User-visible: the settings panel gains a Default models entry under
Agent, Models is renamed Model providers, and the agent model,
how-it-answers and painting controls are reached from the new page
rather than where they were.
Behaviour: an install that sets none of the new pins runs exactly as
before. The one behaviour change is the session-title fix above, which
drops a pin that cannot be paired instead of sending it on the
conversation's credential.
`settings.set` gains six writable keys. The whitelist is pinned
wholesale by a test so this had to be a deliberate edit: the pins name a
model and a provider the deployment has already credentialed, carry no
address or key of their own, and reach no endpoint the operator did not
already choose.
Rollback: revert the squash commit. No migration, and no config is
rewritten.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
---------
Co-authored-by: admin <admin@SH-HuKai.local>
Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
Co-authored-by: KT <74288668+0xKT@users.noreply.github.com>
## Summary
An install used to end with three optional capabilities silently off: the
chromium binary nobody downloaded, LibreOffice nobody mentioned at install
time, and no way to see either. Five commits make the installed raven
out-of-box complete, with a capability report as the installer's last word.
- doctor: `raven doctor --install-summary` prints five capability rows
(memory, design engine, ppt engine, deck preview, browser) and always
exits 0 -- no config read, no network, usable on a machine the wizard has
never touched. Regular doctor's External tools section gains a Chromium
row: detection is subprocess-free (the installed playwright's own
browsers.json revisions plus both INSTALLATION_COMPLETE markers, headless
shell included, because the driver launches headless by default), and the
browser tool's policy and the design lane's policy are reported as
separate verdicts.
- design engine: chromium discovery now reaches the playwright per-user
caches (macOS and Linux, Chrome for Testing layout plus the legacy one,
PLAYWRIGHT_BROWSERS_PATH honored, "0" resolved package-local exactly the
way doctor resolves it), while the boxlite VM's /ms-playwright root keeps
its exact old patterns and priority. The missing-browser refusal finally
names both fixes: `playwright install chromium`, or the render config's
`chromePath`.
- hints: the one source-checkout-shaped INSTALL_HINT splits into two the
reader can actually run -- missing binary: `<sys.executable> -m
playwright install chromium` (valid for a uv tool install and a source
checkout alike); missing package: reinstall via install.sh, since
`python -m playwright` cannot run without the module. The web panel stops
hardcoding the stale command and renders the gateway-computed reason.
- install.sh: after the wheel ladder, the tool venv's own python downloads
chromium (probed first -- a pinned RAVEN_WHEEL_URL or the release-page
fallback installs no engines); LibreOffice installs directly through brew
on macOS and on Linux only after a yes read from /dev/tty (under curl|sh
stdin is the script, and sudo's prompt needs the terminal too);
RAVEN_MINIMAL=1 skips both; every step degrades to one warning line; the
tail prints the capability summary either way.
- pins: the host browser extra rises to `playwright>=1.58,<2` through
`uv add`, matching the design render extra and the ppt-engine carrier
byte for byte; a contract test holds the three declarations identical so
a lone bump, or a cleanup that reads the unimported carrier as stale,
turns red before it breaks a rendering install.
The plan was audited against the tree before work started (four parallel
verifiers); notable catches folded in: the headless-shell double marker,
the two-hint split, the ui-web hardcoded copy, the /dev/tty-for-sudo
detail, the engines-only-on-the-happy-path gap, and uv add respelling the
upper bound.
- install.ps1 reaches the same finish line (sixth commit): the three
functions land as twins of install.sh's -- the venv's Scripts python
probes and downloads chromium, LibreOffice is checked on PATH and in the
four install roots find_soffice reads before winget is offered behind an
interactive-console guard, raven.exe prints the same five-row summary,
RAVEN_MINIMAL skips both. Verified with a real PowerShell provisioned
beside the repo: zero parse errors, and the degradation branches ran as
dry probes on pwsh 7.6.6 (venv python missing, playwright absent,
download failure, office present, winget absent, consoleless skip, no
raven.exe, RAVEN_MINIMAL).
## Type
- [ ] Fix
- [x] Feature
- [ ] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- Each commit rehearsed on a clean bench with the full suite before
landing: `uv run pytest tests -q` green five times, final state
21553 passed / 42 skipped (the growth over baseline is real coverage:
the design-engine live browser tests unskip on a machine whose cache
discovery now works, and pass).
- Targeted families at the final landing: doctor 96 passed; design
rendering outcome 26 passed; browser driver 25 passed; install script +
onboard scanner 337 passed; dependency constraints 3 passed.
- `make lint-python`, `uv run lint-imports` (10 contracts, 0 broken), ruff
format: clean at every landing. Full suite green at every landing; final
state 22047 passed / 43 skipped.
- ui-web: `npx vitest run src/features/browser/BrowserPage.test.tsx`
12 passed; `npm run type-check` clean.
- Live on a dev Mac: `uv run raven doctor --install-summary` prints five
green rows, exit 0; `sh -n install.sh` clean; shellcheck adds no new
findings over the base revision.
- install.ps1 tripwires ride tests/test_install_script.py (11 passed with
the sh pins); onboarding's own ps1 scanners stay green.
- install.sh dry probe with stubbed uv/PATH: venv-python missing, playwright
missing, RAVEN_MINIMAL, office-already-present, no-sudo skip, summary
fallback -- every branch degrades to a warning and rc=0.
- A sandboxed end-to-end run of ./install.sh (UV_TOOL_DIR redirected):
exit 0, five-row summary all green -- full transcript in the MR notes.
## Risk
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
User-visible changes: a default install now downloads chromium (~150 MB,
skipped when the venv carries no playwright) and offers LibreOffice; both
are skippable with RAVEN_MINIMAL=1 and every failure is a warning, never a
died install. The installer never runs sudo itself; the one sudo command
(Linux LibreOffice) runs only behind an openable-terminal-plus-sudo gate
and a [Y/n] prompt read from /dev/tty -- Enter accepts, n or no declines,
and a consoleless run (CI, cron, docker -t without -i) skips cleanly.
Known limit, disclosed rather than half-detected: on a minimal Ubuntu the
downloaded chromium may still need system libraries (playwright's
--with-deps); the marker-based doctor row cannot see that, and the launch
error remains the surface that reports it.
The web browser panel's copy changes. The host playwright floor rises to
1.58 (the resolved lock version does not move). Rollback: revert the MR;
an already-downloaded chromium cache is inert data under ms-playwright.
## Related Issues
N/A
The installer needs one mouth that says whether the optional halves of an
install actually landed, on a machine whose config may not exist yet:
`raven doctor --install-summary` prints five rows (memory, design engine,
ppt engine, deck preview, browser) and exits 0 explicitly, reading only
find_spec, the soffice resolver and playwright's own browser registry --
no config, no network, no exit-code movement.
The External tools section now also watches chromium the same non-fatal
way it watches LibreOffice. Detection is subprocess-free: the installed
playwright's browsers.json names the revisions, and both the chromium and
the chromium_headless_shell INSTALLATION_COMPLETE markers must exist,
because the driver launches headless by default and headless runs the
shell install. The browser tool's playwright cache and the design lane's
own discovery are reported as separate verdicts, since satisfying one
policy does not satisfy the other.
Co-authored-by: Claude (claude-fable-5) <noreply@anthropic.com>
## Summary
Both READMEs are rewritten around what a reader needs in order to decide whether to
install Raven. The positioning line, the section list and the command reference had all
drifted from what the product ships.
Positioning. The opening states the Harness of Harnesses directly instead of carrying it
as a next-version note, and names EverOS as the memory system underneath rather than as
the thing Raven is built on. The benchmark table reports Raven's own results again.
New sections. Raven Agents documents Raven-Research, Raven-Code, Raven-Design and
Raven-Oncall and what each one delivers. Preset Third-Party Agents lists the thirteen ACP
presets, using the icons already shipped under `ui-web/src/assets/agents/`, so no new
asset is added. Launch WebUI documents `raven web` and `raven web --stop`, which had no
entry anywhere.
Command reference. 14 rows to 31, so every top-level command is listed rather than a
selection of them.
Repo layout and architecture. The package table is rewritten one line per entry against
the tree as it stands; all 40 rows still equal the packages on disk, which is what
`tests/test_readme_scope_canon.py` enforces. The ASCII directory sketch is replaced by a
Key directories block and a mermaid graph of how the entrances reach the Spine and the
Agent Loop.
Removed. The standalone Deep Research and Tracing sections, the LibreOffice prerequisites
table and the seven-step onboarding list. Both commands keep their command-reference rows,
and no document links to the removed anchors.
Three things to weigh rather than read past:
1. This replaces the next-version framing. The "Coming next" line under the banner, the
"Coming Next: The Harness of Harnesses" section and the "Next-Version Research
Benchmarks" hedging are gone from both pages. That framing is deliberate on the current
tip, so reversing it is an editorial call and not a merge artifact. If it should stand,
this is the part to push back on.
2. The zh README becomes a full mirror again. The current tip had cut it back to the
intro, quickstart and self-hosting entry, with a sentence saying normative content
follows the English page and no Chinese copy is kept here. This branch removes that
sentence and mirrors the whole structure, 22 headings on each side. The drift risk that
sentence names is real, and is now carried by whoever edits either page.
3. The Launch WebUI section ships three screenshot placeholders on each page, six in all.
They render as visible placeholder lines rather than as blanks, so the gap is obvious
to a reader, but they will appear in the public README until the images land.
What the current tip added and this branch keeps: the new banner asset, and the EverMind
Ecosystem table on the English page. The edits were authored against an older base, so
they were replayed onto the tip with a three-way apply rather than copied over it, and the
result was diffed against the authored files to confirm those two are the only
differences.
One naming fix on the way in: the section heading for the four shipped agents was written
as "Built-in Agents". `CONTEXT.md` retires "builtin" for these, since it names the
in-process row that has no subprocess and no launcher, and each of these four is a folder
under `agents/` with its own `run.py` and `subagent.json`. The heading is "Raven Agents".
The mermaid node listing the subagent backends keeps the word, which is the correct use of
it.
## Type
- [ ] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Commands run, and what they returned:
- `pytest tests/ -q -p no:randomly` -- 21928 passed, 46 skipped, 15 failed, 57 errors.
All 72 failing ids sit in `tests/test_everos_server.py`, and all 72 belong to the base:
the same command at a clean `origin/main` worktree on the same interpreter produced the
identical 72-id set, so 0 introduced and 0 fixed. The cause is local to the machine, not
to the repository -- `plugins-dist/` is installed editable against a checkout that is
behind `origin/main`, and `_inotify_gate` exists in the plugin at `origin/main` but not
in that older working copy, so the test file is asserting against an older plugin than
the one it ships with. A fresh CI checkout installs plugin and tests from one revision
and does not reach it. This branch changes no Python: `git diff origin/main...HEAD
--name-only` lists the two README files and nothing else.
- `pytest` over every test that reads the root README, enumerated by grep rather than
assumed (`test_readme_scope_canon`, `test_living_docs`, `test_cli_onboard_commands`,
`test_docker_runtime`, `test_hatch_build`, `test_permissions_gate`,
`test_subagent_vendored_agents`) -- 643 passed.
- `scripts/check_commit_messages.py origin/main..HEAD` -- pass.
- `npx commitlint --from origin/main --to HEAD --config commitlint.config.cjs` -- pass.
- `scripts/check_large_files.py origin/main..HEAD` -- pass.
- `scripts/check_source_language.py origin/main...HEAD` -- pass.
- Every local link and image target in both pages resolved from the repo root: 74 checked,
0 missing. That covers the thirteen preset icons.
One failure was introduced and fixed inside this branch rather than found in review:
renaming the zh quickstart heading broke
`test_cli_onboard_commands.py::test_readme_quickstart_matches_the_installer_hint`, which
pins both pages to the heading above the bare `raven` block so the README and the
installer's first-run hint cannot drift. The heading is restored, and the English side was
never renamed.
- [x] Relevant tests pass locally
- [ ] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
Lint is unchecked because no Python, TypeScript or shell source is touched. The gates that
do apply to Markdown are listed above and all pass.
## Risk
Documentation only, so there is no runtime behaviour change. What does change is what the
two pages claim about the product, which is the point of the change and is set out under
Summary, including the two claims that reverse decisions on the current tip. Rollback is a
revert of this commit.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
Eleven commits from the GitHub trunk since 377a1da14, fifteen files
conflicting. How each was resolved:
- raven/tracing/context.py, trace.py, spans.py and tests/test_tracing_api.py:
upstream retired the runtime attempt id. attempt.id is now a reserved span
attribute and attempts.json owns the grouping, so begin_attempt,
end_attempt, current_attempt and every attempt_id parameter go with it.
Nothing on this side called them outside tests. The fork's surface field
and its use() helper share those hunks and stay.
- raven/trajectory/store.py: upstream's module docstring documents
attempts.json and is a superset of ours.
- raven/cli/onboard_everos.py and tests/test_cli_onboard_commands.py:
upstream only refreshed three model ids, which this side already carries.
Kept our English-only role table (AGENTS.md 1.3).
- tests/test_everos_server.py: took upstream's inotify-gate tests and pointed
them at raven_everos.server, where this side moved the module.
- ui-tui/src/app/useMainApp.ts: copy-on-select was never wired up here;
upstream wires it.
- ui-tui/src/components/appLayout.tsx: took upstream's copy notice line only.
Its FloatingOverlays hunk would render that component twice, because this
side had already moved it into its own anchor box.
- README.md and README.zh-CN.md: upstream's wording under this side's emoji
headings. The zh benchmark table had to be rebuilt: its separator row
auto-merged with the prerequisites table's and dropped the data rows.
- tests/test_provider_rates.py and tests/test_trajectory_bundle.py: both
sides appended independent tests at the end of the file; kept both.
Co-authored-by: Claude (claude-opus-5) <noreply@anthropic.com>
## Summary
A session on DeepSeek's own API (`deepseek/deepseek-flash`) became unrecoverable on 2026-09-11: every request was refused with HTTP 400 `No tool call found for tool output` (or the reverse, `No tool output found for tool call`), whatever the user typed. Three defects lined up:
1. **The Curator's budget trimming broke tool pairing.** `HistoryTrimmer.trim` closed the plan's selection over tool-call adjacency, then dropped one id at a time without re-closing. Dropping the assistant that declared three parallel calls left its three results; dropping one result left its call unanswered. The fallback path never ran `structural_errors`, so the trace recorded `ok: True` for a request a strict backend refused. `trim` now drops a call and its results as one group (`tool_group`), re-closes and re-anchors after every drop, and sweeps a selection whose parent the session no longer holds; `CuratorAssembler.build` runs the structural check on every path and carries the verdict in `validation`.
2. **The context window fell back to 65,536 silently.** `deepseek/deepseek-flash` is in no catalogue, so `effective_context_window` returned the default -- one sixteenth of the model's 1,048,576 -- and only LiteLLM's DEBUG noise said so. With 49,152 reserved for output, 4,151 tokens were left for history, which is what drove the trimming above. The fallback now warns once per model (only when the catalogues were actually asked), `raven doctor`'s `Context win` line says whether the number is pinned, from a catalogue, or the default, and the config health check reports the unpinned-and-unknown case.
3. **The id was not in LiteLLM's table.** `import_litellm` now registers `deepseek/deepseek-flash` (and the bare `deepseek-flash`) into the live table: window 1,048,576, output ceiling 384,000, DeepSeek's peak-hour prices. This is the dict the window resolver, the output-ceiling resolver and the cost recorder all read, so it also stops `cost_usd` being recorded as 0. A row a newer LiteLLM already carries is left alone; OpenRouter-routed ids are deliberately not registered.
Evidence is in the Curator's per-turn traces: `window=65536 out=49152 tools=10594 sys=1639 avail_hist=4151`, fallback path, `dropped message 32` (the assistant) with `included_message_ids: [35]` (one of its results). The session file itself was intact (34 calls, 34 results); after pinning the window the same session resumed on the fast path.
Not in this MR: the Curator's own calls are capped at `max_tokens=2048`, and on a model that reasons before answering two of six curator calls in one turn were cut with the last tool call unparsed, sending four turns in a row to the deterministic fallback. Left as it is -- it affects every product's every turn (up to 12 calls) and there is no comparison data; if it is raised it should be a config knob in its own MR.
## Type
- [x] Fix
- [ ] Feature
- [ ] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- `pytest tests/test_history_trimmer.py tests/test_curator_context_engine.py tests/test_provider_rates.py tests/test_litellm_setup.py tests/test_cli_doctor_window_line.py`: new cases -- a group drop removes the parent with all its results and a result with its parent and siblings; the history re-anchors on a user message after a drop; a result whose parent the session lost is not shipped; the fallback path records `errors` and ships no orphan; the default-window fallback warns once, not for a pin, not on the cheap tier; the registered row is present, reaches both resolvers, and does not override an existing row; the doctor line's three branches.
- Reverse check: with the three source files restored to `origin/main`, the new tests fail (trimmer 4, curator 1, rates 3, litellm_setup 3, doctor 1 import error); with the fix they pass.
- Wider run: `tests/test_agent_loop*.py tests/test_context*.py tests/test_curator*.py tests/test_memory*.py tests/test_litellm*.py tests/test_provider*.py tests/test_acp_*.py` + the above: 2799 passed, 38 skipped, 0 failed.
- `ruff check` / `ruff format --check` clean on every changed file.
- `tests/test_cli_doctor_commands.py` could not run in this environment (its autouse fixture needs `raven_everos`, 74 pre-existing errors on `main` too); the doctor line is covered by a separate file that needs only the resolver.
- End to end: the failing session (`~/.raven-ar6-ds`, 54 messages, one assistant with three parallel calls) resumed after the window was pinned; every request since carried the full history on the fast path.
## Risk
- Trimming semantics: a drop now removes a whole tool group where it removed one message; a budget that previously kept a partial group now keeps either all of it or none. The set of ids that survive can differ from before, but never in a way a provider rejects. Every existing test in the touched suites passes unchanged.
- `validation` gains an `errors` key on every path (previously only in `validate_candidate`); `ok` is now false when pairing is broken. Nothing in the tree read `ok` as budget-only.
- Registered prices are peak-hour; off-peak is half, and a flat table cannot say so, so recorded cost is an upper bound. Users on OpenRouter are unaffected (their ids are not registered).
- The new warning fires once per model per process; `allow_fetch=False` callers do not trigger it.
- Rollback: revert the three commits; no data or config involved.
## Related Issues
N/A
## Summary
A session on DeepSeek's own API (`deepseek/deepseek-flash`) became unrecoverable on 2026-09-11: every request was refused with HTTP 400 `No tool call found for tool output` (or the reverse, `No tool output found for tool call`), whatever the user typed. Three defects lined up:
1. **The Curator's budget trimming broke tool pairing.** `HistoryTrimmer.trim` closed the plan's selection over tool-call adjacency, then dropped one id at a time without re-closing. Dropping the assistant that declared three parallel calls left its three results; dropping one result left its call unanswered. The fallback path never ran `structural_errors`, so the trace recorded `ok: True` for a request a strict backend refused. `trim` now drops a call and its results as one group (`tool_group`), re-closes and re-anchors after every drop, and sweeps a selection whose parent the session no longer holds; `CuratorAssembler.build` runs the structural check on every path and carries the verdict in `validation`.
2. **The context window fell back to 65,536 silently.** `deepseek/deepseek-flash` is in no catalogue, so `effective_context_window` returned the default -- one sixteenth of the model's 1,048,576 -- and only LiteLLM's DEBUG noise said so. With 49,152 reserved for output, 4,151 tokens were left for history, which is what drove the trimming above. The fallback now warns once per model (only when the catalogues were actually asked), `raven doctor`'s `Context win` line says whether the number is pinned, from a catalogue, or the default, and the config health check reports the unpinned-and-unknown case.
3. **The id was not in LiteLLM's table.** `import_litellm` now registers `deepseek/deepseek-flash` (and the bare `deepseek-flash`) into the live table: window 1,048,576, output ceiling 384,000, DeepSeek's peak-hour prices. This is the dict the window resolver, the output-ceiling resolver and the cost recorder all read, so it also stops `cost_usd` being recorded as 0. A row a newer LiteLLM already carries is left alone; OpenRouter-routed ids are deliberately not registered.
Evidence is in the Curator's per-turn traces: `window=65536 out=49152 tools=10594 sys=1639 avail_hist=4151`, fallback path, `dropped message 32` (the assistant) with `included_message_ids: [35]` (one of its results). The session file itself was intact (34 calls, 34 results); after pinning the window the same session resumed on the fast path.
Not in this MR: the Curator's own calls are capped at `max_tokens=2048`, and on a model that reasons before answering two of six curator calls in one turn were cut with the last tool call unparsed, sending four turns in a row to the deterministic fallback. Left as it is -- it affects every product's every turn (up to 12 calls) and there is no comparison data; if it is raised it should be a config knob in its own MR.
## Type
- [x] Fix
- [ ] Feature
- [ ] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- `pytest tests/test_history_trimmer.py tests/test_curator_context_engine.py tests/test_provider_rates.py tests/test_litellm_setup.py tests/test_cli_doctor_window_line.py`: new cases -- a group drop removes the parent with all its results and a result with its parent and siblings; the history re-anchors on a user message after a drop; a result whose parent the session lost is not shipped; the fallback path records `errors` and ships no orphan; the default-window fallback warns once, not for a pin, not on the cheap tier; the registered row is present, reaches both resolvers, and does not override an existing row; the doctor line's three branches.
- Reverse check: with the three source files restored to `origin/main`, the new tests fail (trimmer 4, curator 1, rates 3, litellm_setup 3, doctor 1 import error); with the fix they pass.
- Wider run: `tests/test_agent_loop*.py tests/test_context*.py tests/test_curator*.py tests/test_memory*.py tests/test_litellm*.py tests/test_provider*.py tests/test_acp_*.py` + the above: 2799 passed, 38 skipped, 0 failed.
- `ruff check` / `ruff format --check` clean on every changed file.
- `tests/test_cli_doctor_commands.py` could not run in this environment (its autouse fixture needs `raven_everos`, 74 pre-existing errors on `main` too); the doctor line is covered by a separate file that needs only the resolver.
- End to end: the failing session (`~/.raven-ar6-ds`, 54 messages, one assistant with three parallel calls) resumed after the window was pinned; every request since carried the full history on the fast path.
## Risk
- Trimming semantics: a drop now removes a whole tool group where it removed one message; a budget that previously kept a partial group now keeps either all of it or none. The set of ids that survive can differ from before, but never in a way a provider rejects. Every existing test in the touched suites passes unchanged.
- `validation` gains an `errors` key on every path (previously only in `validate_candidate`); `ok` is now false when pairing is broken. Nothing in the tree read `ok` as budget-only.
- Registered prices are peak-hour; off-peak is half, and a flat table cannot say so, so recorded cost is an upper bound. Users on OpenRouter are unaffected (their ids are not registered).
- The new warning fires once per model per process; `allow_fetch=False` callers do not trigger it.
- Rollback: revert the three commits; no data or config involved.
## Related Issues
N/A
## Summary
`docker compose up --build` rebuilt the whole image on every start. For a reader
who only wants to try raven that is several minutes of Python and Node build to
arrive at what the registry already holds, so the quickstarts now say
`docker compose up`. Changed in README.md, README.zh-CN.md and docker/README.md.
`RAVEN_IMAGE` points at `evermindshanda/raven:latest`. The compose fallback is
corrected to the same account: it read `everminbd/raven:dev`, a transposition
that named nothing and would only have surfaced for someone running without a
.env file.
Two things a reviewer should decide rather than take from me:
- The fallback in docker-compose.yml is `:dev` while .env pins `:latest`. That
is only reachable with no .env present, so it may be deliberate; it is worth
a look either way.
- The service still carries a `build:` section and no `pull_policy`. Dropping
`--build` stops forcing a rebuild, but with a build section present Compose
builds a missing image rather than pulling it. If the intent is that a reader
never builds, that likely wants `pull_policy: always` or the build section
moved behind a profile. I have not changed it, because which of those is right
depends on whether contributors are still expected to build from this file.
## Type
- [x] Fix
- [ ] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
- `uv run pytest tests -q -k "docker or readme"` -- 34 passed, 8 skipped
- `make check-source-language`, `make check-large-files` -- clean
- `npx commitlint` and `scripts/check_commit_messages.py` over the branch range -- clean
Not verified: no Docker daemon was available, so the published image was not
pulled and `docker compose up` was not run end to end. The claim that the image
exists at that name is the author's, not something this branch proves.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
If `evermindshanda/raven:latest` is absent, private, or stale, `docker compose up`
now builds from source instead (the build section is still there), so the failure
mode is a slow start rather than a broken one. Rollback is by revert; nothing
here changes runtime behaviour, only which image Compose reaches for.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
## Summary
This branch folds four merge requests and one unpushed commit into one, so that `main`
takes one review, one approval and one merge instead of four, and so the eight-file
overlap between them is resolved once. It carries, in this order:
- **!602** `feat/ppt_deliver_to_named_path` -- `ppt_build` takes `deliver_to`; every
publish writes the deck under `out/` and copies the same measured bytes to the path
the user named, recording it with `role: "delivery"`. The PDF preview rides along only
where its own `.pdf` name is free: a file already at that stem is the user's and is
left alone, and the reply says the preview stayed under `out/`.
- **!628** `feat/ppt_copy_route_and_page_isolation` -- `adapt` is removed, so cloning a
template page and writing into it with `replace_text` is the only route; a page whose
block raises loses only itself and the pages after it still build; a draft counts
against the tier's build cap and one is released at it.
- **!632** `feat/ship_templates_and_soffice_dep` -- the ten bundled deck templates are
tracked in git with per-file sha256 pins, so a fresh clone can build a deck; the
LibreOffice dependency is declared and resolved through one resolver.
- **!642** `fix/ppt_copy_route_and_clone_typography` -- a copy-route lookup that finds
nothing names the near miss before the inventory; a text frame with no paragraph at
all can be written into; a cloned page's title size is said; `row_type_drift` compares
the same structural slot across a run's units.
- **D57's other-page clause, rewired.** D57 gave five refusals a "did you mean" hint,
and one of them also answered "the string you named is on page N of this template".
That clause needs the file a page was cloned out of, and the only refusal holding it
was `adapt`'s, which !628 removed. It is restored by reading `PPT_TEMPLATE_SOURCE`,
which the runner already sets in the author's own process and which this module
already reads for `bundled()`; the two helpers behind the clause are unchanged.
- **D60** `read the ground under each word, not across the whole box` -- the `unreadable`
contrast gate also measures the render's own word boxes, as extra regions through the
same guards, so a two-line block crossed by a narrow bright ridge can no longer elect
the dark ground and read as legible.
Decisions the union forced, none of which drops a behaviour:
- The publish record is built !602's way, with its delivery `role`, and written the way
D49 requires -- read back off the file, atomic, and refused rather than silent when
the record cannot be written.
- `clear_region`, `shapes_in`, `page_box` and the refusal of a bare four-number region
survive `adapt`'s removal; so do `_heading_rows` and its helpers, which the row
reading loads even though the call they were written for is gone.
- The author-facing guidance names !628's single route and keeps D59's rule that a
region must declare which reading it is.
**The decision log carries a numbering collision, on purpose.** It is a set union with
no wording changed, and the numbers are left exactly as each branch wrote them, so a
reviewer meets this rather than discovers it:
- !602 and !628 each wrote a **D37** and a **D38**, about different decisions.
- !628's **D45** is not `main`'s D45; they are unrelated entries under one number.
- !628's **D42** is `main`'s **D45** word for word, so the merged log carries one
decision under two numbers.
Renumbering touches every cross-reference in the log, and doing that inside a
seventy-commit fold immediately before a merge is how a silent break gets in. The
numbering is being fixed on a separate branch, which carries a script and a test that
fails when a citation points at nothing.
## Type
- [x] Feature
- [x] Fix
- [ ] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Run on an interpreter carrying `python-pptx`, with `PYTHONPATH` at this worktree and its
`plugins-dist/ppt-engine`, confirmed from a neutral working directory that `raven` and
`raven_ppt` resolve out of the worktree and not the host repo.
- `make test-python` (the whole suite, as CI runs it) -- 20826 passed, 49 skipped, and
26 failures this machine produces on any branch: it has no `/usr/share/zoneinfo`, so
every cron timezone case raises `ValueError: unknown timezone 'Asia/Shanghai'`. Checked
out plain `origin/main` in a clean worktree and ran the same two files: the same 6
failed and 20 errors, the ids identical character for character. Nothing on this branch
touches cron or timezones. The stale `test_trunks_executor_would_have_dropped_that_output`
that failed on the previous revision is retired on the new base and its replacement,
`test_trunks_executor_preserves_output_on_timeout`, was run on its own and passes.
The 6 failures and 20 errors are all cron timezone tests failing identically on plain
`main` in a clean worktree, on a host with no `/usr/share/zoneinfo`.
- `make check-commits` -- exit 0.
- `make check-source-language` -- exit 0.
- `make check-large-files` -- exit 0.
- `make lint-imports` -- exit 0, 9 contracts kept, 0 broken.
- `ruff check` and `ruff format --check` over the 80 changed Python files -- exit 0.
- `pytest tests/test_ppt_engine_templates.py tests/test_utils_office.py
tests/test_cli_doctor_commands.py` -- 97 passed; the ten templates are tracked and
satisfy their pins, and the soffice resolver finds the local binary.
- The delivery contract, the record read-back, the page isolation and the near miss were
each run as a measurement rather than asserted; the `unreadable` gate was run through
the real LibreOffice render chain on a delivered 12-page deck and reports BLOCKING on
page 12 under one word at 1.6:1.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
User-visible changes: `ppt_build` gains `deliver_to` and delivers outside `out/`;
`adapt` is gone from the author-facing template module, so a program calling it fails to
import -- `title=` and `subtitle=` have no replacement and the heading is named by the
words the template put there; a draft now counts against the tier's build cap; three
gates that nothing measured against being wrong no longer refuse; and the ten templates
are now bytes in the repository rather than a private registry fetch.
Two pieces here are about not destroying something the user has. The delivery
refuses to write its `.pdf` where a file the user already owns sits at the same
stem, rather than replacing it; and the large-file roster moved out of the manifest
inside the tree being checked and into the gate's own source, so a change can no
longer grant itself the exception the gate exists to withhold.
Rollback is per piece: each of the five sources is a contiguous run of commits on this
branch, in the order listed above, so any one of them can be reverted as a range without
touching the others.
- [x] Backward compatibility considered
- [x] Security impact considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
## Summary
Two things arrive together because the second is what made the first usable.
**Run raven from a container.** A Dockerfile builds the page, the Python
environment and the engine into one image; `cd docker && docker compose up`
serves it. nginx serves the built page and proxies the RPC socket to the engine
over the loopback they share -- the engine binds 127.0.0.1 only, so a proxy in a
second container would have no address to dial. Compose publishes on 127.0.0.1,
and the entrypoint prints a one-time sign-in link on boot.
**A first run is no longer a dead end.** The gateway used to refuse to start
until a provider was configured, while being the thing that serves the page
where a provider gets configured. It now starts, says what is missing, and picks
up a key saved in Settings on the next turn without a restart. The onboarding
overlay no longer takes the page either: New chat, the model chip and Send send
the reader to Settings > Models instead, and an empty model list is marked on
the control that fills it.
Also carried: the provider catalogue registry (capabilities, modalities and
context windows per model), the reworked Settings > Models pane, and four fixes
found in review of that work -- a sibling catalogue answering 200 with a
non-catalogue body no longer crashes the whole fetch; adding a tag no longer
erases the label and description already stored for that model; `authenticated`
no longer demands a bearer token from a local provider reached by address; and
registry rows are keyed by the spelling every lookup produces, which recovers
593 rows that no reader could reach.
## Type
- [ ] Fix
- [x] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Commands run on the branch head, with their results:
- `uv run pytest tests -q -k "provider or registry or catalog or model or rpc or gateway or docker or i18n"` -- 4389 passed, 46 skipped
- `npx vitest run` in `ui-web` -- 1573 passed (101 files)
- `npx vitest run` in `ui-tui` -- 2037 passed (142 files)
- `uv run ruff check raven scripts tests` and `ruff format --check` -- clean
- `npx tsc --noEmit` in `ui-web` and `npm run type-check` in `ui-tui` -- clean
- `npm run lint:rpc` in `ui-tui` -- generated.ts in sync
- `make check-source-language`, `make check-large-files` -- clean
Each of the four review fixes was checked by reverting it and watching a named
test go red, then restoring it.
The container image itself has not been built by CI or by me -- no Docker daemon
was available on the machine this was written on. It has been built and run by
the author of the branch.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Two deliberate security trade-offs in the container deployment, both documented
in `docker/README.md`:
- nginx rewrites the `Origin` header, because the engine accepts only an Origin
naming its own loopback port and no browser reaching a published port can send
one. This drops a defence-in-depth layer. The session cookie is
SameSite=Strict, so an unauthenticated socket is still refused -- but SameSite
ignores ports, so another page on localhost counts as same-site.
- `RAVEN_AUTO_LOGIN=1` is the default: nginx attaches the session cookie to
every page load, so anyone who can reach the published port is signed in. It
is contained by Compose publishing on 127.0.0.1 only. Set it to 0 for any
deployment reachable from elsewhere. These are two settings that must agree,
and nothing warns when they do not.
Behaviour changes outside the container: the gateway now starts without a
configured provider rather than exiting 1, and the first-run onboarding overlay
no longer opens by default (`?onboard=1` still forces it).
Rollback is by revert; nothing here migrates state or changes an on-disk format.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A
## Summary
Two things arrive together because the second is what made the first usable.
**Run raven from a container.** A Dockerfile builds the page, the Python
environment and the engine into one image; `cd docker && docker compose up`
serves it. nginx serves the built page and proxies the RPC socket to the engine
over the loopback they share -- the engine binds 127.0.0.1 only, so a proxy in a
second container would have no address to dial. Compose publishes on 127.0.0.1,
and the entrypoint prints a one-time sign-in link on boot.
**A first run is no longer a dead end.** The gateway used to refuse to start
until a provider was configured, while being the thing that serves the page
where a provider gets configured. It now starts, says what is missing, and picks
up a key saved in Settings on the next turn without a restart. The onboarding
overlay no longer takes the page either: New chat, the model chip and Send send
the reader to Settings > Models instead, and an empty model list is marked on
the control that fills it.
Also carried: the provider catalogue registry (capabilities, modalities and
context windows per model), the reworked Settings > Models pane, and four fixes
found in review of that work -- a sibling catalogue answering 200 with a
non-catalogue body no longer crashes the whole fetch; adding a tag no longer
erases the label and description already stored for that model; `authenticated`
no longer demands a bearer token from a local provider reached by address; and
registry rows are keyed by the spelling every lookup produces, which recovers
593 rows that no reader could reach.
## Type
- [ ] Fix
- [x] Feature
- [x] Docs
- [ ] CI / tooling
- [ ] Refactor
- [ ] Other
## Verification
Commands run on the branch head, with their results:
- `uv run pytest tests -q -k "provider or registry or catalog or model or rpc or gateway or docker or i18n"` -- 4389 passed, 46 skipped
- `npx vitest run` in `ui-web` -- 1573 passed (101 files)
- `npx vitest run` in `ui-tui` -- 2037 passed (142 files)
- `uv run ruff check raven scripts tests` and `ruff format --check` -- clean
- `npx tsc --noEmit` in `ui-web` and `npm run type-check` in `ui-tui` -- clean
- `npm run lint:rpc` in `ui-tui` -- generated.ts in sync
- `make check-source-language`, `make check-large-files` -- clean
Each of the four review fixes was checked by reverting it and watching a named
test go red, then restoring it.
The container image itself has not been built by CI or by me -- no Docker daemon
was available on the machine this was written on. It has been built and run by
the author of the branch.
- [x] Relevant tests pass locally
- [x] Relevant lint / type checks pass locally
- [x] User-facing docs or screenshots are updated when needed
## Risk
Two deliberate security trade-offs in the container deployment, both documented
in `docker/README.md`:
- nginx rewrites the `Origin` header, because the engine accepts only an Origin
naming its own loopback port and no browser reaching a published port can send
one. This drops a defence-in-depth layer. The session cookie is
SameSite=Strict, so an unauthenticated socket is still refused -- but SameSite
ignores ports, so another page on localhost counts as same-site.
- `RAVEN_AUTO_LOGIN=1` is the default: nginx attaches the session cookie to
every page load, so anyone who can reach the published port is signed in. It
is contained by Compose publishing on 127.0.0.1 only. Set it to 0 for any
deployment reachable from elsewhere. These are two settings that must agree,
and nothing warns when they do not.
Behaviour changes outside the container: the gateway now starts without a
configured provider rather than exiting 1, and the first-run onboarding overlay
no longer opens by default (`?onboard=1` still forces it).
Rollback is by revert; nothing here migrates state or changes an on-disk format.
- [x] Security impact considered
- [x] Backward compatibility considered
- [x] Rollback path is clear for risky changes
## Related Issues
N/A