Document detached GhostlightDungeon hosting

This commit is contained in:
Meta Vens 2026-08-16 17:00:31 +02:00
commit def4263f24
3 changed files with 15 additions and 9 deletions

View file

@ -451,14 +451,18 @@ Starfire's private LAN and `10.77.0.0/24`; there is no public listener or
Yggdrasil web gateway. Two single-use invites establish separate HttpOnly
sessions. Campaigns remain single-player.
The Windows service uses a dedicated virtual service identity. Runtime ACLs
permit only administrators and that identity. Setup reads the DeepSeek key from
stdin and writes a machine-scoped DPAPI secret with restricted ACLs. The key is
absent from source, arguments, logs, environment projections, and exports.
The MVP runs as a normal detached process under the Starfire operator account.
The launcher records the PID, exact executable path, release commit, and logs;
the stop path refuses an executable mismatch. Runtime ACLs permit the operator,
SYSTEM, and administrators. Setup reads the DeepSeek key once and writes a
machine-scoped DPAPI secret. The key is absent from source, arguments, logs,
environment projections, and exports.
Releases are immutable directories built from exact commits. Activation is an
atomic pointer switch, recorded in CultCache. The service has restart recovery
and the rollback runbook lives in `gamecult-ops`.
atomic pointer switch, recorded in CultCache, and the rollback runbook lives in
`gamecult-ops`. The MVP process does not automatically survive logout or reboot.
Task Scheduler may be added when tester availability makes that useful; native
Windows service machinery is outside the MVP.
Live VoidBot integration remains gated on independent verification of the SSH
host fingerprint, reconciliation of Yggdrasil inventory/DNS, repair of the
@ -508,8 +512,8 @@ The UI consumes existing `gamecult.eve.surface.v1` and
7. Add the VoidBot and DeepSeek production adapters without granting either
commit authority.
8. Publish the CultMesh/Eve surface and thin authenticated browser host.
9. Add service installation, DPAPI setup, release activation, firewall, and
rollback tooling under the correct repository owners.
9. Add detached-process launch/stop, DPAPI setup, release activation, firewall,
and rollback tooling under the correct repository owners.
10. Run fixture regressions, invariant fault tests, browser acceptance, and the
final Starfire deployment smoke.

View file

@ -68,4 +68,5 @@
{"note": "Ghostlight agent-state schema is now the first shared cross-runtime payload contract. CultNet clients should carry ghostlight.agent_state.v0 unchanged inside typed document envelopes, with CultLib-style auth/session semantics handled by the transport layer rather than bespoke per-repo glue.", "status": "accepted", "ts": "2026-05-06T04:49:20+00:00", "type": "architecture"}
{"note": "GhostlightDungeon ownership map accepted: Ghostlight owns generalized Projector-Persona-Interpreter machinery; consuming Personas such as Epiphany retain canonical mind and commit authority through narrow adapters. WorldKernel is the sole campaign writer.", "status": "accepted", "ts": "2026-08-16T14:26:32+00:00", "type": "architecture"}
{"note": "Epiphany extraction map grounded in persona_turn.rs, persona_executor.rs, persona-service, conversation, and Discord crossing: shared orchestration moves to Ghostlight; Epiphany Mind/state/mouth stay; narrow slicer, transport, receipt, schema, and permit ports split; strict v1 removes second-channel state from Persona turn.", "status": "accepted", "ts": "2026-08-16T14:28:19+00:00", "type": "architecture"}
{"ts": "2026-08-16T14:46:04+00:00", "type": "verification", "status": "ok", "note": "DeepSeek credential validated and migrated from plaintext ops ingress to machine-scoped DPAPI at the runtime root; native Rust DPAPI loading and live deepseek-v4-flash startup probe passed without persisting or displaying secret or reasoning content. Service ACL and protected invite generation remain in the elevated ops install."}
{"note": "DeepSeek credential validated and migrated from plaintext ops ingress to machine-scoped DPAPI at the runtime root; native Rust DPAPI loading and live deepseek-v4-flash startup probe passed without persisting or displaying secret or reasoning content. Service ACL and protected invite generation remain in the elevated ops install.", "status": "ok", "ts": "2026-08-16T14:46:04+00:00", "type": "verification"}
{"ts": "2026-08-16T15:00:31+00:00", "type": "deployment", "status": "ok", "note": "GhostlightDungeon MVP deployed on Starfire as a normal detached operator process, not a Windows service. Exact release 747b27e9 listens on 8831, DeepSeek DPAPI startup inference is ready, unauthenticated surface access returns 401, PID/executable/log witnesses are recorded, and the obsolete stopped service was deleted."}

View file

@ -70,3 +70,4 @@
{"key": "2026-08-16T142632Z0000-0068-b7da3122b5e8", "payload": "eyJub3RlIjogIkdob3N0bGlnaHREdW5nZW9uIG93bmVyc2hpcCBtYXAgYWNjZXB0ZWQ6IEdob3N0bGlnaHQgb3ducyBnZW5lcmFsaXplZCBQcm9qZWN0b3ItUGVyc29uYS1JbnRlcnByZXRlciBtYWNoaW5lcnk7IGNvbnN1bWluZyBQZXJzb25hcyBzdWNoIGFzIEVwaXBoYW55IHJldGFpbiBjYW5vbmljYWwgbWluZCBhbmQgY29tbWl0IGF1dGhvcml0eSB0aHJvdWdoIG5hcnJvdyBhZGFwdGVycy4gV29ybGRLZXJuZWwgaXMgdGhlIHNvbGUgY2FtcGFpZ24gd3JpdGVyLiIsICJzdGF0dXMiOiAiYWNjZXB0ZWQiLCAidHMiOiAiMjAyNi0wOC0xNlQxNDoyNjozMiswMDowMCIsICJ0eXBlIjogImFyY2hpdGVjdHVyZSJ9", "stored_at": "2026-08-16T14:26:32.332252+00:00", "type": "ghostlight.evidence_record.v0"}
{"key": "2026-08-16T142819Z0000-0069-97f4de27c74a", "payload": "eyJub3RlIjogIkVwaXBoYW55IGV4dHJhY3Rpb24gbWFwIGdyb3VuZGVkIGluIHBlcnNvbmFfdHVybi5ycywgcGVyc29uYV9leGVjdXRvci5ycywgcGVyc29uYS1zZXJ2aWNlLCBjb252ZXJzYXRpb24sIGFuZCBEaXNjb3JkIGNyb3NzaW5nOiBzaGFyZWQgb3JjaGVzdHJhdGlvbiBtb3ZlcyB0byBHaG9zdGxpZ2h0OyBFcGlwaGFueSBNaW5kL3N0YXRlL21vdXRoIHN0YXk7IG5hcnJvdyBzbGljZXIsIHRyYW5zcG9ydCwgcmVjZWlwdCwgc2NoZW1hLCBhbmQgcGVybWl0IHBvcnRzIHNwbGl0OyBzdHJpY3QgdjEgcmVtb3ZlcyBzZWNvbmQtY2hhbm5lbCBzdGF0ZSBmcm9tIFBlcnNvbmEgdHVybi4iLCAic3RhdHVzIjogImFjY2VwdGVkIiwgInRzIjogIjIwMjYtMDgtMTZUMTQ6Mjg6MTkrMDA6MDAiLCAidHlwZSI6ICJhcmNoaXRlY3R1cmUifQ==", "stored_at": "2026-08-16T14:28:19.728049+00:00", "type": "ghostlight.evidence_record.v0"}
{"key": "2026-08-16T144604Z0000-0070-b7d6330d1d5c", "payload": "eyJub3RlIjogIkRlZXBTZWVrIGNyZWRlbnRpYWwgdmFsaWRhdGVkIGFuZCBtaWdyYXRlZCBmcm9tIHBsYWludGV4dCBvcHMgaW5ncmVzcyB0byBtYWNoaW5lLXNjb3BlZCBEUEFQSSBhdCB0aGUgcnVudGltZSByb290OyBuYXRpdmUgUnVzdCBEUEFQSSBsb2FkaW5nIGFuZCBsaXZlIGRlZXBzZWVrLXY0LWZsYXNoIHN0YXJ0dXAgcHJvYmUgcGFzc2VkIHdpdGhvdXQgcGVyc2lzdGluZyBvciBkaXNwbGF5aW5nIHNlY3JldCBvciByZWFzb25pbmcgY29udGVudC4gU2VydmljZSBBQ0wgYW5kIHByb3RlY3RlZCBpbnZpdGUgZ2VuZXJhdGlvbiByZW1haW4gaW4gdGhlIGVsZXZhdGVkIG9wcyBpbnN0YWxsLiIsICJzdGF0dXMiOiAib2siLCAidHMiOiAiMjAyNi0wOC0xNlQxNDo0NjowNCswMDowMCIsICJ0eXBlIjogInZlcmlmaWNhdGlvbiJ9", "stored_at": "2026-08-16T14:46:04.295343+00:00", "type": "ghostlight.evidence_record.v0"}
{"key": "2026-08-16T150031Z0000-0071-f1b3502e505f", "payload": "eyJub3RlIjogIkdob3N0bGlnaHREdW5nZW9uIE1WUCBkZXBsb3llZCBvbiBTdGFyZmlyZSBhcyBhIG5vcm1hbCBkZXRhY2hlZCBvcGVyYXRvciBwcm9jZXNzLCBub3QgYSBXaW5kb3dzIHNlcnZpY2UuIEV4YWN0IHJlbGVhc2UgNzQ3YjI3ZTkgbGlzdGVucyBvbiA4ODMxLCBEZWVwU2VlayBEUEFQSSBzdGFydHVwIGluZmVyZW5jZSBpcyByZWFkeSwgdW5hdXRoZW50aWNhdGVkIHN1cmZhY2UgYWNjZXNzIHJldHVybnMgNDAxLCBQSUQvZXhlY3V0YWJsZS9sb2cgd2l0bmVzc2VzIGFyZSByZWNvcmRlZCwgYW5kIHRoZSBvYnNvbGV0ZSBzdG9wcGVkIHNlcnZpY2Ugd2FzIGRlbGV0ZWQuIiwgInN0YXR1cyI6ICJvayIsICJ0cyI6ICIyMDI2LTA4LTE2VDE1OjAwOjMxKzAwOjAwIiwgInR5cGUiOiAiZGVwbG95bWVudCJ9", "stored_at": "2026-08-16T15:00:31.447772+00:00", "type": "ghostlight.evidence_record.v0"}