Repository navigation
v4.23.0
Marked-only topic discovery
- Opt in with
CCGRAM_TOPIC_DISCOVERY=markedorccgram run --topic-discovery marked. Automatic discovery remains the default on agterm, Herdr, and tmux. - Select a terminal with
ccgram topic mark TARGET; inspect exact target IDs, native owners, and unfinished operations withccgram topic status. These commands do not need Telegram credentials. In marked mode,unmark TARGETstops future automatic admission without interrupting existing topics. - Keep selection with the native terminal, not its agent conversation: agterm uses the primary session flag, tmux a window-local option, and standard Herdr a persisted ON/OFF owner suffix. Herdr retains the visible owner suffix when unselected. No Herdr fork or restoration plugin is required.
- Journal native selection for Telegram-created, explicitly bound and CLI-selected targets. Credential-free CLI mutation requires the matching state, backend and actual native endpoint, through the live daemon or an exclusive offline state lease. No unjournaled direct-write fallback.
- Arm native writes durably before dispatch. An ambiguous attempt blocks new admission, retries and settlement for its resource in both modes, without interrupting existing topic delivery or liveness. Maintenance requires verified native completion or exact native-process retirement before fresh owner/intent checks.
- Detaching the last topic in marked mode clears selection but leaves the terminal running, protected from orphan expiry until successful re-admission.
Native boundaries
Agterm splits remain explicitly bindable without selecting the primary. Tmux selection lasts for its native window's lifetime. Herdr layout copies include selection: duplicate owners are quarantined, but a sole copy is indistinguishable from an intentional import. Concurrent external metadata edits are not atomic compare-and-set operations.
Unproved native endpoints fail closed. An agterm installed/running image mismatch (-67034, errSecCSStaticCodeChanged) refuses guarded writes. Save work and restart the App normally before retrying. No positive live guarded agterm write is claimed against that mismatched image. See native limits.
Contributor safety
Scope native-test cleanup to the creating socket/session. Never close a default-server window by a private-server ID or infer ownership of a workspace or Git checkout (#402).
Upgrade
Stop older ccgram writers and CLI invocations before upgrading. Existing bindings remain active after restart. Ordinary v4.22 state without the marker journal is valid. Unpublished three- or four-field development journals fail closed: preserve them rather than deleting evidence.
To opt in, set CCGRAM_TOPIC_DISCOVERY=marked and select exact IDs from status. Follow the quarantine procedure for ambiguous writes. CCGram never kills or restarts native servers. Operator retirement of a tmux server can end terminals and agents and lose unsaved work. A timer, snapshot or ccgram restart cannot clear dispatch uncertainty.