acdream/src/AcDream.Headless
Erik fe1e68e5fe feat(quest): QT6 — plugins can read the contract tracker
The last piece of QT6's own scope: r10-quest-dialogs.md §11.6's contract half.
IGameState.Contracts exposes what the client structurally knows about quests,
which — per that same research — is the tracker and nothing else. The rest of
§11.6 (chat stream, tells, give, use, confirmations) is other features and
stays out of this campaign.

A pull-through source rather than a pushed mirror. Contracts change rarely and
are already owned canonically, so a second copy would only be a thing to keep
in step; reading through means a plugin cannot observe a stale list.

Both hosts implement it. The headless one carries contract id, stage and
progress but no names — a bot has no dat access — because losing the TEXT is
expected while losing the QUEST would leave a bot silently unable to see what
it is on. Same rule covers a contract the installed dat has never heard of: it
still projects, with empty text and a correct status, rather than vanishing.

The interface member is defaulted so a host predating this campaign still
satisfies IGameState.

Two lazy catalog loads exist (the panel's and this one) rather than one shared
instance. That is deliberate: threading a shared ContractCatalog through three
composition records to avoid reading a 322-row immutable table at most twice
per session would be plumbing for no correctness or performance gain, and the
comment at the call site says so.

Campaign QT is complete; the connected user gate is owed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-21 15:22:22 +02:00
..
Configuration feat(runtime): share chat commands and run login sequence 2026-08-14 20:27:45 +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(quest): QT3 — the contract tracker becomes state, and the events get routed 2026-08-21 14:46:53 +02:00
Platform feat(plugins): complete Campaign LA5 cross-host hosting 2026-08-14 18:12:59 +02:00
Plugins feat(quest): QT6 — plugins can read the contract tracker 2026-08-21 15:22:22 +02:00
Policies wip: Campaign LA LA2 probe mode + idle policy — INCOMPLETE, stopped mid-task 2026-08-14 16:33:00 +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
packages.linux-x64.lock.json build: make release restore reproducible 2026-08-18 10:29:00 +02:00
packages.neutral.lock.json build: make release restore reproducible 2026-08-18 10:29:00 +02:00
packages.win-x64.lock.json build: make release restore reproducible 2026-08-18 10:29:00 +02:00
Program.cs feat(headless): complete portable single-session host 2026-07-27 07:36:53 +02:00