You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/gettokens-ops-governance/SKILL.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,24 @@ This skill unifies the procedural rules for working on GetTokens, ensuring consi
12
12
-**Readiness**: Sidecar `ready` status is required for account data flow. UI mount success does not guarantee data flow.
13
13
-**Verification**: Only claim a fix is live after verifying it in the actual desktop app window, not just the browser.
14
14
15
+
### 1.1 Browser Preview & Screenshot Loop
16
+
-**When to use**:
17
+
- The page is a Wails surface, but most layout or interaction acceptance can be checked in a browser.
18
+
- The page depends on runtime bindings, yet you still need stable screenshots or quick iteration without a live desktop shell.
19
+
-**Default pattern**:
20
+
1. Add an explicit preview entry such as `?preview=<page-key>` or a dedicated frame hash.
21
+
2. In preview mode, avoid hard dependency on `window.go.main.App`; provide stable preview data instead of crashing.
22
+
3. If the page still needs “real-ish” local data in browser dev, add a dev-only HTTP bridge in `vite.config.js` rather than faking Wails runtime globally.
23
+
4. Add a focused browser check script under `docs-linhay/scripts/` that opens the preview URL and writes deterministic screenshots into the matching `space`.
24
+
-**Acceptance rule**:
25
+
- Browser screenshots are valid for layout/density review only after preview mode and fallback data are explicit and reproducible.
26
+
- If runtime bindings, sidecar readiness, or desktop-only capabilities are part of the requirement, browser acceptance does not replace the real Wails check.
27
+
-**Cache rule**:
28
+
- For external status/data pages, prefer a small local cache plus a visible “live / cache / preview” source label, so repeated page entry does not look like a full refetch every time.
29
+
-**Screenshot hygiene**:
30
+
- Keep the screenshot script near docs, not inside ad-hoc shell history.
31
+
- Reuse one stable output path per acceptance baseline instead of scattering `final/latest/temp` files.
32
+
15
33
## 2. Space Governance (`docs-linhay/spaces/`)
16
34
-**Structure**: Each space must have `README.md`, `plans/`, `screenshots/`, and `debate/`.
17
35
-**Naming**: Use English slugs. Prefer `YYYYMMDD-<topic>` for short tasks or stable feature names for milestones.
@@ -26,6 +44,14 @@ This skill unifies the procedural rules for working on GetTokens, ensuring consi
26
44
-**Memory**: Keep entries concise and decision-oriented. Run `qmd update` and `qmd embed` after any write-back.
27
45
-**Governance**: Read `AGENTS.md` first. Update it only for repo-wide, durable rules. Ensure `docs-linhay` is not ignored in `.gitignore`.
28
46
47
+
### 3.1 Cleanup Before Claiming Done
48
+
- If a long implementation session leaves tracked files still drifting after the “main” commit, do not stop at the first commit.
49
+
- Keep reconciling residual tracked diffs that belong to the same rollout until the remaining worktree noise is clearly limited to:
50
+
- external reference submodules
51
+
- local research scratch files
52
+
- user-owned temporary artifacts that are intentionally not versioned
53
+
- If generated screenshots or browser artifacts should not enter git, add or refine ignore rules before claiming cleanup is complete.
54
+
29
55
## 4. Subagent Delivery Loop
30
56
-**Trigger**: Use this loop when a requirement will be implemented by delegated agents or when the user explicitly asks for `subagent` delivery.
Copy file name to clipboardExpand all lines: docs-linhay/memory/2026-04-30.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -201,6 +201,17 @@
201
201
- 本地手工新增 model 仍保留,但只作为账号池目录之外的补充;删除最后一个本地自定义 model 也已允许,只要账号池目录本身仍非空即可。
202
202
- 本轮验证已通过:`go test ./internal/wailsapp -run 'TestFetchOpenAICompatibleProviderModels|TestParseOpenAICompatibleModelsResponseSupportsCodexModelCatalogShape|TestListRelaySupportedModelsAggregatesRemoteLocalAndCodexKeyModels|TestApplyRelayServiceConfigToLocal'`、`go test .`、`node --test frontend/src/features/status/tests/relayModelCatalog.test.mjs frontend/src/features/accounts/tests/accountConfig.test.mjs`、`npm --prefix frontend run typecheck`。
0 commit comments