Install shared authoring skill and add retained drafts browser

This commit is contained in:
2026-10-09 01:33:59 +01:00
parent 94a76f9c5c
commit 998b0941d3
28 changed files with 787 additions and 520 deletions
+14 -1
View File
@@ -18,7 +18,8 @@ PIPELINES_TEST_OPENCODE_V1=/path/to/opencode \
The stable checks use isolated home/config/data/cache directories; they never
copy login credentials or invoke a model. They exercise session creation, explicit
model selection, stored scoped permissions, abort on the same owned service,
session deletion, and authoring instruction preload with `noReply=true`.
session deletion, and discovery of the installed global authoring skill. Authoring
now references that skill directly instead of preloading instructions.
Native generation/assistant completion parsing is regression-tested against a
controlled HTTP server. Full live inference, permission enforcement by real model
@@ -43,3 +44,15 @@ systemd installed. The native `systemd-analyze verify` regression passed for the
generated unit, including a directory containing spaces, quotes, and `%`/`$`.
This reproduced and fixed the invalid quoted `WorkingDirectory` setting. A
container syntax check does not prove live user-service startup or login restart.
Authoring regression tests exercise idempotent skill installation, preservation of
user modifications, one direct OpenCode launch with a short skill/context reference,
and an unnamed new draft without CLI questions. TUI integration checks browse a
CLI-style retained draft, validate through the server, require explicit submission
confirmation, preserve create-only guards, and reject a different server.
An isolated installed-binary PTY check also opened a CLI-created draft in the TUI,
reopened the same file through a mock OpenCode executable, and explicitly submitted
it while retaining the draft. Plain unnamed CLI creation invoked the mock exactly
once. Real model-driven authoring/questions and native skill loading during a
model turn remain **not tested**; global skill discovery was tested without inference.