Skip to content

Deep-audit improvement batch: security, correctness, perf, tests (plans 001-009) - #247

Merged
Atom112 merged 73 commits into
devfrom
dev-advisor-audit-fixes
Dec 4, 2026
Merged

Atom112 merged 73 commits into
devfrom
dev-advisor-audit-fixes

Conversation

@Atom112

@Atom112 Atom112 commented Dec 3, 2026

Copy link
Copy Markdown
Owner

What & Why | 改动说明

Deep-audit improvement batch: 10 advisor plans executed, 8 landed in full, 1 partial (003-S2), 1 blocked (010) — see plans/README.md for the full index, per-plan status, and blocked-item rationale.

中文:深度审计改进批次:10 份计划已执行,8 份完整落地,1 份部分完成(003-S2),1 份阻塞(010)——完整索引、各计划状态与阻塞原因见 plans/README.md。

Includes the 28 pre-existing dev-feat-cloud-sync commits (cloud sync, micro-app platform, splash screen, theme overhaul) — this branch was cut from that tip, so they ride along; the audit work itself is the 9 Merge ... (plan NNN) commits + plans.

  • 001 fix(core): fold \\?\ prefix in file-lock keys — SEC-09 command-touch marks now reach the gate on Windows (regression test added)
  • 002 fix(chat): 7 frontend correctness fixes — ask_user expiry event + dead-bubble clearing, stale-id guard after vision await, sentinel re-bind, persistence-failure surfacing, collab epoch guard, listener double-registration guard, compression save slimmed
  • 003 fix(apps): apps-domain IPC trust — app_id validation before filesystem joins (incl. recursive delete), bridge ai/image URL validation, registry hash-check fix, read_artifact safe_join. S2 (import/export dialog gating) BLOCKED: AppHost uses the JS-side dialog plugin; needs migration to backend pick_open_path/pick_save_path first
  • 004 perf(memory): reindex N+1 fixed, import_facts single transaction, fuse_rrf extracted as the single RRF implementation (test now exercises shipped code; eval numbers identical)
  • 005 fix: branch_topic wrapped in one transaction (was 1 fsync/message under the global DB mutex + torn-write risk), harness adopt lock narrowed around transcript import
  • 006 feat(security): repo-shipped .aio/permissions.json Allow rules now require one-time out-of-repo host confirmation (mcp_trust pattern; Deny/Ask always apply; 4 gate-matrix tests; docs en+zh)
  • 007 chore(deps): removed unused cropperjs/solid-motionone/auto-launch; vitest ^5.1.2 (mocker advisories GHSA-qxg6-89mg-rqv8, GHSA-xp26-3454-mjgp resolved); 7 RUSTSEC crates updated (libsqlite3-sys pinned by rusqlite 0.39 — separate plan needed)
  • 008 perf: streaming markdown renders the growing tail as plain text (was full re-parse per 80ms flush, quadratic); ShareModal lazy-loaded (ChatPage chunk −433KB); cloud payload downloads capped at 30 MiB (gzip-bomb test); code-RAG fallback streams rows
  • 009 test: characterization tests — stream-event batching reducer extracted + 10 tests, cloud apply 5 tests (1 pinned known defect: thread-delete tombstone bypasses owner preservation). Loop tests T1-T4 BLOCKED: no tauri AppHandle test seam exists

Verification | 验证

  • npm run verify green end-to-end on the merged result (exit 0): i18n parity / doc links / gates / prettier / eslint / tsc / vitest (28 files, 158 tests) / vite build / cargo fmt / clippy -D warnings / cargo test (572 passed, 0 failed, 9 ignored)
  • Each plan's done-criteria re-verified by the reviewer (advisor) independently in isolated worktrees before merge — per-plan evidence in plans/README.md status rows
  • RAG eval guard: hybrid NDCG/MRR/P@5 identical pre/post (0.198/0.296/0.083)
  • Bundle: ChatPage chunk 712KB → 279KB (ShareModal + html2canvas split out, confirmed in dist/assets)

Docs | 文档

  • docs/en|zh/reference/permissions.md updated (permissions.json host-confirmation gate, plan 006); check:docs passes (39 files)

Checklist | 检查单

  • Branch cut from the latest dev... note: branch is cut from dev-feat-cloud-sync tip 6e99d9e, which is 28 commits ahead of dev with no divergence (verified: git log 6e99d9e..dev is empty). The 28 feature commits are included as a consequence; if maintainer prefers them via their own PR, this one can be rebased onto dev cleanly (no conflicts — see note)
  • Commit messages follow Conventional Commits with English subjects
  • No gate thresholds loosened; --no-verify not used
  • AI-agent changes self-verified to the same standard (executor runs + independent advisor re-verification per worktree)

AIO Cloud Dev and others added 30 commits November 21, 2026 14:32
Adds the Rust side of the optional team-cloud integration:

- commands/cloud/: device-flow sign-in, workspace binding, outbox flush with
  server-wins conflict handling, pull/apply/snapshot, SSE change feed,
  attachment upload/download, gzip payload artifacts and cloud-run transport
  (start, event stream, cancel, approval, artifacts).
- core/db.rs: migration v20 (cloud_account, cloud_sync_state, cloud_outbox,
  cloud_version/cloud_seq columns, attachments.cloud_id) plus tests for
  migration idempotency and outbox collapsing.
- core/secure_store.rs: keychain account for the session token.
- core/events.rs: cloud-sync-event and cloud-run-event registries.
- commands/config.rs, commands/llm/messages.rs, commands/attachment.rs: enqueue
  points for assistants, topics, messages, tombstones and attachments.
- lib.rs, commands/mod.rs: managed CloudState and command registration.

feat(cloud): 团队云后端客户端(同步、载荷、云端运行)

新增 Rust 侧云集成:设备流登录、工作区绑定、outbox 刷写与冲突收敛、
pull/apply/snapshot、SSE 变更广播、附件上传下载、gzip 载荷产物、云端运行
(启动/事件流/取消/审批/产物),迁移 v20 与事件登记。
- core/api/cloud.ts: typed wrappers for every cloud_* command (session,
  workspace, sync, attachments, payloads, cloud runs).
- core/store/cloud.ts: session/status/pending signals, the 3s sync tick that
  pauses while streaming, snapshot recovery, attachment hydration and cloud-run
  state (delta text, approvals, reply persistence).
- core/store/cloudMerge.ts + cloudMergeHelpers.ts: merge pulled changes into
  the datas store by id without reloading assistants.
- core/api/events.ts: cloud-sync-event and cloud-run-event constants.

feat(cloud): 前端云状态、API 层与事件登记
- CloudAccountCard: server URL, GitHub device sign-in (code + verification
  page), workspace binding, sync status/pending count, sign out, sync now.
- CloudRunBar: starts a team-server run for the current thread, shows streamed
  deltas, resolves tool approvals, cancels and opens artifacts.
- AgentProcessBlock: expanding a synced message fetches its agent steps on
  demand (the sync feed strips them); hydration lives in the cloud store.
- MessageBubble/ChatInterface/index.tsx: wire the bar into the composer and
  restore the cloud link on startup.
- locales: chat.cloud.* and settings.cloud.* keys in both dictionaries.

Note: this batch stages whole files, so it also carries pre-existing worktree
edits in AppSettings, ChatInterface, MessageBubble, AgentProcessBlock, index.tsx
and the locale files (background/color-picker/harness copy and other in-flight
work). The combined tree passes `npm run check:frontend` (141 tests) and
`cargo clippy --all-targets` with no warnings.

feat(cloud): 账号卡片、云端运行条与载荷懒加载
Dependency and configuration updates supporting the in-flight worktree
features: package manifests, Tauri cargo manifest/lockfile (adds flate2 for
cloud payload gzip) and app configuration/capabilities.

chore(deps): 为外观、云同步与 harness 功能更新依赖与配置
- AGENTS.md/CONTRIBUTING.md/README.md state the language policy and are mirrored
  by AGENTS.zh-CN.md, CONTRIBUTING.zh-CN.md and README.zh-CN.md.
- CONTRIBUTING.en-US.md is folded into CONTRIBUTING.md (single English source).
- Issue/PR templates, CI/release workflows, docs (en + zh) and the doc-link
  checker follow the same convention.

docs: 英文优先的治理文档与中文镜像
- plugins/harness: acp_history/acp_sessions/acp_subagents split the ACP driver
  state into focused modules; native_sessions imports existing CLI sessions.
- commands/harness.rs, api/harness*.ts, store/harness.ts and the harness UI
  (page, chat interface, message list, topic sidebar, import modal) follow the
  new session model.

feat(harness): ACP 会话历史、子代理与本机会话导入
- commands/appearance.rs + fonts.rs and api/appearance.ts + fonts.ts: custom
  backgrounds, gradients and font stacks.
- store: app-background, chat-side-panel and ui-prefs signals with tests.
- chat side panels (DiffPanel, SidePanelShell, SidePanelTabs, ColorPickerPanel)
  and the shared DiffLines/SlashHighlightedTextarea/StopSlider controls.
- utils/computer: host snapshot tool used by the agent.

feat(ui): 外观设置、侧边面板与主机快照工具
… modules

- commands/llm: turn_runner, tool_dispatch, subagents, titles and vision split
  out of the monolithic mod.rs; model/permission/tool-name helpers follow.
- store: chat/layout/store/types updated for the side-panel and appearance work,
  with shortcuts and compaction covered by tests.
- ChatPage, TopicSidebar, Layout, index.css and the shared DiffView/Dropdown/
  Markdown/SlashCommandMenu components adopt the new structure.

refactor(chat): 拆分代理回合循环与聊天外壳
Adds cloud_list_announcements (GET /v1/announcements) plus a banner under the
nav bar that shows the newest undismissed notice, polls every 15 minutes,
refreshes after workspace bind and clears on sign-out. Dismissals are stored
per installation so signing out never loses what the user already read.
Adds cloud_list_invitations plus accept/reject commands and a pending-invite
section in the cloud settings card, so a member who signs in with GitHub sees
the invitation without waiting for an email. Accepting refreshes the workspace
list so the new workspace can be bound immediately.
An invited member has no cloud_account row yet, so reading the server URL from
the bound account returned nothing and the settings card stayed empty. The three
invitation commands now take the server URL explicitly; the store remembers it
when device sign-in starts (and clears it on sign-out) so invitations and
server-wide notices work before the first bind. Also refresh invitations right
after the device grant is approved.
Every row control now uses the compact (Sm) button tier at 30px height: the
server URL field and workspace dropdown share a 280px width, text actions a
112px minimum width, and the refresh icon button the same 30px height. The URL
field also adopts the transparent ghost-field look of the dropdown it sits
above.
The sign-in action uses the neutral secondary border (like every other row
control) instead of the theme-colored outline, and shows the official GitHub
mark from the shared app-logo asset. Both account-row buttons keep a 140px
minimum width so the row does not jump between signed-in and signed-out
states.
The team cloud and app status cards used --border-dim while the background,
font and shortcut cards use the lighter --acrylic-border; both now use the
same token, so every settings section shares one border colour.
Moves the team cloud card out of the app-info page into /settings/team, with a
sidebar entry between CLI tools and app info. The card keeps its account,
workspace, invitation and sync controls; the app page now holds only the app
status, language/background and update sections.
Adds a stroke users glyph to the shared Icon set and uses it instead of the
globe, so the sidebar entry reads as team membership rather than networking.
The font-size slider now shares one row with the font dropdown (wrapping on
narrow windows), so the two related controls read as one setting instead of a
stacked column.
- topics gain visibility/owner_user_id (migration keeps previously synced
  conversations shared; new conversations default to private)
- private conversations never queue thread/message/attachment rows, so the team
  server holds no copy of them
- topic menu shares or un-shares a conversation; un-sharing purges the server
  copy (messages, runs, artifacts) and keeps the local one
- teammates' shared conversations are read-only: the composer, cloud run and
  visibility toggle are disabled for non-owners
- the owner's other devices keep a local copy when a purge event arrives
…sibility rules

- sharing a topic queues its attachments first, so messages with files upload
  once their server ids exist
- read-only / share-toggle / cloud-run rules move into a pure module with unit
  tests instead of inline conditions in three components
The share/private action moves out of the context menu into a hover action
next to the more button: a users glyph shares a private conversation, and a
persistent lock on shared conversations turns it private again. Teammates'
shared conversations show no toggle, since only the owner may change it.
Replace the A-I-O monogram with a single layered letter A: three
translucent glass strokes (violet, blue, neon cyan) that read as the
product stack - providers, engines, agents - with no crossbar and no
terminals. Regenerate every platform icon from the SVG source
(tauri icon: taskbar/dock PNGs, .ico, .icns, Android mipmaps, iOS
app icons) and swap the in-app mark used by the NavBar and the
WelcomeScreen.

中文:新 logo 改为三层玻璃质感的字母 A(紫/蓝/霓虹青),对应
providers/engines/agents 三层产品栈;由 SVG 源重新生成全平台图标并替换应用内标志。
Add a close-button behavior setting (Settings > App info): close the
app (default, unchanged) or minimize to the system tray and keep
running. The tray is only created while tray mode is active; left
click restores the main window (unminimize + show + focus) and the
right-click menu offers "Show main window" and "Quit AIO", labeled in
the active locale. Windows/macOS keep the menu on right click;
Linux has no StatusNotifier-guaranteed host and no left-click menu,
so any click degrades to "restore the window". A config read failure
fails open (the window closes normally) so a broken config can never
trap the user. Persisted as closeBehavior in config.json ("exit" |
"tray"); switching applies immediately via patch_app_config.

中文:设置-应用信息新增「点击关闭按钮行为」,可选关闭应用(默认)
或最小化到托盘;托盘左键恢复主窗口、右键菜单「显示主页面/关闭
AIO」,Linux 降级为单击恢复;closeBehavior 持久化到 config.json,
切换即时生效。
…ge writes

Four small hardenings shipped together because they share one theme -
startup and send paths must never stall:

- update check: per-request 8 s and whole-check 15 s caps (the updater
  plugin leaves requests without a timeout), startup check deferred to
  12 s and skipped offline, plus a 20 s client-side cap
- create_project: git init when the directory has no enclosing
  repository (an outer repo is reused, never nested); failures are
  non-fatal and the command moves to the blocking pool
- append_message: SQLite write moves to the blocking pool so sends do
  not compete with LLM streaming for async workers
- chat links: model-output links get a real hover underline and open
  through the system browser; slash-command save errors surface the
  underlying message

中文:更新检查加双超时并延后/离线跳过;创建项目自动 git init(外层
仓库复用不嵌套);消息写入移出 async runtime;模型链接样式与
slash 命令错误信息修正。
Collaboration rooms turn a shared (cloud) conversation into a live
session: guests join a room on the host's machine, watch the agent
stream, and - when the host grants control - submit prompts that run
on the host's configured models with per-profile overrides resolved
exactly like a local send.

The host stays the only authority: a guest-initiated turn runs with
a tighten-only TurnApprovalPolicy (every non-Deny rule-engine
decision is downgraded to Ask, Deny stays Deny) that also inherits
into subagents, and approval bubbles carry guest attribution. Guest
prompts wait for an explicit host allow/deny; tool decisions are
published back to the room. The room stream, heartbeat and all room
state stop with the cloud session (no token, no room).

Frontend: room strip and participant badges in the chat header,
live-room indicator on topic rows, collab composer banner and the
host-side prompt/approval queue (useCollabHost), pure role/prompt
policy in core/store/collabPolicy.ts with unit tests.

中文:共享会话支持实时协作房间——访客观看、受控发提示(经主机
批准);访客触发的回合全部工具调用需主机审批(只收紧、子智能体
继承、标注来源);房间流与心跳随云会话生命周期停止。
…tore

Micro-apps are self-contained HTML/JS bundles that run inside AIO in a
sandboxed iframe under their own aio-app:// origin with a per-document
CSP, and talk to the host through a capability-gated bridge
(apps_bridge_call): AI chat/embed/image on the currently selected
models, private KV and file storage, vector retrieval over the app's
own documents, and file import/export through native dialogs. No model
keys or session data ever cross the bridge; capabilities are granted
per install in the consent dialog and ungranted calls are refused at
runtime.

- backend: commands/apps (bridge, registry, store, manifest, protocol),
  install/grant/audit bookkeeping in the main DB (migrations 22-23,
  disabled_reason for registry revocations), example apps bundled as a
  resource, ring for ed25519 registry signature verification
- frontend: /apps page (store, consent dialog, launcher), app host with
  theme passthrough, nav entry; aio-app-sdk.js + aio-app-ui.css
  packages and example bundles under examples/apps
- tooling: check-app-bundle.mjs wired as check:apps in
  check:frontend; apps-registry-tool.mjs for signing a registry; the
  catalog/ folder is the template for the public aio-apps repository
- docs: micro-apps development guide (zh/en)

中文:微应用平台——沙箱 iframe(独立 aio-app:// origin + 单文档 CSP)
运行自包含 HTML/JS 包,经能力授权的 bridge 调用宿主(模型对话/
嵌入/生图、私有 KV/文件、向量检索、文件导入导出),模型密钥与会话
数据不出桥;含后端命令与安装/授权/审计迁移、前端商店/同意弹窗/
启动器页、SDK/UI 包、示例应用、bundle 检查与签名工具。
A small frameless always-on-top splash window shows while the main
window loads hidden: fully transparent background (window + webview
base color) on non-Linux with the three-stroke A logo, title and
breathing dots inline in splashscreen.html; opaque fallback on Linux
where ARGB compositing is too costly.

The main UI calls the idempotent close_splashscreen command once the
Layout is mounted, global listeners registered and two actual paint
frames have passed (double rAF): it shows and focuses the main window
first, then closes the splash, eliminating the black frame. A 20s
failsafe timer inside the splash closes it even if the webview hangs.
The Destroyed window-event handler now guards on the main window
label so the splash's normal close never triggers app-wide cleanup
(engines/streams/MCP/harness).

中文:冷启动 splash 动画——主窗口隐藏加载期间显示无边框置顶小
窗(非 Linux 全透明 + 内联三层 A logo 动画);UI 挂载并绘制两帧
后调用幂等的 close_splashscreen 先显主窗再关 splash;splash 内
20 秒保底计时器兜底挂死;全局清理只随主窗口销毁触发。
- Replace per-user background appearance controls with theme palettes and refreshed window chrome.
- Restructure the chat sidebar topic tree and add tabbed project and CLI-tool settings.
- Simplify the reasoning timeline with segmented type-colored rails and inline tool details.
- Refresh settings pages, shared modal styling, localization, and documentation.
- The per-message autocommit loop held the global DB mutex through one
  fsync per message and a crash mid-branch left a half-populated topic.
- Mirrors the BEGIN IMMEDIATE / COMMIT pattern of persist_assistant and
  upsert_topic_messages in the same file.
The fallback materialized every code_chunks embedding before scoring —
Vec<(String, Vec<f32>)> at ~15MB plus full decode CPU per query at 10k
chunks, all inside the store lock. The facts path (store/search.rs
vector_search) was already fixed to stream; this applies the same
shape: decode + cosine per row, stable descending sort, truncate to
k*2.

brute_force_topk loses its last non-test caller with this change, so it
is now cfg(test) (kept for its ordering-contract regression test);
clippy -D warnings otherwise flags it dead. Also drops a needless mut
in payloads.rs maybe_gunzip (caught by the same gate).

Eval guard numbers identical (vector 0.147/0.212/0.067, FTS
0.083/0.083/0.017, hybrid 0.198/0.296/0.083) — same math, streaming shape.
… branches

- A1: add->edit->delete in cursor order + sync-state bookkeeping
- A2: 409 conflict is server-wins (row overwritten, version recorded, queue dropped)
- A3: thread+message edit of the same thread in one batch dedupes the topic
- A4: replay is idempotent via upserts only (no version guard inside apply)
- thread-delete: tombstone vs deletedAt-upsert shapes pinned; tombstone path
  physically deletes even for the owner (marked CHARACTERIZATION known defect)
- extract the CHAT-7/CHAT-9/H-1 batching core (per-stream batches,
  flush-time message re-resolution, one-flush content+reasoning merge,
  subagent delta batches, llm-tool-result reducer) from
  chatEventListeners.ts into streamBatching.ts as a behavior-preserving
  mechanical move; listeners are now thin wrappers
- R1: interleaved streams keep separate batches
- R2/R2b: flush re-resolves by id after compaction trim; drops safely when gone
- R3/R3b: reasoning+content share one flush (one setDatas); timeline absorb
- R4/R4b: tool result mutates only the hit message id (backward search)
- R5/R5b: subagent done flushes pending batches; round change flushes first
- timers/clock injected via deps; vi.useFakeTimers drives the 80ms windows
…ormat gates

The worktree-local untracked copy of the sibling package (never committed)
is scanned by 'prettier .' and 'eslint .', breaking the verify gate; the
main tree has no such directory so the entries are inert there.
- Carry (id, content) pairs through the reindex loop instead of re-reading each fact via get_fact (N+1 SELECTs).
- Flush embedding writes per 100 facts inside one transaction (M-4) instead of one autocommit commit per fact; progress stays per-fact.
- Extract the transactional body of upsert_fact into upsert_fact_in_tx (dedup lookup, version audit, embedding write, FTS5 sync).
- import_facts now wraps the whole batch in a BEGIN IMMEDIATE transaction (M-4 pattern from commands/config.rs): a 500-fact import pays 1 WAL commit instead of ~500; any error rolls back the whole import.
- Skips the per-fact read-back the import loop never used.
…tion keyspace

Parallel storage shape (plan Step 1, option b): a second map
'permissions' in the same out-of-repo mcp-trust.json, keyed by
normalized project path -> rules fingerprint. No public API change to
the existing server-trust entries; new is/set_permissions_trusted mirror
is_trusted/set_trusted semantics (fingerprint mismatch = untrusted,
corrupt store = fail-closed, atomic write under process mutex).
- All five inline 1/(60+rank+1) copies (merged_search, iterative_search, code search fusion, store hybrid search, search_fts_only) now call the one shipped fuse_rrf; constant, accumulation, first-occurrence-wins, sort and truncation points are unchanged at every site.
- test_rrf_merge now exercises the shipped fusion (was its own copy of the formula, so the suite could not catch a ranking regression).
- graph_boost loses #[cfg(test)] and its parallel-copy comment; apply_graph_boost calls it per fact, so the tested boost formula IS the shipped one.
- The old test_graph_boost entity-matching cases move to store::tests::test_relation_entity_hits_and_graph_boost, which exercises relation_entity_hits + apply_graph_boost end to end (no historical regression case deleted).
…nfirmation

A cloned repository could ship a permissive .aio/permissions.json whose
Allow rules stack above the built-in mode defaults - defeating the
permission model, the Ask tiers, the untrusted-MCP confirmation and the
network-egress confirmation. Same threat and same remedy as P0-1/MCP-1
for mcp-servers.json: trust markers for repo files must live OUTSIDE the
repo.

load_permissions now strips Allow rules unless the file's rules
fingerprint (sha256 of the rules content, mcp_trust semantics) is
recorded in the out-of-repo store; Deny/Ask rules always apply (a repo
may only restrict). The gate sits at FILE LOAD, so every caller feeding
load_permissions().rules into check_permission /
user_allow_rule_matches is covered at once (mcp.rs, llm/mod.rs,
llm/subagents.rs); direct-rule test callers are unaffected by design.

Host-side paths bypass the gate: save_permissions re-records the
fingerprint on every host-authored write (approval 'always allow',
settings writes) - user intent IS the authorization, mirroring
mcp::mark_project_server_trusted; persist_allow_rule /
remove_auto_rules_for_server read ungated so a host write never drops
unconfirmed repo rules it is rewriting.

In-process confirmation cache keyed (project, fingerprint), cleared on
confirm and on save; LazyLock, no re-read per tool call.
get_project_permissions_status(project_id): the frontend's view of the
repo-shipped rules - has_rules / confirmed / pending allow rules / the
always-active deny rules (read-only). confirm_project_permissions
(project_id): records the current fingerprint out-of-repo (mirrors
trust_project_mcp_server's shape) and returns the now-active rules.

lib.rs: register both commands and inject the app-data dir into the
permission trust store at setup (same pattern as
local_onnx::init_app_data_dir).
One row in ProjectSettingsPanel (the MCP-trust UX shape, settings-panel
variant): shown only when the project ships unconfirmed Allow rules -
pending count, a read-only rules expander, and a confirm button that
records the fingerprint out-of-repo. All strings via t(); keys in both
locale files with identical placeholders.
Same section in both mirrors: repo-shipped Allow rules activate only
after one-time host confirmation recorded outside the repo; Deny rules
always apply; editing rules revokes the confirmation; approval-dialog
writes re-confirm automatically.
The two legacy persist tests now join the shared trust-store fixture
ordering: the host-write flow (persist_allow_rule ->
save_permissions) records a trust marker, and the store dir is a
process-wide OnceLock - without holding test_trust_lock a parallel
trust-gate test flipping the dir made these tests write markers to one
store and read from another (full-suite-only failure). Prettier fixes
the panel JSX formatting.
- The plan assumed existing round-trip tests covered import_facts; none existed (verified by grep). Adds one: full round-trip through the batched transactional path, keyed-fact dedupe on re-import, keyless facts re-inserted (historical behavior), blank-content skip, malformed-payload error.
- macOS: enigo's Key enum has no Insert/PrintScr variants; parse_key_combo now returns a platform error for insert/printscreen instead of referencing missing variants (macOS screenshot chord cmd+shift+3 is suggested).
- Linux: pipewire-rs 0.10 generates bindings from system headers and assumes the PipeWire 1.x spa_video_info_raw layout; CI and release overlay noble's header/pkg-config packages while still linking Jammy's 0.3.48 runtime libs, preserving the Ubuntu 22.04 baseline.
- secure_store: derive AES keys with TryFrom and OsRng::gen instead of zero-initialized arrays, removing the pattern CodeQL reports as a hard-coded cryptographic value.
- Mark RefTarget.ident_hint with allow(dead_code): only the Windows backend reads it, so Linux/macOS clippy under -D warnings failed.
- Point the trust-gate fixture at the shared per-process trust dir and hold the test lock for the full test body; this stops a parallel test's cleanup from deleting the store mid-rename (Windows access denied) and serializes all trust-store access.
- ci.yml now runs on dev pushes and manual dispatch only; PRs are verified locally with npm run verify instead of blocking on cross-platform CI.
- AGENTS.md and CONTRIBUTING (en/zh) now document that the author may self-review and merge during the solo phase, with the CI gate and CODEOWNERS approval restored when team development starts.
- Light palettes (Catppuccin Latte default and the active Everforest Light): slightly darker background/surface/surfaceAlt, darker text.
- Dark palettes (Catppuccin Mocha default and the active Gruvbox Dark): background unchanged, text lightened for readability.
- CSS fallback tokens mirror the new default palette values so the pre-hydration frame matches.
- Active conversation tab: 1px theme-derived outline on the top/left/right edges; the bottom stays open.
- Right-main page surface: left/right/bottom outline only; omitting the top edge keeps the active tab flowing into the page through the existing fillets.
- Both use the new --tabs-border token (text-base-rgb at 10% alpha), so the border follows the active light/dark palette.
@Atom112
Atom112 merged commit 3522c03 into dev Dec 4, 2026
4 checks passed
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