spec(SDD-004): scaffold session-start-config SSOT spec [AGENT-DRAFT tags pending review]#96
Merged
Merged
Conversation
…s+verification) Spec folder for SDD-004-session-start-config (P1, AUDIT-002 rank #1). Refactors claude-session-start.{sh,ps1} (937 LOC combined, HIGH change frequency) into thin readers of a new session-start-config.json SSOT, mirroring the doctor.{sh,ps1} + env-contract.json reference pattern. Proposal §Why/§What/§Out-of-scope/§Risks/§Acceptance-criteria/§Completeness all currently tagged [AGENT-DRAFT] — user-fill expected before implementation branch opens. Archive lock active until tags are converted to plain content. Blockers documented in §Risks: - R1 (BLOCKER) byte-equivalence: golden output capture MUST precede any refactor; SessionStart fires on every Claude session, regressions are catastrophic. - R3 (open question) schema shape: flat list of injectors vs nested by category. Resolve before tasks.md freezes. References AUDIT-002 cross-OS-duplication report + pattern-powershell-ascii-only (R2). Vault backlog entry #7 (P1) already tracks this; will be ticked at archive time.
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.
Summary
session-start-config.jsonSSOT, mirroringdoctor.{sh,ps1}+env-contract.json).State
⚠ Proposal sections are currently tagged
[AGENT-DRAFT — review before archive](per/spec fillskip semantics — user asked agent to generate drafts). The archive lock is active;/spec archive SDD-004will refuse until tags are converted to plain content. Reviewer: please skim §Why / §What / §Risks and either accept-as-is (remove the[AGENT-DRAFT]line) or edit before this PR merges.Blockers documented in §Risks
[{id, probe, content_source, on_failure}, ...](recommended) vs nested by category. AUDIT-002 explicitly warns "keep schemas minimal".Why a spec-only PR
Test plan
markdownlintnot configured — N/Apattern-spec-driven-development[AGENT-DRAFT]content[AGENT-DRAFT]tags removed → merge → openfeat/SDD-004-session-start-configimplementation branch