Commit Graph

9 Commits

Author SHA1 Message Date
nunziati
02876784a8 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
2026-04-10 20:45:18 +00:00
nunziati
8d71875c2b fix: address Copilot review feedback on PR #32
- tests/run.sh: check source return code, report failures
- tests/regression/run.sh: use mktemp + trap cleanup instead of fixed /tmp paths
- tests/regression/run.sh: include .mcp.json in regression comparison
- tests/regression/take-snapshot.sh: use --platform flag instead of stale scripted input
- adapters/opencode/templates/plugin-stub.js.tmpl: include stdout in hook block error message
2026-04-10 20:26:50 +00:00
nunziati
58946bc023 Fix: remove claude-specific references from documentation 2026-04-10 21:41:17 +02:00
nunziati
0e66ce3efa Fix: remove claude-specific reference from hooks.
build: add platform_dir and dispatcher_name to all hook wrapper/plugin templates

feat(hooks): platform-aware path checks using platform_dir and dispatcher_name from JSON input

test: update regression snapshot for platform-aware hook wrappers and scripts
2026-04-10 20:20:21 +02:00
nunziati
bb5ef7c489 Fix claude-specific references in agents, skills and references 2026-04-10 19:24:57 +02:00
nunziati
9a93cd4aa5 refactor: rename --framework to --platform across all scripts and tests
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 17:10:39 +02:00
nunziati
9673bca7c2 Fix agent format in opencode adapter 2026-04-10 17:10:27 +02:00
nunziati
24b84ca414 test: regression runner diffs dist/claude-code against pre-refactor snapshot
- Add tests/regression/run.sh that builds dist/claude-code and compares
  against snapshot, excluding runtime-only artifacts (.mbifc-manifest,
  .mcp.json, .claude-plugin/plugin.json)
- Fix adapters/lib.sh agent_body: preserve '---' section dividers in body
  (awk now only skips '---' while still inside frontmatter, fm < 2)
- Fix adapters/claude-code/adapter.sh: change 'read' capability to expand
  to only 'Read', appending 'Glob, Grep' at end of tools list to match
  snapshot ordering
- Update snapshot to reflect intentional refactor changes: hook JSON schema
  (.args.* instead of .tool_input.*), wrapper scripts, settings.json with
  wrapper paths, and consistent tool ordering for postman/sorter

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 17:03:07 +02:00
nunziati
1592ac59ed test: capture pre-refactor install snapshot for regression
Adds take-snapshot.sh script and the resulting snapshot/ directory,
capturing the exact vault state produced by launchme.sh before the
framework-agnosticity refactor begins.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 16:59:06 +02:00