tractor/tractor/devx
Gud Boi 6e1c3f9901 Hoist proc-title prefix to `_def_prefix` const
Make the sub-actor proc-title prefix a single
authoritative constant (`_proctitle._def_prefix`) so
the reap-recognition markers and `xontrib` banner pick
it up automatically — one place to flip the prefix
shape going fwd.

Deats,
- `_proctitle._def_prefix: str = '_subactor'`. New
  module-level const consumed by everything that needs
  to know the prefix.
- `set_actor_proctitle(actor, prefix=_def_prefix)`:
  takes an explicit `prefix` arg (default = the const)
  so callers can override per-spawn if they want.
- Default proc-title format:
  `'tractor[<reprol>]'` → `f'{prefix}[<reprol>]'`
  i.e. `_subactor[<reprol>]` by default.
- `_testing/_reap.py`: cmdline + comm markers source
  the prefix from `_proctitle._def_prefix` instead of
  the hardcoded `'tractor['`. So
  `_is_tractor_subactor()` tracks the const
  automatically.
- `xontrib/tractor_diag.xsh`: `acli.reap` orphan-mode
  banner now interpolates the
  `_TRACTOR_PROC_CMDLINE_MARKERS` tuple directly so
  the human-readable mode line stays in sync if the
  prefix shape changes again.

(this commit msg was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code

(cherry picked from commit 3a45dbd503)
(cherry picked from commit fd8d39c0ce)
2026-06-23 18:48:42 -04:00
..
debug Update `sync_bp` + tighten `test_pause_from_sync` 2026-06-17 17:39:44 -04:00
__init__.py Add `._debug_hangs` to `.devx` for hang triage 2026-06-17 17:39:44 -04:00
_debug_hangs.py Add `._debug_hangs` to `.devx` for hang triage 2026-06-17 17:39:44 -04:00
_frame_stack.py Drop `name=__name__` from all `get_logger()` calls 2026-02-11 21:04:49 -05:00
_proctitle.py Hoist proc-title prefix to `_def_prefix` const 2026-06-23 18:48:42 -04:00
_stackscope.py Address Copilot review nits on PR #462 2026-06-18 13:37:55 -04:00
cli.py Mk debugger tests work for arbitrary pre-REPL format 2025-03-20 15:07:27 -04:00
pformat.py Mv in `modden.repr` content: some `reprlib`-utils 2025-07-13 23:33:47 -04:00