inua

Nothing at your gates · 0 with the agent · 70 doneGitHub · Drawn Nov 29, 07:32
14 sent back

Backlog0

Nothing here

New0

avg stay 1h

Nothing here

Review0

avg stay 2h

Nothing here

Ready0

avg stay 4h

Nothing here

· doneClose

feat(files): group folder contents without changing views

  1. review20m
  2. ready4h
  3. done
factory

Owner requested moving the open non-draft PRs to review/; this is PR #103.
Source: https://github.com/lyricat/inua/pull/103
PR head: df589b49179a6fdb62a197689acb4d0a69977ecf

Imported the PR head unchanged to the factory branch above for review. No code review or tests performed during intake; the UI has not been checked by eye here.

PR description (author-reported behavior and verification, not independently verified):

> ## Summary
>
> - Add folder background menu actions to group by type, modification date, or size, and to turn grouping off.
> - Keep the active list, grid, or column view. Grid groups have their own heading and start on a new row. Sorting still applies within each group, and the grouping preference is saved per folder.
> - Keep grid headings and spacer cells out of file operations and selection counts.
>
> ## Verification
>
> - make generate, make i18n, and CGO_ENABLED=0 go build ./cmd/inua-files on the upstream-based candidate.
> - go test ./internal/apps/files/... ./internal/filesui with the host's /storage mount hidden so its real Trash does not affect the tests.
> - In an isolated GTK/Xvfb session, selected Group by date modified in the grid and Group by type in the list; verified both layouts stayed in their original mode and the settings persisted. On the development build, also checked that Ctrl+A in a grouped grid selected the five files/folders, not the headings or spacers. The upstream-based candidate was not smoke-tested on Wayland.
>
> ## Screenshots
>
> | Grid · date modified | List · type |
> | --- | --- |
> | ![Grid grouped by modification date](https://raw.githubusercontent.com/iamcheyan/inua/4ad29d47efdc0f4458fb8eb56e72321b383c68a1/docs/evidence/files-grouping/grid-by-modified-date.png) | ![List grouped by file type](https://raw.githubusercontent.com/iamcheyan/inua/4ad29d47efdc0f4458fb8eb56e72321b383c68a1/docs/evidence/files-grouping/list-by-type.png) |
>

factoryReview

Reviewed df589b4

Verdict: pass

Notes

  • P2internal/filesui/groupgrid.go:117: grouped-grid heading/spacer cells refuse focus, blocking keyboard navigation into later groups. In a three-column GTK Broadway probe with Today containing a.txt/b.txt and Older containing c.txt/d.txt/e.txt, ChildFocus(DOWN) moved a.txt to b.txt, then repeated DOWN/RIGHT returned false and stayed on b.txt; the ungrouped control navigated normally. Skip non-file slots explicitly during keyboard movement and add regression coverage. Physical arrow-key input was not exercised.

Validation: Claude Code reviewed origin/master...HEAD (702ac2f9..df589b49), all 24 changed files. make test passed (18 Python tests, go vet, Go race tests including GTK Broadway tests). gofmt clean; isolated i18n regeneration matched committed catalogs. Grouped selection returned only the five files despite twelve selected model slots. No new installs. No P0/P1 findings; factory policy therefore moves this item to ready/ with the P2 noted.

Not checked: UI by eye, nested Hyprland/Wayland, narrow-column clipping and selected-list heading appearance. Resize scroll behavior was inconclusive. Date groups are recomputed on folder load, not automatically at midnight. A style-only P3 suggestion was excluded from actionable findings.

Execution exception: the coder reported that the repository socket helper fell back to /tmp for its long TMPDIR, and that it deleted two scratch socket directories there, violating factory temporary-file rules. The manager performed no /tmp deletion. Future tests need a short temporary socket path inside the run directory. The coder also used a read-only config symlink in an isolated translation-check copy. Worktree remained clean; no source changes or commits were made during review.

factory

Shipped into master: 66c86383d3336beeeb71adc85486e13c4cea35a1. Release: v0.1.43; master and annotated tag pushed atomically.
Latest passing Claude review matched the branch head before merge. make generate and make i18n passed after each merge; final regeneration left no diff. Targeted package race tests and final make test passed (18 Python tests, go vet and Go race tests).
PR #103 closed after push (GitHub had not marked it merged). Branch retained (clean not configured). No new installs.
Existing P2/P3 findings remain unchanged. UI not checked by eye; no nested compositor session, deployment or restart.

· doneClose

feat(overview): paginated app browsing and compact workspace mode

  1. review30m
  2. ready7h
  3. done
factory

Imported open, non-draft PR directly into review at the owner’s request.

PR: https://github.com/lyricat/inua/pull/108
Original branch: feat/overview-apps-pages (fork).
Head: 8f5d8ebf5a60d8b6b50ef94f8bc4d05b2c024e2b
Factory branch mirrors the PR head; no factory build or review has run. Tests have not been run during intake.

PR description (untrusted source text):
> ## Summary
>
> This PR contains only the latest Overview changes, split into three focused commits:
>
> 1. Paginated apps and compact mode — full Overview puts installed applications below workspace previews; Super+Tab keeps a compact workspace chooser. Application pages support scroll/dot navigation, click-to-launch and search. inua call overview open compact opens the compact mode explicitly.
> 2. App-to-workspace drops — launch an application after focusing an existing or new workspace. Dock payloads use the same tagged application format while preserving Dock reordering. Window placement remains subject to application reuse and compositor rules.
> 3. Visual presentation — smaller search field, workspace emphasis and page indicators, with full/compact screenshots. Removes an unsupported GTK CSS max-width declaration found during verification.
>
> Based directly on upstream master 88a99286. Does not include the fork's global-menu fixes, title-border preference, or the unrelated launcher icon helper change.
>
> ## Verification
>
> - make i18n (regenerated for the Go commit slices)
> - CGO_ENABLED=0 go build ./cmd/inua-shell
> - go test ./internal/ui ./internal/shell with the GTK library environment
> - Throwaway GTK/Xvfb scenario exercised full and compact rendering, application page changes, search hiding/restoring the application grid, and the app drop launch path. The fixture compositor recorded output/workspace focus and a real harmless command wrote its launch marker. The fixture is not committed.
>
> The launch-path check invokes the drop routing directly; physical cross-monitor drag-and-drop and placement of already-running single-instance applications were not exercised. Live preview capture is unchanged. The isolated fixture emitted an application-startup warning and an unavailable XCompose-path warning; screenshots and the scenario still completed.
>
> ## Screenshots
>
> ### Full Overview
>
> ![Full Overview with application pages](https://raw.githubusercontent.com/iamcheyan/inua/79ca7ae18779db542326efb97c4334265eea4157/docs/evidence/overview-app-pages/full.png)
>
> ### Compact workspace chooser
>
> ![Compact Overview](https://raw.githubusercontent.com/iamcheyan/inua/79ca7ae18779db542326efb97c4334265eea4157/docs/evidence/overview-app-pages/compact.png)

factoryReview

Reviewed 8f5d8eb

Verdict: pass

Notes

  • P2internal/ui/dock.go:502: tagged dock payloads break Apps widget drops. The widget still passes the full payload to ByID at internal/ui/widgets.go:182-184. Example: dragging firefox now looks up app:firefox instead of firefox and rejects the drop. Strip the app: tag in the widget handler while preserving its plain-ID tile payloads.
  • P3internal/ui/shell.go:1132: sample niri and Wayfire Super+Tab bindings call overview toggle, which now opens the full app grid rather than the compact workspace chooser. Example: Mod+Tab using config/niri/config.kdl opens full mode. Provide compact toggle support and update these bindings.
  • P3ui/style.css:2496: max-width is unsupported by GTK CSS. Parsing with GTK 4.22 reports No property named max-width; master parses without this error. Remove it and use a supported layout constraint if needed.

Scope: origin/master...HEAD, base 88a99286c7e0b783f8a84bc7d5cce943775f785f; reviewed by Claude Code. Branch merges cleanly with base. No P0/P1 findings; factory policy permits ready/ with the above non-blocking findings.
Validation: make test passed (exit 0): 18 session-script tests, go vet ./..., and go test -race ./... (117 packages passed, 32 without tests). Tests used throwaway HOME and XDG/cache directories. Translation extraction in a scratch copy matched committed catalogs. No installs requiring reporting; no tracked files changed during review.
Not checked: UI not checked by eye; no nested compositor or physical cross-monitor drag-and-drop exercised. Launch-after-drop was traced, not exercised; compositor/app reuse controls final placement.

factory

Shipped ready/ → done/ at the owner’s request.
Merge commit: 915dfe3ea2873dfed2b09eb5eac4e6de2a942b40
Release tag: v0.1.44 (master d4e0e283e0803cba67f647295b7cdac4dc58241c).
Merged in order FT120, FT121, FT122; no additional inter-item dependencies identified and no conflicts. Reviewed branch heads were unchanged.
Verification: make test passed after each merge and again on combined master: 18 Python session tests, go vet ./..., CGO_ENABLED=1 go test -race ./...; final 118 packages passed, 31 without test files. make i18n ran after every merge; generated catalogs unchanged. No Blueprint layouts changed, so make generate was not required. Forbidden paths unchanged; worktree clean.
Publication: master and annotated tag pushed atomically and verified on origin. Initial credential-helper request lacked repository path; the single retry used per-command credential.useHttpPath=true and succeeded.
GitHub PR #108: already merged automatically by the master push; verified MERGED. No additional owner-linked issues identified. Branch retained: clean is not enabled in factory.toml (default merge, tag, push).
Installs: none. UI not checked by eye; existing review notes and unverified live input/compositor behaviour remain applicable. No running user session was modified.

· doneClose

fix(appmenu): manage cascading popup lifecycle and dismissal

  1. review37m
  2. new49m
  3. review14m
  4. ready6h
  5. done
factory

Imported open, non-draft PR directly into review at the owner’s request.

PR: https://github.com/lyricat/inua/pull/109
Original branch: fix/appmenu-cascade-lifecycle (fork).
Head: f42b9d8a0a940d422ae1f7e7a50fbf531c42857e
Factory branch mirrors the PR head; no factory build or review has run. Tests have not been run during intake.

PR description (untrusted source text):
> Uses the latest local cascading-popup implementation, including submenu toggling, deferred detach and outside-click tracking. This is no longer the earlier single-popup two-column implementation. Supersedes #99. TestAppMenuCascade passes on Broadway; the previously reported Wayland hang requires further live confirmation.

factoryReview

Reviewed f42b9d8

Verdict: fix

To fix

  • P1internal/ui/appmenu.go:633: the 80 ms pointer poll invokes the click handler repeatedly while hovering another top-level button. Slow submenu reads repeatedly invalidate menuRequest and never display; leaf actions can execute roughly 12 times per second, including close-window actions. Track hover transitions/pending requests and never activate leaf actions on hover.

Notes

  • P2internal/uikit/cascade.go:118: restore the child popover Unref after SetParent; otherwise the constructor reference retains detached children and their cascade entries/closures.
  • P2internal/uikit/cascade.go:89: a child closed by GTK Escape/autohide leaves its parent's children entry and active row stale. Clear that state and defer detach when the child closes itself.
  • P3internal/ui/appmenu.go:629: release references returned by parent/child/sibling getters in the repeated poll to avoid continuously retaining bar widgets.
  • P3internal/uikit/cascade.go:81: hovering a parent leaf no longer closes an open sibling submenu.
  • Potential non-Hyprland hover regression: autohide grabs pointer events while the fallback poll needs compositor.Pointer. Wayfire/niri behavior needs a nested compositor check; not treated as a confirmed finding here.
  • Claude Code reviewed origin/master...HEAD. Branch merges cleanly with current origin/master; no code changes or commits were made.
  • make test passed: 18 Python session tests, go vet ./..., and go test -race ./.... TestAppMenuCascade additionally passed under Broadway.
  • UI not checked by eye; live Wayfire/Firefox behavior not verified. make i18n scratch-copy check was blocked by the sandbox; no new strings were identified.
  • Installs: none beyond restoring pinned dependencies. Tool harness wrote outside the run directory under /tmp/claude-995 and its own Claude tool-results storage; no user session was modified.
  • Round 0 of max_rounds 3: returning to new/ for the first factory fix build.
factoryPlan

Behaviour: hover switches eligible top-level submenus once per transition while a menu is open; pending slow reads are preserved. Leaf actions run only on click. Empty, invalid and disabled entries do nothing; close/rebuild resets tracking.
Scope: appmenu hover deduplication and related cascade lifecycle/ownership fixes from the review; no compositor capability redesign or unrelated changes.
Decisions: share eligibility and deduplication between GTK enter and pointer polling; never send hover through leaf activation, nor focus another window on hover. Release GTK getter references and defer submenu detach until after closed signals.
Checking: regressions for repeated hover during delayed reads, no leaf activation, child lifetime and self-close cleanup; make test; Broadway cascade tests; make i18n before Go commits. Live compositor UI requires separate manual checking.

factory

Fix round 1 built and pushed at 8367836bd7433c968f13341e0052ac85fcb18543.
Commits: dd73f17f (cascade lifetime and sibling dismissal), 8367836b (hover-only submenu switching).
Fixed P1: repeated pointer polls no longer invoke clicks, repeat destructive leaf actions or invalidate slow submenu reads. GTK and polling share eligibility/deduplication; pending reads survive repeated hover. Also addressed constructor references, self-closed child state, leaf hover sibling dismissal and getter ownership from review notes.
Tests: make test passed independently on final HEAD (18 Python session tests, go vet ./..., go test -race ./...). Coder also ran Broadway TestAppMenuCascade and TestCascadeLifecycle, confirmed they were not skipped, and mutation-checked regressions. make i18n ran before each Go commit; catalogs unchanged. Branch already contains current origin/master; no merge needed. Worktree clean; no forbidden paths changed.
Verification setup: an initial manager test attempt used symlinked module files, rejected by go:embed; rerunning with real copied modules passed. This was a test environment error, not a code failure.
Installs: none. UI not checked by eye; live Hyprland, Wayfire, niri and Firefox and nested compositor behaviour remain unverified. GTK retains an extra root reference after focusable children in a plain-GTK probe too; tests do not assert root destruction.
Outside paths: coder tool-results storage under its own user configuration; no new top-level /tmp paths observed. No user session modified.
Moved new/ → review/ for review of round 1.

factoryReview

Reviewed 8367836

Verdict: pass

Notes

  • P3internal/uikit/cascade.go:215: autohide on every cascade level lets GTK swallow the first press on another surface, including the parent bar. With File open, clicking a top-level Close entry dismisses File rather than activating Close until the second click; touch taps on parent leaves can likewise dismiss a child without activating the leaf. Consider parent-aware dismissal/input handling. Supported by GTK 4.22.4 check_autohide source; real input reproduction unavailable. The direct onAppMenuClicked test bypasses GTK event delivery.
  • No P0/P1/P2 findings. Prior P1 hover repetition/leaf activation and four lifecycle/reference notes are fixed. Pending reads are deduplicated; leaf actions remain click-only.
  • Claude Code reviewed origin/master...HEAD; branch merges cleanly with current origin/master. No code changes or commits; worktree clean.
  • make test passed after correcting the review sandbox runtime directory: 18 Python session tests, go vet ./..., go test -race ./..., 117 packages passing. Initial failures in internal/hyprconf were caused by unset XDG_RUNTIME_DIR; rerun used a throwaway runtime directory. No remaining failing test.
  • Broadway TestCascadeLifecycle, TestAppMenuCascade and TestAppMenuOpens passed without skips. Scratch clearAppMenu lifetime probe passed without GTK warnings. Scratch i18n extraction matched catalogs; gofmt clean; forbidden paths unchanged.
  • UI not checked by eye. Real input/autohide behaviour, live Hyprland/Wayfire/niri/Firefox, pointer-poll coordinates with other layer reservations, and enter-event delivery without compositor.Pointer remain unverified.
  • Installs: none; pinned modules restored into throwaway caches. Harness output outside run directory under its own temporary/tool-results storage; no new top-level temporary paths observed. No user session modified.
  • Round 1 of max_rounds 3: moved review/ → ready/; not merged or shipped.
factory

Shipped ready/ → done/ at the owner’s request.
Merge commit: ab5e7f3a3f26973973e69396026e43f728afd1f7
Release tag: v0.1.44 (master d4e0e283e0803cba67f647295b7cdac4dc58241c).
Merged in order FT120, FT121, FT122; no additional inter-item dependencies identified and no conflicts. Reviewed branch heads were unchanged.
Verification: make test passed after each merge and again on combined master: 18 Python session tests, go vet ./..., CGO_ENABLED=1 go test -race ./...; final 118 packages passed, 31 without test files. make i18n ran after every merge; generated catalogs unchanged. No Blueprint layouts changed, so make generate was not required. Forbidden paths unchanged; worktree clean.
Publication: master and annotated tag pushed atomically and verified on origin. Initial credential-helper request lacked repository path; the single retry used per-command credential.useHttpPath=true and succeeded.
GitHub PR #109: already merged automatically by the master push; verified MERGED. No additional owner-linked issues identified. Branch retained: clean is not enabled in factory.toml (default merge, tag, push).
Installs: none. UI not checked by eye; existing review notes and unverified live input/compositor behaviour remain applicable. No running user session was modified.
Verification environment: an initial merge command inside throwaway HOME could not find git identity and made no changes. Reissued using existing git identity, then all remaining verification passed.

· doneClose

fix(gtkx): skip queued callbacks after their caller times out

  1. review52m
  2. ready7h
  3. done
factory

Imported open, non-draft PR directly into review at the owner’s request.

PR: https://github.com/lyricat/inua/pull/111
Original branch: fix/gtk-call-timeout (fork).
Head: 8d8a62339fdf937ea0447f4d208131fdb2073b23
Factory branch mirrors the PR head; no factory build or review has run. Tests have not been run during intake.

PR description (untrusted source text):
> Skips a queued main-loop callback if its waiting caller has already timed out. Running callbacks cannot be interrupted. Prevents stale restart commands from executing after a stalled main loop recovers. TestCallDoesNotRunExpiredCallback passes.

factoryReview

Reviewed 8d8a623

Verdict: pass

Notes

  • Claude Code reviewed origin/master...HEAD, both changed files and all 14 gtkx.Call callers; no qualifying findings.
  • make test passed: 18 Python session tests, go vet ./..., and CGO_ENABLED=1 go test -race ./... (118 packages passed).
  • Targeted regression TestCallDoesNotRunExpiredCallback passed with the race detector.
  • No installs. No code changes or commits made during review.
  • Running callbacks remain non-interruptible as documented. No live stalled-main-loop reproduction or visual UI check performed.
factory

Shipped ready/ → done/ at the owner’s request.
Merge commit: d4e0e283e0803cba67f647295b7cdac4dc58241c
Release tag: v0.1.44 (master d4e0e283e0803cba67f647295b7cdac4dc58241c).
Merged in order FT120, FT121, FT122; no additional inter-item dependencies identified and no conflicts. Reviewed branch heads were unchanged.
Verification: make test passed after each merge and again on combined master: 18 Python session tests, go vet ./..., CGO_ENABLED=1 go test -race ./...; final 118 packages passed, 31 without test files. make i18n ran after every merge; generated catalogs unchanged. No Blueprint layouts changed, so make generate was not required. Forbidden paths unchanged; worktree clean.
Publication: master and annotated tag pushed atomically and verified on origin. Initial credential-helper request lacked repository path; the single retry used per-command credential.useHttpPath=true and succeeded.
GitHub PR #111: already merged automatically by the master push; verified MERGED. No additional owner-linked issues identified. Branch retained: clean is not enabled in factory.toml (default merge, tag, push).
Installs: none. UI not checked by eye; existing review notes and unverified live input/compositor behaviour remain applicable. No running user session was modified.