惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

AI
AI
Cloudbric
Cloudbric
Schneier on Security
Schneier on Security
V2EX - 技术
V2EX - 技术
N
News and Events Feed by Topic
Hacker News: Ask HN
Hacker News: Ask HN
L
LINUX DO - 最新话题
V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
W
WeLiveSecurity
博客园 - 司徒正美
Jina AI
Jina AI
S
Secure Thoughts
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
有赞技术团队
有赞技术团队
WordPress大学
WordPress大学
Security Archives - TechRepublic
Security Archives - TechRepublic
博客园 - 三生石上(FineUI控件)
The Last Watchdog
The Last Watchdog
S
Security @ Cisco Blogs
S
SegmentFault 最新的问题
Attack and Defense Labs
Attack and Defense Labs
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
SecWiki News
SecWiki News
Google DeepMind News
Google DeepMind News
T
Troy Hunt's Blog
H
Heimdal Security Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
N
News and Events Feed by Topic
雷峰网
雷峰网
Last Week in AI
Last Week in AI
IT之家
IT之家
Project Zero
Project Zero
O
OpenAI News
腾讯CDC
The Hacker News
The Hacker News
L
Lohrmann on Cybersecurity
T
Tenable Blog
博客园_首页
C
Cisco Blogs
酷 壳 – CoolShell
酷 壳 – CoolShell
S
Schneier on Security
Scott Helme
Scott Helme
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
人人都是产品经理
人人都是产品经理
P
Privacy International News Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4 test: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
docs: add application modernization plan (#71528) · openclaw/openclaw@b85b106
BunsDev · 2026-04-25 · via Recent Commits to openclaw:main

@@ -0,0 +1,210 @@

1+

---

2+

summary: "Comprehensive application modernization plan with frontend delivery skill updates"

3+

title: "Application modernization plan"

4+

read_when:

5+

- Planning a broad OpenClaw application modernization pass

6+

- Updating frontend implementation standards for app or Control UI work

7+

- Turning a broad product quality review into phased engineering work

8+

---

9+10+

# Application modernization plan

11+12+

## Goal

13+14+

Move the application toward a cleaner, faster, more maintainable product without

15+

breaking current workflows or hiding risk in broad refactors. The work should

16+

land as small, reviewable slices with proof for each touched surface.

17+18+

## Principles

19+20+

- Preserve current architecture unless a boundary is demonstrably causing churn,

21+

performance cost, or user-visible bugs.

22+

- Prefer the smallest correct patch for each issue, then repeat.

23+

- Separate required fixes from optional polish so maintainers can land high

24+

value work without waiting on subjective decisions.

25+

- Keep plugin-facing behavior documented and backwards compatible.

26+

- Verify shipped behavior, dependency contracts, and tests before claiming a

27+

regression is fixed.

28+

- Make the main user path better first: onboarding, auth, chat, provider setup,

29+

plugin management, and diagnostics.

30+31+

## Phase 1: Baseline audit

32+33+

Inventory the current application before changing it.

34+35+

- Identify the top user workflows and the code surfaces that own them.

36+

- List dead affordances, duplicate settings, unclear error states, and expensive

37+

render paths.

38+

- Capture current validation commands for each surface.

39+

- Mark issues as required, recommended, or optional.

40+

- Document known blockers that need owner review, especially API, security,

41+

release, and plugin contract changes.

42+43+

Definition of done:

44+45+

- One issue list with repo-root file references.

46+

- Each issue has severity, owner surface, expected user impact, and a proposed

47+

validation path.

48+

- No speculative cleanup items are mixed into required fixes.

49+50+

## Phase 2: Product and UX cleanup

51+52+

Prioritize visible workflows and remove confusion.

53+54+

- Tighten onboarding copy and empty states around model auth, gateway status,

55+

and plugin setup.

56+

- Remove or disable dead affordances where no action is possible.

57+

- Keep important actions visible across responsive widths instead of hiding them

58+

behind fragile layout assumptions.

59+

- Consolidate repeated status language so errors have one source of truth.

60+

- Add progressive disclosure for advanced settings while keeping core setup fast.

61+62+

Recommended validation:

63+64+

- Manual happy path for first-run setup and existing user startup.

65+

- Focused tests for any routing, config persistence, or status derivation logic.

66+

- Browser screenshots for changed responsive surfaces.

67+68+

## Phase 3: Frontend architecture tightening

69+70+

Improve maintainability without a broad rewrite.

71+72+

- Move repeated UI state transformations into narrow typed helpers.

73+

- Keep data fetching, persistence, and presentation responsibilities separate.

74+

- Prefer existing hooks, stores, and component patterns over new abstractions.

75+

- Split oversized components only when it reduces coupling or clarifies tests.

76+

- Avoid introducing broad global state for local panel interactions.

77+78+

Required guardrails:

79+80+

- Do not change public behavior as a side effect of file splitting.

81+

- Keep accessibility behavior intact for menus, dialogs, tabs, and keyboard

82+

navigation.

83+

- Verify that loading, empty, error, and optimistic states still render.

84+85+

## Phase 4: Performance and reliability

86+87+

Target measured pain rather than broad theoretical optimization.

88+89+

- Measure startup, route transition, large list, and chat transcript costs.

90+

- Replace repeated expensive derived data with memoized selectors or cached

91+

helpers where profiling proves value.

92+

- Reduce avoidable network or filesystem scans on hot paths.

93+

- Keep deterministic ordering for prompt, registry, file, plugin, and network

94+

inputs before model payload construction.

95+

- Add lightweight regression tests for hot helpers and contract boundaries.

96+97+

Definition of done:

98+99+

- Each performance change records baseline, expected impact, actual impact, and

100+

remaining gap.

101+

- No perf patch lands solely on intuition when cheap measurement is available.

102+103+

## Phase 5: Type, contract, and test hardening

104+105+

Raise correctness at the boundary points users and plugin authors depend on.

106+107+

- Replace loose runtime strings with discriminated unions or closed code lists.

108+

- Validate external inputs with existing schema helpers or zod.

109+

- Add contract tests around plugin manifests, provider catalogs, gateway protocol

110+

messages, and config migration behavior.

111+

- Keep compatibility paths in doctor or repair flows instead of startup-time

112+

hidden migrations.

113+

- Avoid test-only coupling to plugin internals; use SDK facades and documented

114+

barrels.

115+116+

Recommended validation:

117+118+

- `pnpm check:changed`

119+

- Targeted tests for every changed boundary.

120+

- `pnpm build` when lazy boundaries, packaging, or published surfaces change.

121+122+

## Phase 6: Documentation and release readiness

123+124+

Keep user-facing docs aligned with behavior.

125+126+

- Update docs with behavior, API, config, onboarding, or plugin changes.

127+

- Add changelog entries only for user-visible changes.

128+

- Keep plugin terminology user-facing; use internal package names only where

129+

needed for contributors.

130+

- Confirm release and install instructions still match the current command

131+

surface.

132+133+

Definition of done:

134+135+

- Relevant docs are updated in the same branch as behavior changes.

136+

- Generated docs or API drift checks pass when touched.

137+

- The handoff names any skipped validation and why it was skipped.

138+139+

## Recommended first slice

140+141+

Start with a scoped Control UI and onboarding pass:

142+143+

- Audit first-run setup, provider auth readiness, gateway status, and plugin

144+

setup surfaces.

145+

- Remove dead actions and clarify failure states.

146+

- Add or update focused tests for status derivation and config persistence.

147+

- Run `pnpm check:changed`.

148+149+

This gives high user value with limited architecture risk.

150+151+

## Frontend skill update

152+153+

Use this section to update the frontend-focused `SKILL.md` supplied with the

154+

modernization task. If adopting this guidance as a repo-local OpenClaw skill,

155+

create `.agents/skills/openclaw-frontend/SKILL.md` first, keep the frontmatter

156+

that belongs in that target skill, then add or replace the body guidance with

157+

the following content.

158+159+

```markdown

160+

# Frontend Delivery Standards

161+162+

Use this skill when implementing or reviewing user-facing React, Next.js,

163+

desktop webview, or app UI work.

164+165+

## Operating rules

166+167+

- Start from the existing product workflow and code conventions.

168+

- Prefer the smallest correct patch that improves the current user path.

169+

- Separate required fixes from optional polish in the handoff.

170+

- Do not build marketing pages when the request is for an application surface.

171+

- Keep actions visible and usable across supported viewport sizes.

172+

- Remove dead affordances instead of leaving controls that cannot act.

173+

- Preserve loading, empty, error, success, and permission states.

174+

- Use existing design-system components, hooks, stores, and icons before adding

175+

new primitives.

176+177+

## Implementation checklist

178+179+

1. Identify the primary user task and the component or route that owns it.

180+

2. Read the local component patterns before editing.

181+

3. Patch the narrowest surface that solves the issue.

182+

4. Add responsive constraints for fixed-format controls, toolbars, grids, and

183+

counters so text and hover states cannot resize the layout unexpectedly.

184+

5. Keep data loading, state derivation, and rendering responsibilities clear.

185+

6. Add tests when logic, persistence, routing, permissions, or shared helpers

186+

change.

187+

7. Verify the main happy path and the most relevant edge case.

188+189+

## Visual quality gates

190+191+

- Text must fit inside its container on mobile and desktop.

192+

- Toolbars may wrap, but controls must remain reachable.

193+

- Buttons should use familiar icons when the icon is clearer than text.

194+

- Cards should be used for repeated items, modals, and framed tools, not for

195+

every page section.

196+

- Avoid one-note color palettes and decorative backgrounds that compete with

197+

operational content.

198+

- Dense product surfaces should optimize for scanning, comparison, and repeated

199+

use.

200+201+

## Handoff format

202+203+

Report:

204+205+

- What changed.

206+

- What user behavior changed.

207+

- Required validation that passed.

208+

- Any validation skipped and the concrete reason.

209+

- Optional follow-up work, clearly separated from required fixes.

210+

```