[P1-04] Add component handles, registry, readiness, and dependency-aware health #42
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/starintel-server#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ARDR reconciliation — 2026-08-29
Canonical research/design now exist:
lost-rob0t/starintel-auto-research/roam/research/star-server/STAR-RESEARCH-042-component-handles-registry-readiness-health.org—READY_FOR_DESIGN.lost-rob0t/starintel-auto-research/roam/design/star-server/STAR-SERVER-049-component-handles-registry-readiness-health.org—DESIGN_READY_FOR_OPERATOR_REVIEW.Current-source correction
The original issue predates current
star.runtimelifecycle work. Current source already owns runtime lifecycle, retained actor/consumer/HTTP/kernel handles, owned consumer threads, CouchDB/Rabbit readiness probes, and process live/ready endpoints. The #37 ARDR design already owns the future closed component registry, dependency graph, lifecycle states, reconnect fencing, and required-component health.Therefore do not create another component manager/registry beside #37.
The remaining #42 scope is the public/runtime identity projection over that lifecycle registry:
ComponentHandle(runtimeId, componentId, generation);The original "extra HTTP Rabbit connection" defect appears repaired in current lifecycle source: HTTP startup explicitly states Rabbit publication is actor-owned. Preserve that repair; do not recreate work for it unless current implementation evidence changes.
Proposed implementation slices — ALL PENDING OPERATOR APPROVAL
Mandatory first RED
Untouched current server must fail because no opaque generation-bearing component handle contract exists.
Sibling REDs:
Acceptance
star.runtime, not two;Implementation authorization
PENDING / AWAITING_OPERATOR_IMPLEMENTATION_APPROVALResearch readiness, design completion, issue state, or machine review do not authorize RAGE implementation.
Wording correction from Auto-Research
The phrase that raw actor refs/resources "remain private" should be read strictly as an API encapsulation boundary, not as a claim that StarIntel Server source or these implementation objects are private.
starintel-servercan of course contain and use actor refs, Rabbit/CouchDB resources, HTTP handles, threads, and other concrete runtime objects. The proposed #42 design only says that the public component-reference contract should not hand those concrete objects directly to callers; it would expose opaque generation-bearing handles instead.Also, the linked Auto-Research work is research/design only. It has not "landed" this behavior in StarIntel Server and does not constitute implementation authorization.