fix: address Copilot review round 2

- config-merge.sh: reword comment to only promise indentation preservation (not full formatting)
- take-snapshot.sh: copy required artifacts explicitly, optional ones with existence check
- adapters/lib.sh: document parse_hook_yaml single-trigger limitation
This commit is contained in:
nunziati
2026-04-10 20:45:18 +00:00
parent 8d71875c2b
commit 02876784a8
3 changed files with 16 additions and 3 deletions

View File

@@ -3,8 +3,9 @@
# adapters/opencode/config-merge.sh — JSON config merge for opencode.json
# =============================================================================
# Merges a built opencode.json with an existing one in the vault, preserving
# user keys and formatting. Only the "mcp" key is managed; everything else
# belongs to the user.
# user keys and indentation style (2-space, 4-space, or tab). Only the "mcp"
# key is managed; everything else belongs to the user. Note: jq normalizes
# whitespace and may reorder keys within objects.
#
# Sourced by the opencode adapter. Requires jq.
# =============================================================================