From 57d9646b8094d0ca37af087d14ae677698e4efab Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Fri, 18 Sep 2026 15:46:46 +0200 Subject: Archive filter-dotfiles-by-platform and add-gnome-desktop Sync main specs with both completed changes: dotfiles-management gains the platform-exclude requirement, and gnome-desktop becomes a new main spec. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01BBSd4VBfoKHjE1HR3P8kmn --- openspec/specs/dotfiles-management/spec.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'openspec/specs/dotfiles-management/spec.md') diff --git a/openspec/specs/dotfiles-management/spec.md b/openspec/specs/dotfiles-management/spec.md index 7585cc9..2d45dc1 100644 --- a/openspec/specs/dotfiles-management/spec.md +++ b/openspec/specs/dotfiles-management/spec.md @@ -43,3 +43,18 @@ If symlinking one package would conflict with an existing file or symlink not ow #### Scenario: One package conflicts - **WHEN** one dotfiles package's target path is already occupied by an unrelated existing file - **THEN** that package is skipped with a visible warning, and every other package is still processed + +### Requirement: Platform-irrelevant packages are skipped +The system SHALL skip stowing a dotfiles package when that package is platform-irrelevant, either because it matches a built-in platform default (based on the current OS) or because it has been explicitly listed for exclusion, rather than always stowing every top-level package directory. + +#### Scenario: A package is excluded by built-in platform default +- **WHEN** the dotfiles repository contains a top-level package directory that is known to be relevant only to a different platform than the one currently running (for example, a macOS-only package on a Linux system, or a Linux-only package on a macOS system) +- **THEN** that package is not symlinked, and a visible message indicates it was skipped as not relevant on this platform + +#### Scenario: A package is excluded via explicit configuration +- **WHEN** a package name has been explicitly configured for exclusion, regardless of the built-in platform defaults +- **THEN** that package is not symlinked, and a visible message indicates it was skipped + +#### Scenario: A non-excluded package is still stowed +- **WHEN** a top-level package directory is neither a built-in platform-mismatched package nor explicitly excluded +- **THEN** that package is symlinked into the home directory as described by the existing package-symlinking requirement -- cgit v1.3