Repository navigation
docs(hosting): document the background service's config administration (#213, S-e) - #940
Merged
Merged
Conversation
Blind-Striker
force-pushed
the
feat/213-service-config-guide
branch
from
November 17, 2026 00:21
61aff4a to
cc73d61
Compare
Blind-Striker
marked this pull request as ready for review
November 17, 2026 00:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
What does this PR do?
The last slice of #213: the canon, the consumer guides and the CHANGELOG for
OpenCodeServiceConfiguration, the typed administration of the background service's config that #926 (read and write path), #930 (every set and unset) and #936 (remote access on through the installed CLI) shipped. Documentation only: no code, no test, nospec/file.docs/architecture/client-runtime.md:docs/guide/connection-modes.mdanddocs/guide/errors-and-responses.md: configuring the background service from .NET, linking the canon for the rules.CHANGELOG.md: theOpenCodeServiceConfigurationsurface under[Unreleased], and the donor-decoding fix.GLOSSARY.md: one definition, "SDK-managed write".docs/ROADMAP.md: the remote-access research item now names what Background-service configuration administration: keep or drop #213 ships and what stays open (the maintainer approved the text, 2026-11-17).Every new canon sentence either describes shipped code (each checked against the code at
2b61e55c) or records a decision already made: "maintainer's decision, 2026-11-15, #213". That covers:The relation between
CliCommand,ChannelandEnvironmentis stated as a fact: the SDK reads the config they select together and does not check that they agree."SDK-managed write" is defined in
GLOSSARY.mdas exactly these members ofOpenCodeServiceConfiguration(at2b61e55c):GetOrCreatePasswordAsyncOpenCodeServiceConfiguration.cs:76-81ServiceConfigEditor.cs:101-112(writes when absent or empty)SetDisabledAsync:118-128ServiceConfigEditor.cs:16-17, 72-87SetHostnameAsync:94-106:12-13, 72-87SetPortAsync:140-152:20-21, 72-87SetPasswordAsync:165-177:24-25, 72-87SetCorsOriginsAsync:190-220:28-29, 72-87SetEnvironmentVariableAsync:234-247:32-39, 72-87DisableRemoteAsync:259-268:42-51, 72-87UnsetAsync:280-295:54-56, 72-87UnsetEnvironmentVariableAsync:308-320:59-70, 72-87Shared publication is
ServiceConfigStore.cs:114-150.ReadAsyncandEnableRemoteAsyncare excluded, although their shared read can migrate or repair a file.Related Issue(s):
🔄 Type of Change
🎯 Protocol & API Surface
spec/) is untouchedexternal/was hand-edited🧪 Testing
How has this been tested?
Local check on
cc73d615(macOS arm64, on masterdccfb731after #936 merged), all green: slopwatch, both Release builds, both format passes,verify-clones, Tools tests (2861, including the canon-source guard and the documentation gates), SDK tests (9718), ServiceElection (22),--help,generate --verify, and the oracle pair. Links and anchors, the angle-bracket rule, table pipes, wrapping and the protected #848/#902 passages were checked statically.Review: a fresh cross-family read checked every sampled sentence against the code and found nothing blocking. Its findings were fixed: a dropped
envclause, a dropped stop reason, and the CHANGELOG's naming. The Windows config-publication rename is recorded in the existing Windows divergence entry, per the maintainer's decision on #939.Known follow-ups