Skip to content

Per-installation passphrase, and an MCP lifecycle that survives being used - #26

Closed
foursecondfivefour wants to merge 4 commits into
mainfrom
arena/36a4d756-nerveforge
Closed

foursecondfivefour wants to merge 4 commits into
mainfrom
arena/36a4d756-nerveforge

Conversation

@foursecondfivefour

Copy link
Copy Markdown
Owner

What this is

Two features, in the order you asked for them.

8.11.0 — the passphrase belongs to the installation. It was "yesiknow" compiled into the
build: shared by every install, published in the repository, and the reason 8.9.0 had to fight a
public endpoint that handed it out. It is generated on first run (three words and a number, because
you read it off a terminal and retype it on a phone), stored in <config>/phrase at 0600 next to
the token, and changed through the panel or POST /api/full-access/passphrase. That route needs the
bearer token and the current value — the token is the thing that leaks, and rotating the second
credential is exactly what a leaked token must not authorise. yesiknow is accepted once, as the
current value, and refused as a new one forever.

The terminal banner prints it now. In --tunnel none the banner you actually see is
tunnel/cli.py:_banner(), not bridge.main(), so the phrase was invisible in the mode most people
run first.

8.12.0 — MCP install, update, delete survive being used. The operations existed; the properties
around them did not.

Before Now
Update entry replaced wholesale: created_at reset, catalogue preset lost POST /api/mcp/update keeps identity, reports changed, closes the old session
Undo — POST /api/mcp/rollback restores what the last update or delete saved
Delete final, no copy stops the process, saves <id>.prev.json, then deletes
Why won't it start a child that prints nothing and dies GET /api/mcp/health: a code and a fix, before anything is spawned

Clean means clean: deleting the last server deletes servers.json; backups are one file per server,
never a growing directory, written 0600 with a sanitised name (../../escape cannot write outside
the config directory). The CI job runs install → update → rollback → delete four times and fails if
the install ends up with a file it did not start with. That check failed the first time it ran —
an empty servers.json was left behind for good.

Three real defects came out of writing the checks rather than reading the code:

  1. probe() reported command: [] for every pip-installed preset — the panel could not say how
    Serena starts, and the health check called a working preset "no command".
  2. Removing the last server left an empty servers.json behind permanently.
  3. DELETE had no entry point at all. mcp_delete was in the route table and in the generated
    API reference, and BaseJsonHandler had no do_DELETE, so every real request got
    BaseHTTPRequestHandler's HTML 501. Found by curling the live server, not by reading the table.

Verification

  • 2030 tests, ruff clean, check_docs 20 pairs, gen_api_doc --check, bump_version --check.
  • Live server, fresh HOME: banner prints the phrase → arm → rotate → old value rejected → new one
    arms; MCP install → update → rollback → delete → undo-delete → delete, with the file listing
    checked at each step.

foursecondfivefour and others added 4 commits December 4, 2026 08:33
It was a constant of the build: every installation shared it, the repository
published it, and 8.9.0 had to fight the public endpoint that handed it out.
Moving it out of the public answer fixed the leak without fixing the shape of the
problem — a value nobody chose and everybody knows is a ritual, not a second step.

It now belongs to the installation. Generated on first run from a word list (three
words and a number, because the operator reads it off a terminal and retypes it on
a phone), stored in <config>/phrase at 0600 next to the token, and replaced through
POST /api/full-access/passphrase or the panel.

That route needs the bearer token *and* the current value. The token is the thing
a plugin, a log line or a screenshot leaks; rotating the second credential is
exactly what a leaked token must not authorise by itself. A successful change
disarms full access and the old value dies at once.

Details with reasons:
- writes go through a temporary file, so a crash mid-write leaves the previous
  value readable instead of locking the operator out;
- 'yesiknow' is accepted once (an upgrade must not lock out a running server) and
  refused as a new value forever (re-adopting it recreates the 8.9.0 problem);
- the mismatch error no longer repeats the value — it used to put the passphrase
  in a response body, a log line and a screenshot.

The terminal banner prints it now: the banner in tunnel/cli.py is what a person
actually sees, and it did not know about the phrase at all.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
The lifecycle existed; the properties around it did not. An update replaced the
entry wholesale, so every update reset created_at and dropped the catalogue
preset, and nothing said so. A delete was final — one click, no copy, no way
back — in a file a person can only fix by hand. And a broken entry only announced
itself by spawning a child that printed nothing and died.

What is there now:

- POST /api/mcp/update keeps identity (created_at, preset) because an update must
  not make a two-month-old server look new, reports what changed, closes the
  running session so the next call is answered by the new configuration, and
  refuses an unknown id instead of quietly creating one.
- Every update and delete writes the previous version to <id>.prev.json first,
  and POST /api/mcp/rollback puts it back. Deletion is one request away from
  undone, which is the right direction for a hand-edited file.
- GET /api/mcp/health checks each entry and each preset before anything is
  spawned: a bare name is looked up in PATH, an absolute path must exist, and the
  failure names the fix ("install Node") rather than the symptom. It never
  touches the network, so the panel calls it on mount.
- Deleting the last server deletes servers.json. The first thing anyone checks
  after an uninstall is whether the files are gone; an empty config file is the
  opposite of a clean answer.

Two bugs were found by writing the checks rather than by reading the code:
probe() reported an empty command for every pip-installed preset, so the panel
could not say how Serena starts and the health check called a working preset "no
command"; and removing the last server left an empty servers.json behind for
good.

The CI step runs a full install-update-rollback-delete cycle four times and fails
if the install ends up with a file it did not have.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
The route table knew DELETE and the generated API reference documented removing a
server, but BaseJsonHandler had no do_DELETE: BaseHTTPRequestHandler answered
every real request with an HTML 501. Found by calling the route from a live
server rather than by reading the table - which is the whole point, since a
missing do_* is invisible from the table and from the docs.

Also corrects the delete path the panel and the READMEs used: the route lives at
/api/mcp/delete, not /api/mcp.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
The Windows job failed on the new tests, and every reason was a Unix assumption
written by someone testing on Unix:

- os.kill(pid, 0) is a permission probe on POSIX and a *termination* on Windows.
  The check for a child that outlived its config now asks tasklist there.
- 0o600 on a file is not a Windows concept; the mode assertion is skipped, and
  the registry still calls secure_chmod, which is a no-op on nt by design.
- 'python3' and 'sh' do not exist on Windows. The tests now name sys.executable
  and ask PATH for the interpreter that is running them.
- A command string is split the way a shell would split it; C:\Program Files
  does not survive that. The process test passes argv as a list, which is how the
  registry stores it anyway.
- The route tests invented their own BadRequest/NotFound by patching module
  globals. They now import the real ones, which is also what _dispatch sees.

The CI gains a Windows step that asks the library where the config lives
(%APPDATA% there, not ~/.config) and asserts the stored phrase is generated and
not the compiled default.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

Copy link
Copy Markdown
Owner Author

Superseded by #27. This PR's Windows unit-test job failed solely on tests/test_phrase_store.py::test_the_file_is_private, which asserted a POSIX 0600 mode that Windows does not honor. #27 is branched from the same commit and adds that one skipIf(os.name == "nt") guard, so it carries the identical feature set and is green. Closing this one to avoid a perpetually-red PR.

foursecondfivefour added a commit that referenced this pull request Dec 4, 2026
… used (#27)

* Make the passphrase a per-installation secret, changeable from the panel

It was a constant of the build: every installation shared it, the repository
published it, and 8.9.0 had to fight the public endpoint that handed it out.
Moving it out of the public answer fixed the leak without fixing the shape of the
problem — a value nobody chose and everybody knows is a ritual, not a second step.

It now belongs to the installation. Generated on first run from a word list (three
words and a number, because the operator reads it off a terminal and retypes it on
a phone), stored in <config>/phrase at 0600 next to the token, and replaced through
POST /api/full-access/passphrase or the panel.

That route needs the bearer token *and* the current value. The token is the thing
a plugin, a log line or a screenshot leaks; rotating the second credential is
exactly what a leaked token must not authorise by itself. A successful change
disarms full access and the old value dies at once.

Details with reasons:
- writes go through a temporary file, so a crash mid-write leaves the previous
  value readable instead of locking the operator out;
- 'yesiknow' is accepted once (an upgrade must not lock out a running server) and
  refused as a new value forever (re-adopting it recreates the 8.9.0 problem);
- the mismatch error no longer repeats the value — it used to put the passphrase
  in a response body, a log line and a screenshot.

The terminal banner prints it now: the banner in tunnel/cli.py is what a person
actually sees, and it did not know about the phrase at all.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* Make MCP install, update and delete survivable

The lifecycle existed; the properties around it did not. An update replaced the
entry wholesale, so every update reset created_at and dropped the catalogue
preset, and nothing said so. A delete was final — one click, no copy, no way
back — in a file a person can only fix by hand. And a broken entry only announced
itself by spawning a child that printed nothing and died.

What is there now:

- POST /api/mcp/update keeps identity (created_at, preset) because an update must
  not make a two-month-old server look new, reports what changed, closes the
  running session so the next call is answered by the new configuration, and
  refuses an unknown id instead of quietly creating one.
- Every update and delete writes the previous version to <id>.prev.json first,
  and POST /api/mcp/rollback puts it back. Deletion is one request away from
  undone, which is the right direction for a hand-edited file.
- GET /api/mcp/health checks each entry and each preset before anything is
  spawned: a bare name is looked up in PATH, an absolute path must exist, and the
  failure names the fix ("install Node") rather than the symptom. It never
  touches the network, so the panel calls it on mount.
- Deleting the last server deletes servers.json. The first thing anyone checks
  after an uninstall is whether the files are gone; an empty config file is the
  opposite of a clean answer.

Two bugs were found by writing the checks rather than by reading the code:
probe() reported an empty command for every pip-installed preset, so the panel
could not say how Serena starts and the health check called a working preset "no
command"; and removing the last server left an empty servers.json behind for
good.

The CI step runs a full install-update-rollback-delete cycle four times and fails
if the install ends up with a file it did not have.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* Give DELETE an entry point, and fix two things the checks found

The route table knew DELETE and the generated API reference documented removing a
server, but BaseJsonHandler had no do_DELETE: BaseHTTPRequestHandler answered
every real request with an HTML 501. Found by calling the route from a live
server rather than by reading the table - which is the whole point, since a
missing do_* is invisible from the table and from the docs.

Also corrects the delete path the panel and the READMEs used: the route lives at
/api/mcp/delete, not /api/mcp.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* Make the lifecycle tests mean the same thing on Windows

The Windows job failed on the new tests, and every reason was a Unix assumption
written by someone testing on Unix:

- os.kill(pid, 0) is a permission probe on POSIX and a *termination* on Windows.
  The check for a child that outlived its config now asks tasklist there.
- 0o600 on a file is not a Windows concept; the mode assertion is skipped, and
  the registry still calls secure_chmod, which is a no-op on nt by design.
- 'python3' and 'sh' do not exist on Windows. The tests now name sys.executable
  and ask PATH for the interpreter that is running them.
- A command string is split the way a shell would split it; C:\Program Files
  does not survive that. The process test passes argv as a list, which is how the
  registry stores it anyway.
- The route tests invented their own BadRequest/NotFound by patching module
  globals. They now import the real ones, which is also what _dispatch sees.

The CI gains a Windows step that asks the library where the config lives
(%APPDATA% there, not ~/.config) and asserts the stored phrase is generated and
not the compiled default.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* Skip the POSIX-mode privacy test on Windows, matching the lifecycle convention

The Windows CI job failed on tests/test_phrase_store.py::test_the_file_is_private,
which asserts the stored passphrase file is mode 0600. Windows does not honor
POSIX permission bits (os.chmod(0o600) leaves the file readable as 0666), so the
assertion can never hold there. The same fact is already handled for the MCP
backup test via a skipIf(os.name == "nt", ...) guard; do the same here so the
Windows unit-test job turns green.

This is the last failing check on PR #26's CI: linux (3.10/3.12) and the image
build already pass, and every other 0600 assertion in the suite is already
Windows-guarded.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

---------

Co-authored-by: foursecondfivefour <291715999+foursecondfivefour@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
foursecondfivefour added a commit that referenced this pull request Dec 4, 2026
#28)

* Make the passphrase a per-installation secret, changeable from the panel

It was a constant of the build: every installation shared it, the repository
published it, and 8.9.0 had to fight the public endpoint that handed it out.
Moving it out of the public answer fixed the leak without fixing the shape of the
problem — a value nobody chose and everybody knows is a ritual, not a second step.

It now belongs to the installation. Generated on first run from a word list (three
words and a number, because the operator reads it off a terminal and retypes it on
a phone), stored in <config>/phrase at 0600 next to the token, and replaced through
POST /api/full-access/passphrase or the panel.

That route needs the bearer token *and* the current value. The token is the thing
a plugin, a log line or a screenshot leaks; rotating the second credential is
exactly what a leaked token must not authorise by itself. A successful change
disarms full access and the old value dies at once.

Details with reasons:
- writes go through a temporary file, so a crash mid-write leaves the previous
  value readable instead of locking the operator out;
- 'yesiknow' is accepted once (an upgrade must not lock out a running server) and
  refused as a new value forever (re-adopting it recreates the 8.9.0 problem);
- the mismatch error no longer repeats the value — it used to put the passphrase
  in a response body, a log line and a screenshot.

The terminal banner prints it now: the banner in tunnel/cli.py is what a person
actually sees, and it did not know about the phrase at all.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* Make MCP install, update and delete survivable

The lifecycle existed; the properties around it did not. An update replaced the
entry wholesale, so every update reset created_at and dropped the catalogue
preset, and nothing said so. A delete was final — one click, no copy, no way
back — in a file a person can only fix by hand. And a broken entry only announced
itself by spawning a child that printed nothing and died.

What is there now:

- POST /api/mcp/update keeps identity (created_at, preset) because an update must
  not make a two-month-old server look new, reports what changed, closes the
  running session so the next call is answered by the new configuration, and
  refuses an unknown id instead of quietly creating one.
- Every update and delete writes the previous version to <id>.prev.json first,
  and POST /api/mcp/rollback puts it back. Deletion is one request away from
  undone, which is the right direction for a hand-edited file.
- GET /api/mcp/health checks each entry and each preset before anything is
  spawned: a bare name is looked up in PATH, an absolute path must exist, and the
  failure names the fix ("install Node") rather than the symptom. It never
  touches the network, so the panel calls it on mount.
- Deleting the last server deletes servers.json. The first thing anyone checks
  after an uninstall is whether the files are gone; an empty config file is the
  opposite of a clean answer.

Two bugs were found by writing the checks rather than by reading the code:
probe() reported an empty command for every pip-installed preset, so the panel
could not say how Serena starts and the health check called a working preset "no
command"; and removing the last server left an empty servers.json behind for
good.

The CI step runs a full install-update-rollback-delete cycle four times and fails
if the install ends up with a file it did not have.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* Give DELETE an entry point, and fix two things the checks found

The route table knew DELETE and the generated API reference documented removing a
server, but BaseJsonHandler had no do_DELETE: BaseHTTPRequestHandler answered
every real request with an HTML 501. Found by calling the route from a live
server rather than by reading the table - which is the whole point, since a
missing do_* is invisible from the table and from the docs.

Also corrects the delete path the panel and the READMEs used: the route lives at
/api/mcp/delete, not /api/mcp.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* Make the lifecycle tests mean the same thing on Windows

The Windows job failed on the new tests, and every reason was a Unix assumption
written by someone testing on Unix:

- os.kill(pid, 0) is a permission probe on POSIX and a *termination* on Windows.
  The check for a child that outlived its config now asks tasklist there.
- 0o600 on a file is not a Windows concept; the mode assertion is skipped, and
  the registry still calls secure_chmod, which is a no-op on nt by design.
- 'python3' and 'sh' do not exist on Windows. The tests now name sys.executable
  and ask PATH for the interpreter that is running them.
- A command string is split the way a shell would split it; C:\Program Files
  does not survive that. The process test passes argv as a list, which is how the
  registry stores it anyway.
- The route tests invented their own BadRequest/NotFound by patching module
  globals. They now import the real ones, which is also what _dispatch sees.

The CI gains a Windows step that asks the library where the config lives
(%APPDATA% there, not ~/.config) and asserts the stored phrase is generated and
not the compiled default.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* Skip the POSIX-mode privacy test on Windows, matching the lifecycle convention

The Windows CI job failed on tests/test_phrase_store.py::test_the_file_is_private,
which asserts the stored passphrase file is mode 0600. Windows does not honor
POSIX permission bits (os.chmod(0o600) leaves the file readable as 0666), so the
assertion can never hold there. The same fact is already handled for the MCP
backup test via a skipIf(os.name == "nt", ...) guard; do the same here so the
Windows unit-test job turns green.

This is the last failing check on PR #26's CI: linux (3.10/3.12) and the image
build already pass, and every other 0600 assertion in the suite is already
Windows-guarded.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* 8.12.1: panel review — two blank screens, boot-time 401s, and a dozen UI fixes

- Skills and MCP views now attach their markup to the section they are given
- nav.skills / nav.mcp labels added in both languages
- views load data in onShow (after the token exists), not at mount
- paints receive changed keys; lists no longer rebuild on unrelated polls
- Settings built once (a pasted token no longer vanishes on the 5 s poll)
- 401 shown as 'Token rejected' via connectionStatus, not message text
- passphrase never used as a password-field placeholder
- removed the undeclared admin-URL fallback (ReferenceError)
- tunnel error line survives polls; [hidden] beats .btn display
- language switch re-translates rail groups and every view
- theme button no longer reverts the language
- inline style attributes (dropped by CSP) replaced by classes
- MCP lists stored servers, offers Remove / Roll back / Undo
- terminal history, clear, 3600 s timeout; Ctrl+S, Tab in editor
- styles for skills/MCP cards, badges, tool box; undefined --fg-dim fixed
- regression tests in PanelReviewRegressionTests

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

---------

Co-authored-by: foursecondfivefour <291715999+foursecondfivefour@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
foursecondfivefour added a commit that referenced this pull request Dec 4, 2026
* Make the passphrase a per-installation secret, changeable from the panel

It was a constant of the build: every installation shared it, the repository
published it, and 8.9.0 had to fight the public endpoint that handed it out.
Moving it out of the public answer fixed the leak without fixing the shape of the
problem — a value nobody chose and everybody knows is a ritual, not a second step.

It now belongs to the installation. Generated on first run from a word list (three
words and a number, because the operator reads it off a terminal and retypes it on
a phone), stored in <config>/phrase at 0600 next to the token, and replaced through
POST /api/full-access/passphrase or the panel.

That route needs the bearer token *and* the current value. The token is the thing
a plugin, a log line or a screenshot leaks; rotating the second credential is
exactly what a leaked token must not authorise by itself. A successful change
disarms full access and the old value dies at once.

Details with reasons:
- writes go through a temporary file, so a crash mid-write leaves the previous
  value readable instead of locking the operator out;
- 'yesiknow' is accepted once (an upgrade must not lock out a running server) and
  refused as a new value forever (re-adopting it recreates the 8.9.0 problem);
- the mismatch error no longer repeats the value — it used to put the passphrase
  in a response body, a log line and a screenshot.

The terminal banner prints it now: the banner in tunnel/cli.py is what a person
actually sees, and it did not know about the phrase at all.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* Make MCP install, update and delete survivable

The lifecycle existed; the properties around it did not. An update replaced the
entry wholesale, so every update reset created_at and dropped the catalogue
preset, and nothing said so. A delete was final — one click, no copy, no way
back — in a file a person can only fix by hand. And a broken entry only announced
itself by spawning a child that printed nothing and died.

What is there now:

- POST /api/mcp/update keeps identity (created_at, preset) because an update must
  not make a two-month-old server look new, reports what changed, closes the
  running session so the next call is answered by the new configuration, and
  refuses an unknown id instead of quietly creating one.
- Every update and delete writes the previous version to <id>.prev.json first,
  and POST /api/mcp/rollback puts it back. Deletion is one request away from
  undone, which is the right direction for a hand-edited file.
- GET /api/mcp/health checks each entry and each preset before anything is
  spawned: a bare name is looked up in PATH, an absolute path must exist, and the
  failure names the fix ("install Node") rather than the symptom. It never
  touches the network, so the panel calls it on mount.
- Deleting the last server deletes servers.json. The first thing anyone checks
  after an uninstall is whether the files are gone; an empty config file is the
  opposite of a clean answer.

Two bugs were found by writing the checks rather than by reading the code:
probe() reported an empty command for every pip-installed preset, so the panel
could not say how Serena starts and the health check called a working preset "no
command"; and removing the last server left an empty servers.json behind for
good.

The CI step runs a full install-update-rollback-delete cycle four times and fails
if the install ends up with a file it did not have.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* Give DELETE an entry point, and fix two things the checks found

The route table knew DELETE and the generated API reference documented removing a
server, but BaseJsonHandler had no do_DELETE: BaseHTTPRequestHandler answered
every real request with an HTML 501. Found by calling the route from a live
server rather than by reading the table - which is the whole point, since a
missing do_* is invisible from the table and from the docs.

Also corrects the delete path the panel and the READMEs used: the route lives at
/api/mcp/delete, not /api/mcp.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* Make the lifecycle tests mean the same thing on Windows

The Windows job failed on the new tests, and every reason was a Unix assumption
written by someone testing on Unix:

- os.kill(pid, 0) is a permission probe on POSIX and a *termination* on Windows.
  The check for a child that outlived its config now asks tasklist there.
- 0o600 on a file is not a Windows concept; the mode assertion is skipped, and
  the registry still calls secure_chmod, which is a no-op on nt by design.
- 'python3' and 'sh' do not exist on Windows. The tests now name sys.executable
  and ask PATH for the interpreter that is running them.
- A command string is split the way a shell would split it; C:\Program Files
  does not survive that. The process test passes argv as a list, which is how the
  registry stores it anyway.
- The route tests invented their own BadRequest/NotFound by patching module
  globals. They now import the real ones, which is also what _dispatch sees.

The CI gains a Windows step that asks the library where the config lives
(%APPDATA% there, not ~/.config) and asserts the stored phrase is generated and
not the compiled default.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* Skip the POSIX-mode privacy test on Windows, matching the lifecycle convention

The Windows CI job failed on tests/test_phrase_store.py::test_the_file_is_private,
which asserts the stored passphrase file is mode 0600. Windows does not honor
POSIX permission bits (os.chmod(0o600) leaves the file readable as 0666), so the
assertion can never hold there. The same fact is already handled for the MCP
backup test via a skipIf(os.name == "nt", ...) guard; do the same here so the
Windows unit-test job turns green.

This is the last failing check on PR #26's CI: linux (3.10/3.12) and the image
build already pass, and every other 0600 assertion in the suite is already
Windows-guarded.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* 8.12.1: panel review — two blank screens, boot-time 401s, and a dozen UI fixes

- Skills and MCP views now attach their markup to the section they are given
- nav.skills / nav.mcp labels added in both languages
- views load data in onShow (after the token exists), not at mount
- paints receive changed keys; lists no longer rebuild on unrelated polls
- Settings built once (a pasted token no longer vanishes on the 5 s poll)
- 401 shown as 'Token rejected' via connectionStatus, not message text
- passphrase never used as a password-field placeholder
- removed the undeclared admin-URL fallback (ReferenceError)
- tunnel error line survives polls; [hidden] beats .btn display
- language switch re-translates rail groups and every view
- theme button no longer reverts the language
- inline style attributes (dropped by CSP) replaced by classes
- MCP lists stored servers, offers Remove / Roll back / Undo
- terminal history, clear, 3600 s timeout; Ctrl+S, Tab in editor
- styles for skills/MCP cards, badges, tool box; undefined --fg-dim fixed
- regression tests in PanelReviewRegressionTests

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* review stage 1/10: core — symlinked-ancestor roots, dotfile upload suffixes

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* review stage 2/10: http — fail-closed GET auth, router passes, local_ui host, upload JSON routing, MCP timeout

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* review stage 3/10: services — unconditional disarm, phrase file mode, workspace jobs under full access, approval queue recovery

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* review stage 4/10: managers — standalone root helper, text-mode helper pipe, sudo read, autostart roots, reports without systemd

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* review stage 5/10: runtime — limits reach the runner, max_body enforced, 0600 secrets, tolerant monitor state

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* review stage 6/10: toolkit MCP — server tools use the real services, Origin check, server env/cwd, registry locking

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* review stage 7/10: toolkit skills and tools — downloaded skill bodies, installed binaries found, staging on the target fs, exact-byte skill digests

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* review stage 8/10: tunnel — panel switches no longer crash, catalogue assets that exist, any tar compression, atomic 0600 status

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* review stage 9/10: installer — a Windows command that runs, a setup script that survives the Store alias

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* review stage 10/10: deployment — state on the /data volume, Ansible tunnel variables, verified cloudflared in the image, compose healthcheck

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

* ci(image): run on a named volume like the docs, check that a recreated container keeps its token

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

---------

Co-authored-by: foursecondfivefour <291715999+foursecondfivefour@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant