ace-bundle 0.41.3 → 0.43.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99da917e4b6b5321e35ba3d5f8a06ff18a0faa2d490d7ccd09008a69fdbd4441
4
- data.tar.gz: 899a092de9289c129e5e5e4227955787df1eae66d669ef7c859fbdea0dc3c5bd
3
+ metadata.gz: ba02c4e03000125c170e6c9858abee76a055a62ab828f12a4cb234fdba3f0682
4
+ data.tar.gz: b5e3b567fe50388b678012a3b317abb015bb86b3ca50be62ba505637ad30fc5f
5
5
  SHA512:
6
- metadata.gz: 13d66ce1e805f5a7487321ecc23ab87d8c82ab2c9d40fb6a6b3cd1c07eb6af1bc7c242c40463b5b9557233105caaa1299800e433874754b4b4d7d7687ba2589f
7
- data.tar.gz: ec14d85f4c4114cb2c1568c2ea56d3174efc5d66e8caf0eea18b3f7c80cf82b478ec5cebc2ea254a7c5dcd4915888c6ce5c887fc6d4599eaa9cf8a2d21c2a551
6
+ metadata.gz: f9c6878943db58fdfe45dcd739efbb9a4cc0513d8b371c28d528c224177b021dbd57b0667570633355a84d9cc12e0bc326685a5e60f71c512aa6788641f1412f
7
+ data.tar.gz: 4b5454c8c2f76da7e3ab2823068a0137d161187d39042ee1d5f744c225405512f7248c2d7fb5d55f80bd1dd8dc7c965fb11c2e3aa4afd27c71f16d43cf98d72e
data/CHANGELOG.md CHANGED
@@ -6,8 +6,60 @@ The format is based on [Keep a Changelog][1], and this project adheres to [Seman
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.43.5] - 2026-04-19
10
+
11
+ ### Changed
12
+ - Documented the `bundle.sources` preset shorthand in the configuration and getting-started guides so generated bundle presets can use the public file, command, and preset source-list contract.
13
+
14
+ ## [0.43.4] - 2026-04-19
15
+
16
+ ### Fixed
17
+ - Added support for documented `bundle.sources` frontmatter entries so file, command, and preset sources expand through the same public bundle path as direct `files`, `commands`, and `presets` keys.
18
+
19
+ ## [0.43.3] - 2026-04-16
20
+
21
+ ### Technical
22
+ - Aligned `TS-BUNDLE-001` preset-loading verification with the documented `**/*.js` routing behavior so valid preset matches are preserved without treating unrelated files as failures.
23
+
24
+ ## [0.43.2] - 2026-04-16
25
+
26
+ ### Fixed
27
+ - Corrected `TS-BUNDLE-001` file-pattern verification so root-level markdown matched by `*.md` remains valid while genuinely out-of-scope test files stay excluded.
28
+
29
+ ## [0.43.1] - 2026-04-16
30
+
31
+ ### Technical
32
+ - Updated `TS-BUNDLE-001` sandbox setup to source `mise.toml` from `${ACE_E2E_SOURCE_ROOT:-$PROJECT_ROOT_PATH}` so goal runs stay compatible with read-only source mounts.
33
+
34
+ ## [0.43.0] - 2026-04-14
35
+
36
+ ### Changed
37
+ - Rewrote `TS-BUNDLE-001` to a retained public-surface goal set by consolidating file-pattern checks into Goal 2, reframing Goal 4 around user-visible routing behavior, and renaming Goal 5 to CLI output consistency and error semantics.
38
+
39
+ ### Technical
40
+ - Updated scenario/runner/verifier manifests to the retained 4-goal layout and removed the standalone TC-003 goal assets.
41
+
42
+ ## [0.42.1] - 2026-04-13
43
+
44
+ ### Changed
45
+ - Completed the batch i05 migration follow-through for this package and aligned it with the restarted `fast` / `feat` / `e2e` verification model.
46
+
47
+ ### Technical
48
+ - Included in the coordinated assignment-driven patch release for batch i05 package updates.
49
+
50
+
51
+ ## [0.42.0] - 2026-04-12
52
+
53
+ ### Changed
54
+ - Expanded `as-onboard` canonical skill metadata so the public `onboard` assign step is fully described via skill-owned `assign.steps`.
55
+ - Migrated package tests to the restarted `fast` / `feat` / `e2e` model: deterministic suites now live under `test/fast/` and legacy `test/integration/` coverage moved to `test/feat/`.
56
+ - Updated E2E TC-004 output-routing assertions to accept the observed explicit-stdio routing behavior when compression emits cache-save messaging.
57
+
9
58
  ### Fixed
10
59
  - Added end-to-end support for diff path filters in bundle diff configs so `paths` now flows through section normalization and into `git diff -- <paths>`.
60
+ - Made `workflow_resolution_test` robust across repo and sandbox execution contexts by asserting workflow-suffix resolution against package-local WFI sources.
61
+ - Hardened TS-BUNDLE-001 sandbox setup by skipping `mise.toml` trust when that file is not present in package-copy sandboxes.
62
+ - Reduced brittle TC-001 verifier gating from strict line-count requirements to substantive observed output checks.
11
63
 
12
64
  ## [0.41.2] - 2026-03-31
13
65
 
@@ -19,10 +19,19 @@ integration:
19
19
  - pi
20
20
  providers: {}
21
21
  assign:
22
- source: wfi://onboard
23
22
  steps:
24
23
  - name: onboard
25
24
  description: Load project context and understand the codebase
25
+ prerequisites: []
26
+ produces: [project-context]
27
+ consumes: []
28
+ context:
29
+ default: null
30
+ reason: "Onboarding needs access to the main conversation context"
31
+ when_to_skip:
32
+ - "Already onboarded in a previous assignment"
33
+ - "Working in a context where project is already loaded"
34
+ effort: light
26
35
  tags: [setup, context-loading]
27
36
  skill:
28
37
  kind: workflow
@@ -76,7 +76,7 @@ Analyze the loaded context and prepare a concise summary covering:
76
76
  > "Load base preset"
77
77
 
78
78
  **Files** - Task-specific context, custom one-off requirements:
79
- > `ace-bundle .ace-taskflow/v.0.9.0/context/task-084.md`
79
+ > `ace-bundle .ace-task/v.0.9.0/context/task-084.md`
80
80
  > "Load task-specific context file"
81
81
 
82
82
  > `ace-bundle /path/to/your/project/context.yml`
@@ -449,6 +449,7 @@ module Ace
449
449
  (frontmatter.keys & %w[preset presets files commands include exclude diffs]).any?
450
450
  # Use frontmatter as the main config
451
451
  config = unwrap_bundle_config(frontmatter)
452
+ config = normalize_bundle_sources(config)
452
453
 
453
454
  # Merge params into options if present
454
455
  params = config["params"]
@@ -613,6 +614,7 @@ module Ace
613
614
 
614
615
  def load_from_preset_config(preset, options)
615
616
  bundle_config = preset[:bundle] || {}
617
+ bundle_config = normalize_bundle_sources(bundle_config)
616
618
 
617
619
  # Apply CLI overrides to context config (CLI takes precedence)
618
620
  bundle_config = apply_cli_overrides(bundle_config)
@@ -890,6 +892,8 @@ module Ace
890
892
  end
891
893
 
892
894
  def process_template_config(config)
895
+ config = normalize_bundle_sources(config)
896
+
893
897
  # Apply CLI overrides to config (CLI takes precedence)
894
898
  config = apply_cli_overrides(config)
895
899
 
@@ -989,6 +993,39 @@ module Ace
989
993
  bundle
990
994
  end
991
995
 
996
+ def normalize_bundle_sources(config)
997
+ return config unless config.is_a?(Hash)
998
+
999
+ sources = config["sources"] || config[:sources]
1000
+ return config unless sources.is_a?(Array) && sources.any?
1001
+
1002
+ normalized = config.dup
1003
+ files = Array(normalized["files"] || normalized[:files])
1004
+ commands = Array(normalized["commands"] || normalized[:commands])
1005
+ presets = Array(normalized["presets"] || normalized[:presets])
1006
+
1007
+ sources.each do |source|
1008
+ case source
1009
+ when Hash
1010
+ source_file = source["file"] || source[:file]
1011
+ source_command = source["command"] || source[:command]
1012
+ source_preset = source["preset"] || source[:preset]
1013
+ files << source_file if source_file
1014
+ commands << source_command if source_command
1015
+ presets << source_preset if source_preset
1016
+ when String
1017
+ files << source
1018
+ end
1019
+ end
1020
+
1021
+ normalized["files"] = files.compact.uniq if files.any?
1022
+ normalized["commands"] = commands.compact.uniq if commands.any?
1023
+ normalized["presets"] = presets.compact.uniq if presets.any?
1024
+ normalized.delete("sources")
1025
+ normalized.delete(:sources)
1026
+ normalized
1027
+ end
1028
+
992
1029
  def format_bundle(bundle, format)
993
1030
  bundle.metadata[:raw_content_for_auto_format] = bundle.content
994
1031
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ace
4
4
  module Bundle
5
- VERSION = '0.41.3'
5
+ VERSION = '0.43.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-bundle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.3
4
+ version: 0.43.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Czyz
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-04-01 00:00:00.000000000 Z
10
+ date: 2026-04-20 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: ace-support-cli