forked from bots-garden/ori
Handoff — 2026-09-17 — ori-desktop (Wails), @/skill selectors, draw.io + image previews
Where things stand
- ori-desktop (
ori-desktop/, own Go module, Wails v2.16.0): builds and launches on the user's Mac. Check reported "ori is reachable (status: ok)"; Connect appeared to do nothing → root cause was CSS specificity (#connect-screenbeat.screen[hidden]), fixed infrontend/src/main.css+index.html. The user has not yet rebuilt and retested. Next unknown: does the<iframe>tohttp://localhost:8888render inside WKWebView from thewails://origin? If blank:wails build -debug, right-click → Inspect Element, read the console; candidates are ATS (NSAllowsLocalNetworkingis already inbuild/darwin/Info.plist) or a mixed-content/frame policy. Fallback already wired: "Open in browser" (runtime.BrowserOpenURL). - Selectors + previews in ori: implemented, tested (102 vitest, 9 Go pkgs, -race clean), documented EN+FR. Smoke-tested by riker with the real binary + mock agent (
make run-mock: type@and/in the composer; the mock announces commandsreview/compactand echoes[attached: name]). Not yet tried against the real Claude adapter (v0.16.2 reportedly convertsresource_linkinto a file reference — verified by reading its source, not by running it). - Quality gate not run: qlty is not installed in this sandbox. Rerun
python3 ~/.claude/skills/quality/scripts/quality_report.py --workspace .in a sandbox with the dev-toolkit kit before considering this work closed; expect possible findings in the new files (internal/files/search.go,raw.go,internal/skills/,ui/src/mentions.ts,useCompletion.ts,CompletionPopup.tsx,PromptInput.tsx,ImageView.tsx,DrawioView.tsx).
Traps learned
- Wails CLI
go installneedsCGO_ENABLED=0where there is no gcc; Windows cross-build needs no C toolchain; macOS/Linux builds need Xcode / webkit2gtk.wails buildwritesfrontend/wailsjs/andbuild/bin/— both gitignored. - Wails "plain" frontend: never style a screen by
#idwhen hiding relies on[hidden]— id specificity wins. - biome
organizeImportsfires on many pre-existing files → evidently not part of the project gate;useExhaustiveDependenciesrejects synthetic deps;role="listbox"/"option"on divs needstabIndex={-1}plus auseSemanticElementssuppression. sandboxes/(untracked sbx source checkout at the repo root) is walked by/api/files/search; consider gitignoring/removing it.- The IssueSpec task-item schema is unknown here (no tool installed); tickets were filled with
bodytext only (bob used{text, done}tasks in 0005 — unverified shape).
Next steps (user's decisions)
- Rebuild ori-desktop (
cd ori-desktop && wails build && open build/bin/ori-desktop.app) and report whether ori shows in the frame. - Run the qlty gate; fix findings without weakening checks.
- Optional follow-ups: render
user_message.attachmentsas chips; refresh the skills list on demand; offline draw.io via vendoredviewer-static.min.js; ori's own app icon for the desktop; mermaid preview (ticket 0010), light/dark themes (0013), resizable explorer (0015) are open tickets not touched. - Commit — everything since 2434cc7 is still uncommitted.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|