Skip to content

chore(specs): archive SDD-001 + SDD-002 post-merge#52

Merged
mlorentedev merged 1 commit into
mainfrom
chore/SDD-001-002-archive
May 18, 2026
Merged

chore(specs): archive SDD-001 + SDD-002 post-merge#52
mlorentedev merged 1 commit into
mainfrom
chore/SDD-001-002-archive

Conversation

@mlorentedev
Copy link
Copy Markdown
Owner

Summary

Housekeeping. Per pattern-spec-driven-development.md archive policy:

On merge: 1. mv specs/<feature-id>/ specs/archive/<feature-id>/
2. Update status: archived in proposal.md frontmatter

Both SDD-001 (#49) and SDD-002 (#51) shipped earlier this session; archiving was the pending housekeeping debt. This PR closes it.

Changes

  • git mv specs/SDD-001-discipline-gate specs/archive/SDD-001-discipline-gate (3 files)
  • git mv specs/SDD-002-settings-portability specs/archive/SDD-002-settings-portability (3 files)
  • Updated proposal.md frontmatter in both: status: draftarchived + added archived: 2026-05-18 + merged_pr field

No content changes beyond the frontmatter status. Pure housekeeping.

Why this PR doesn't need an SDD scaffold

Per the SDD Discipline Gate (added in PR #49 via AGENTS.md):

  • LOC: 6 lines changed (8 insertions, 4 deletions)
  • Public contract: no
  • New dep: no
  • Multi-PR sequence: no
  • Socratic warranted: no
  • Falls explicitly under skip criteria: "documentation-only changes" (pattern line 80)

Documented in commit body.

Cross-references

Per `pattern-spec-driven-development.md` archive policy ("On merge: mv
specs/<feature-id>/ specs/archive/<feature-id>/ + update status: archived
in proposal.md frontmatter"). Both SDD-001 (PR #49) and SDD-002 (PR #51)
shipped earlier this session; archiving was the housekeeping debt.

- git mv preserves history for both folders
- proposal.md frontmatter: status draft -> archived, archived date set, merged_pr field added
- No content changes -- pure housekeeping

This PR meets SDD skip criteria (documentation-only changes per pattern
line 80) so no nested vault entry + init-spec scaffold needed.

Vault updates separate (auto-synced):
- 10_projects/dotfiles/11-tasks.md: SDD-002 marked done with PR link
- 10_projects/dotfiles/90-lessons.md: 2 lessons promoted from SDD-001/002
  verification.md flagged "YES for vault promotion"
@mlorentedev mlorentedev merged commit c326106 into main May 18, 2026
5 checks passed
@mlorentedev mlorentedev deleted the chore/SDD-001-002-archive branch May 18, 2026 21:07
mlorentedev added a commit that referenced this pull request May 22, 2026
…form)

verify-setup.bats Section 9 grepped for the un-quoted scripts PATH line
that ensure_line_in_file used to append. Now that the line is baked into
the repo .bashrc/.zshrc with double quotes around $HOME (safer + matches
the opencode PATH line's style), the old assertion no longer matched →
integration CI fail (#50, #52).

Updated:
- Section header: "ensure_line_in_file side effects" → "rc file SSOT
  (lines baked into repo .bashrc/.zshrc — BUG-024)" since the mechanism
  is no longer setup-time mutation.
- Test #50/#52 grep pattern now requires the double-quoted form that
  matches the repo source exactly (strict SSOT assertion, no looseness).
- Test names: "X added to .Yshrc" → "X in .Yshrc" since nothing is
  being "added" at setup time anymore.
mlorentedev added a commit that referenced this pull request May 22, 2026
…nly writer of rc files (#93)

* fix(BUG-024): bake PATH/alias lines into repo .bashrc/.zshrc to kill drift false-positive

setup-linux.sh appended 3 lines (opencode PATH, project-init alias,
dotfiles/scripts PATH) to ~/.bashrc and ~/.zshrc via ensure_line_in_file
*after* symlinking them to the repo. Since the rc files are symlinks
into the deploy-dir, the writes landed in the deploy-dir copies and
made diff-check.sh (PR #10) report drift on every fresh setup.

Root fix: repo source is now the only writer. The 3 lines are baked
into .bashrc/.zshrc directly; the corresponding ensure_line_in_file
blocks are removed from setup-linux.sh (L431-433, L903-905, L922-924).
Both rc files also gained the trailing newline they were missing.

Test: tests/opencode.bats #5 rewritten to assert the new invariant
(repo-as-SSOT) and to forbid the old ensure_line_in_file pattern.

* fix(BUG-024): update verify-setup.bats #50/#52 to match SSOT (quoted form)

verify-setup.bats Section 9 grepped for the un-quoted scripts PATH line
that ensure_line_in_file used to append. Now that the line is baked into
the repo .bashrc/.zshrc with double quotes around $HOME (safer + matches
the opencode PATH line's style), the old assertion no longer matched →
integration CI fail (#50, #52).

Updated:
- Section header: "ensure_line_in_file side effects" → "rc file SSOT
  (lines baked into repo .bashrc/.zshrc — BUG-024)" since the mechanism
  is no longer setup-time mutation.
- Test #50/#52 grep pattern now requires the double-quoted form that
  matches the repo source exactly (strict SSOT assertion, no looseness).
- Test names: "X added to .Yshrc" → "X in .Yshrc" since nothing is
  being "added" at setup time anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant