@dalzoubi/dev-agents-sync 3.2.0 → 4.0.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalzoubi/dev-agents-sync",
3
- "version": "3.2.0",
3
+ "version": "4.0.0",
4
4
  "type": "module",
5
5
  "description": "CLI that syncs managed dev-agent workflows into Claude Code, Cursor, Copilot, and Codex projects.",
6
6
  "license": "UNLICENSED",
@@ -439,29 +439,19 @@ describe('S2 — C6: shared read-steering mechanism present in canonical source'
439
439
  // C7a — Mirror parity: .claude/agents/define.md contains the steering read instruction
440
440
  // ---------------------------------------------------------------------------
441
441
 
442
- describe('S2 — C7a: mirror parity — .claude/agents/define.md reflects steering read instruction', () => {
443
- it('.claude/agents/define.md contains a steering/ reference (mirrors have been rebuilt)', () => {
444
- assert.ok(
445
- /steering\//i.test(mirrorDefineContent),
446
- [
447
- '.claude/agents/define.md must contain a "steering/" reference,',
448
- 'proving the mirror was rebuilt after the canonical .agents/agents/define.md was edited.',
449
- 'The "steering/" reference is absent from the mirror.',
450
- 'Run `npm run build` to regenerate the committed mirror from the canonical source.',
451
- ].join(' '),
452
- );
442
+ describe('S2 — C7a: native Define preserves steering through its runtime boundary', () => {
443
+ it('the Claude main emits the exact canonical runtime bridge instead of prompted steering writes', () => {
444
+ const bridge=readFileSync(path.join(REPO_ROOT,'.agents/runtime/bridges/define.md'),'utf8').trim();
445
+ assert.ok(mirrorDefineContent.includes(bridge));
446
+ assert.equal(mirrorDefineContent.split('# Define through the installed local runtime').length-1,1);
447
+ assert.match(bridge,/dev-agents-runtime start/);
448
+ assert.match(bridge,/Never synthesize source:operator/);
453
449
  });
454
-
455
- it('.claude/agents/define.md references steering/decisions.md (append instruction mirrored)', () => {
456
- assert.ok(
457
- /steering\/decisions\.md/i.test(mirrorDefineContent),
458
- [
459
- '.claude/agents/define.md must contain "steering/decisions.md".',
460
- 'The append-to-decisions instruction is missing from the mirror.',
461
- 'Canonical source may have the instruction but the mirror has not been rebuilt.',
462
- 'Run `npm run build` to regenerate.',
463
- ].join(' '),
464
- );
450
+ it('the shipped native Define model receives existing steering and a gated, separate append contract', () => {
451
+ const source=readFileSync(path.join(REPO_ROOT,'.agents/runtime/models/define.md'),'utf8').trim();
452
+ const asset=JSON.parse(readFileSync(path.join(REPO_ROOT,'packages/dev-agents-runtime/assets/model-prompts.json'),'utf8')).roles.define.instructions;
453
+ assert.ok(asset.includes(source));
454
+ for(const phrase of ['bounded steering snapshot','session start','steering/decisions.md','append-only','only\nafter approval and readiness','never stages steering in the triad commit','absent, do not invent'])assert.ok(source.includes(phrase),phrase);
465
455
  });
466
456
  });
467
457