acdream/src/AcDream.Headless
Erik 5244e46daa feat(headless): FA6 finalize — ship fellowship-only, defer allegiance behind a flag
Six live runs against local ACE (testaccount/+Acdream as Leader,
testaccount2/+Horan as Recruit) converged on a clean split:

- FELLOWSHIP two-session gate PASSES live, reproduced in three separate
  runs. The decisive cross-session assertion (the Recruit bot's own
  RuntimeFellowshipState — a separate process's canonical Runtime owner,
  not the Leader's local echo — flipping IsInFellowship=true,
  MemberCount=2, LeaderGuid=<Leader>) holds every time. This ships as the
  automated gate.
- ALLEGIANCE swear never completes: ACE returns nothing at all to
  Event_SwearAllegiance (0x001D) — no 0x0274 confirmation, no 0x0020 tree
  update, no WeenieError — even at 0.005 m separation (run6's distance
  diagnostic ruled out retail's 2.0 m swear-distance gate). Ambiguous
  between an FA1 wire-builder defect, an ACE-side rule this test pair
  trips, or a drop; disambiguating needs an ACE server console this
  harness doesn't have. Filed as docs/ISSUES.md #384 and
  docs/architecture/retail-divergence-register.md AD-87.

AllegianceGateEnabled (static readonly, not const, to avoid a CS0162
unreachable-code build error from branching on a literal) gates every
allegiance-dependent stage in BOTH policy classes off by default:
Leader's WaitForVassal (skipped straight to the reconnect+teardown that
only need fellowship state), Recruit's Swear/WaitSwornSeed/Break/
WaitBrokenSeed (same). All of that code stays fully written and wired —
flipping the flag re-enables it for a follow-up investigation once #384
closes. WaitReconnectReseed on both sides now asserts fellowship-only
re-seeding when the flag is off, preserving the reconnect-idempotence
proof independent of the allegiance blocker.

The two live-run diagnostics added while investigating #384 (the
confirmation-arrival log line in HeadlessSessionHost's
OnConfirmationRequest, and LogDistanceToPatron in the Recruit policy) are
kept as permanent, clearly-labeled evidence for whoever reopens #384 —
neither is "TEMP, strip later."

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-12 10:23:59 +02:00
..
Configuration feat(headless): FA6 — role-discriminated policy + the fellowship/allegiance 2026-08-12 09:39:55 +02:00
Credentials feat(headless): complete portable single-session host 2026-07-27 07:36:53 +02:00
Diagnostics fix(runtime): same-value LocalEntityId re-assertion is a no-op; file #365 headless hydration regression 2026-08-10 08:48:37 +02:00
Hosting feat(headless): FA6 finalize — ship fellowship-only, defer allegiance behind a flag 2026-08-12 10:23:59 +02:00
Platform feat(linux): add graphical platform services 2026-07-27 11:54:59 +02:00
Policies feat(headless): FA6 finalize — ship fellowship-only, defer allegiance behind a flag 2026-08-12 10:23:59 +02:00
AcDream.Headless.csproj feat(headless): establish portable Linux host boundary 2026-07-27 01:10:45 +02:00
HeadlessAssemblyMarker.cs feat(headless): establish portable Linux host boundary 2026-07-27 01:10:45 +02:00
HeadlessEntryPoint.cs fix(headless): complete connected movement gate 2026-07-27 10:26:44 +02:00
HeadlessExitCode.cs feat(headless): complete portable single-session host 2026-07-27 07:36:53 +02:00
Program.cs feat(headless): complete portable single-session host 2026-07-27 07:36:53 +02:00