Commit Graph
330 Commits
Author SHA1 Message Date
Qiu YuzhouandDeepSeek Harness 26ecc5a11e test: drop assertions that cannot fail and the doubles they exercised
Three tests claimed coverage they could not deliver:

- subscription URL credential cleanup asserted a lookup derived from the
  already-empty subscription list, so it held even on a leak; production has
  no separate URL credential store (SubscriptionRecord.url is a plain field)
- the runtime log event sweep planted no secret values, so its secret half
  could never fail; keep the live JSON-dump check and rename the test to match
- clipboard and QR saver tests exercised only in-memory doubles that live in
  production source and have no other caller; delete the six tests and the
  three doubles (AppKit adapters stay untested, as before)

Co-Authored-By: DeepSeek Harness <noreply@deepseek.com>
2026-10-21 00:45:44 +08:00
Qiu Yuzhou 2c75ee67ec feat(runtime): hot reload ACL rules with signals 2026-10-20 23:54:05 +08:00
Qiu Yuzhou 8508080480 fix: observe agent deployment failures without port probes 2026-10-20 23:49:00 +08:00
Qiu Yuzhou f2424af305 fix(logging): preserve line boundaries and chronology 2026-10-20 16:28:11 +08:00
Qiu Yuzhou 1d85e86b8e feat(diagnostics): unify log lines into one filtered view
Collapse the four definitions of "one log line" into LogLine (timestamp,
level, source, text) with a single renderer and parser. agent.log lines
now carry the uniform prefix, absorbing the ssxng: event marker into the
source column; legacy lines degrade to raw display without rewriting.
Level detection moves into the row model with a classic three-level
taxonomy whose unified-log projection stays unchanged.

The diagnostics log view merges GUI events and the agent.log tail through
DiagnosticLogIntake into one time-ordered list with level and source
filters; the tail window logic moves into the intake and blank lines are
kept for raw fidelity. The report whitelist projection and unified-log
routing are unchanged.
2026-10-20 14:42:51 +08:00
Qiu Yuzhou ba01e305c5 feat(servers): mark groups containing the active target with a hollow bolt
Ancestor groups of the active target now show a hollow bolt beside the
existing filled bolt on the target itself, in the servers tree, the
favorites table and the home target browser; the node detail subtitle
shows "含活动目标". The derivation lives in
CatalogTreeSnapshot.ancestors(of:) so every surface shares one rule
while activeTargetID stays a runtime fact outside the catalog
projection. Groups activated directly keep the filled bolt and leave
their member rows unmarked.
2026-10-20 01:03:54 +08:00
Qiu Yuzhou e0e2814b49 refactor: separate configuration, runtime, and log directories 2026-10-19 20:17:10 +08:00
Qiu Yuzhou 12ae000cb0 refactor(runtime): separate sslocal output from GUI intent 2026-10-19 19:00:43 +08:00
Qiu Yuzhou 003e40d809 refactor(ng2): encrypt proxy listening configuration 2026-10-19 14:31:18 +08:00
Qiu Yuzhou 0f3454602f refactor: separate proxy preferences from listening configuration 2026-10-19 12:10:48 +08:00
Qiu Yuzhou d39b896192 fix(ui): avoid feedback state isolation warnings 2026-10-19 09:51:58 +08:00
Qiu Yuzhou 985153cd56 refactor(rules): separate rule values from storage models 2026-10-19 09:42:38 +08:00
Qiu Yuzhou e5b418761e test: stabilize parallel readiness and deadline checks
Wait for settings publications instead of a wall-clock polling budget. Separate DoH result aggregation from the real deadline check, and release gated probes after pass-through is enabled.
2026-10-19 03:38:57 +08:00
Qiu Yuzhou e0db8b1e13 refactor(runtime): publish isolated supervision generations
Separate Agent supervision from sslocal input and preserve the latest intent after deployment failure. Persist failure barriers, serialize publication and retirement, and verify reload and single-instance behavior with real processes.

Refs #83
2026-10-19 03:00:33 +08:00
Qiu Yuzhou 507917ab67 refactor(ng2): store secrets directly in server library records 2026-10-18 17:58:30 +08:00
Qiu Yuzhou 6cbef4e57a refactor(connectivity): store test URL in user defaults 2026-10-18 08:31:13 +08:00
Qiu Yuzhou d8a11f7b6b feat: encrypt persistent server library 2026-10-18 07:57:10 +08:00
Qiu Yuzhou 5fc5ddf1cb refactor(runtime): remove redundant mode guard 2026-10-17 17:44:09 +08:00
Qiu Yuzhou 3ea1518e1f refactor(domain): drop test-only helpers and unreachable probe fallbacks 2026-10-17 17:13:10 +08:00
Qiu Yuzhou ee195c45af refactor(settings): enforce validity only at the store seam
Drop workflow port and credential prechecks that duplicated the store
gate. Credential shape is a save constraint only while LAN
authentication is enabled; terminal commands treat password() as a
usable secret without reshaping it.
2026-10-17 16:15:40 +08:00
Qiu Yuzhou 8ca2da494d refactor(runtime): drop ProxyModeError guards and silent desired-proxy skip
Make systemProxyConfiguration total so a runtime document can no longer
swallow derivation via try? and silently skip desired system proxy
convergence. Delete the unreachable ProxyModeError / .mode failure fact
and its presentation; port validity stays at the settings store and the
document contract.
2026-10-17 15:30:47 +08:00
Qiu Yuzhou 346af7fdae refactor(activation): collapse leaf validate-derive into one preparation
Each activation leaf was validated and then derived, resolving keychain
secrets and plugin facts twice and folding derivation failures back into
skips. Prepare once and hand the resolved facts to document assembly so
the catalog tree and activation share one judgment set without a dead
fold-back path.
2026-10-17 15:10:34 +08:00
Qiu Yuzhou 27b91d60e1 refactor(settings): drop listen-settings ghost path and error-type mirrors 2026-10-17 14:34:57 +08:00
Qiu Yuzhou 9cd1bd1961 fix(home): rename terminal proxy command card 2026-10-16 03:40:17 +08:00
Qiu Yuzhou b14b935313 refactor(settings): centralize listener occupancy lifecycle 2026-10-16 02:12:32 +08:00
Qiu Yuzhou 7bd0cb44cb refactor(ui): share detail feedback timing lifecycle 2026-10-16 01:46:01 +08:00
Qiu Yuzhou 1be0976bc6 feat: show subscription usage in detail properties footer 2026-10-16 01:01:56 +08:00
Qiu Yuzhou d123497fe4 refactor(ui): reorganize server node context menu 2026-10-16 00:31:38 +08:00
Qiu Yuzhou cc0f0a9513 style(home): refine control card presentation 2026-10-16 00:10:15 +08:00
Qiu Yuzhou d3fc15dfdf refactor(ui): remove home quick action card 2026-10-15 23:03:15 +08:00
Qiu Yuzhou 45bba13156 feat(app): use paperplane.fill in app icon 2026-10-15 22:45:18 +08:00
Qiu Yuzhou 309e81c003 feat(ng2): add icon to subscription update button 2026-10-15 22:36:08 +08:00
Qiu Yuzhou ab5479a7e7 fix(ui): clarify proxy mode server requirement 2026-10-15 22:15:30 +08:00
Qiu Yuzhou 3044ca72d1 feat(settings): redesign connectivity test link row 2026-10-15 21:48:58 +08:00
Qiu Yuzhou 3f900b7b03 fix: remove bulk connectivity test controls 2026-10-15 21:08:29 +08:00
Qiu Yuzhou 4a85cf41f7 feat(localization): cover all app-facing text in Chinese and English 2026-10-15 20:03:37 +08:00
Qiu Yuzhou 8319aa8ca9 fix(servers): separate detail actions into two rows 2026-10-15 19:36:45 +08:00
Qiu Yuzhou 7bf46eb173 feat(settings): add application language selection 2026-10-15 19:07:25 +08:00
Qiu Yuzhou 297fc30c41 feat(connectivity): measure warmed HTTP latency phases 2026-10-15 17:39:13 +08:00
Qiu Yuzhou 82672d6e10 refactor(ui): remove top-level subscriptions page 2026-10-15 00:47:19 +08:00
Qiu Yuzhou ea064a5c8a refactor(servers): remove list sorting 2026-10-15 00:45:52 +08:00
Qiu Yuzhou a8fedace16 fix(servers): show subscription creation in subscription toolbar 2026-10-14 23:30:40 +08:00
Qiu Yuzhou 9bccdf460a feat(servers): manage subscription root links 2026-10-14 23:08:42 +08:00
Qiu Yuzhou 9aeff1602b feat(servers): add activation icon to catalog detail 2026-10-14 22:36:36 +08:00
Qiu Yuzhou 41ed96f966 fix(servers): use standard node detail action buttons 2026-10-14 22:26:19 +08:00
Qiu Yuzhou 9adbdccd5c refactor(servers): move activation hints into detail feedback 2026-10-14 22:18:15 +08:00
Qiu Yuzhou e535e31b16 fix(connectivity): show latency test progress 2026-10-14 21:47:51 +08:00
Qiu Yuzhou fba9e0250f feat(servers): add subscription update with inline feedback 2026-10-14 21:37:20 +08:00
Qiu Yuzhou ea66ead10b feat(servers): show subscription details in server view 2026-10-14 17:39:44 +08:00
Qiu Yuzhou 287cc5d5d5 refactor(servers): remove timestamp table columns 2026-10-14 17:15:04 +08:00