Files
connector-popos/PLAN.md
T
davidandClaude Opus 5.5 2952034654 Claude notifications: clicking one brings back the app Claude runs in
Ports CoreDesktop's 4fb3539.

The hooks ran notify-send from inside Claude, so the desktop couldn't tell
which app the notification came from and clicking it did nothing.
system/claude-notify finds the terminal or editor among Claude's parent
processes (or tmux's client, or the Flatpak) and names it in the
desktop-entry hint. The title shows the project folder and the body
Claude's own message.

configure agents writes the hooks through it, and swaps the old
notify-send ones for it, only where they're still the ones it wrote.
update doesn't change settings, so old hooks make configure agents to do
until it has swapped them.

Smoketest: 35-claude-notify. TEST.md: click one on COSMIC.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:00:43 -07:00

75 lines
3.8 KiB
Markdown

# Plan
What's left to do in the Federated Connector for Pop!_OS. Delete an item once
it's done; git history keeps the record. How to test is in [TEST.md](TEST.md).
This project stays separate from CoreDesktop: Pop!_OS needs its own setup
(apt, Flathub, COSMIC, Evolution), but it keeps roughly in step with
CoreDesktop's `configure`, with the same items, working the same way.
## Federated Calendar
CoreDesktop installs Federated Calendar (based on GNOME Calendar, adds
invitations and Jitsi meetings) from the `[federated]` pacman repo. It isn't
built for Pop!_OS yet: the
[federated-calendar](https://gitea.federated.computer/Federated_Computer/federated-calendar)
repo only has `build-aux/arch/`.
- [ ] Choose how to ship it. A Flatpak is the likely choice: upstream's
`build-aux/org.gnome.Calendar.json` is a starting point, it runs
the same on any Pop!_OS release, and it updates in the COSMIC Store with
Element. The other choice is a `.deb` in an apt repo on Gitea, which
would need building for each Ubuntu release.
- [ ] Build it in federated-calendar's Gitea Actions next to the Arch package,
and publish it (a Flatpak repo on Gitea, or a `.flatpakref`)
- [ ] Federated Calendar finds the Core in `~/.config/coredesktop/cores/*.conf`;
the connector writes `~/.config/federated-connector/cores/*.conf`. Have
Federated Calendar look in both, or the connector write both. A Flatpak
also needs read access to that folder (`--filesystem=xdg-config/...:ro`).
- [ ] Check that, without GNOME, it sees the Core's calendars in GNOME Online
Accounts and Evolution Data Server, as Evolution does. A Flatpak talks to
them over D-Bus (`--talk-name=org.gnome.OnlineAccounts`,
`org.gnome.evolution.dataserver.*`).
- [ ] Install it in `configure core`, after the calendars are added, and say
so in the README, alongside Evolution
- [ ] `update`: restart it after a new version, as CoreDesktop's PLAN.md
describes (it keeps running in the background after its window closes)
## Keep in step with CoreDesktop
Last compared with CoreDesktop at `4a4a3bd` (2026-11-11), when the port was
made. Port what applies to Pop!_OS, then move this marker to the CoreDesktop
commit compared with. To see what's new:
```
git -C ../coredesktop log --oneline <marker>..HEAD -- configure configure.d sandbox system
```
Since `4a4a3bd`, to look at:
- [ ] `05b13b2` Test the agent sandbox from inside: port
`smoketest/scenarios/60-security.sh`, which runs a script through
sandbox/bin's wrappers and checks what it can't read, write or reach,
and its later checks from `d5925fa` (what root runs is root's alone) and
`53c6c8b` (the install path). Hiding the connector's settings from
agents is done.
- [ ] `9dc5eb1` Upgrade safeguards, hardware setup, sign-in options and Taildrop.
To port: `configure security-key` and `configure fingerprint` (through
`pam-auth-update` and fprintd on Pop!_OS, not by editing PAM files),
Taildrop's service that saves files sent here to Downloads (COSMIC Files
has no Scripts menu for sending), keeping the computer awake during
`update`, and the captive portal script that pauses a Tailscale exit
node. Arch only: the pacman guard, unowned files, `hardware.sh`
(System76 does its own).
- [ ] `ffbaf71` Keep other machines on the network from reaching Docker
containers: only if the connector ever installs Docker
Arch or GNOME only, nothing to port: `e14a345` and `ba4dc17` (login screen
logo), `1e2581d` (kernel modules), `d456e31` (initramfs), `5d7db2c` (reboot
after update: Pop!_OS' own updates handle this).
## Pop!_OS-specific
- [ ] The manual checks in [TEST.md](TEST.md) on a real Pop!_OS 24.04 machine,
against a real Core. None have been done yet.