@dharma-ai-labs/agent-fabric 0.2.136 → 0.2.138

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.
@@ -1105,8 +1105,8 @@ test('repository onboarding skill records scoped API metadata without local path
1105
1105
  assert.match(skill, /bounded, task-related question/);
1106
1106
  assert.match(skill, /dharma skills verify --provider <provider> --workspace <bound-workspace-path>/);
1107
1107
  assert.doesNotMatch(skill, /--grant\s+['"]?dhab_|dhab_[A-Za-z0-9_-]+|bootstrapGrant|organizationApiToken/);
1108
- assert.match(skill, /recipient runs the portal's exact generated `--grant-prompt` bootstrap command/);
1109
- assert.match(skill, /not part of the agent prompt/);
1108
+ assert.match(skill, /agent runs the exact generated `--setup-reference` command/);
1109
+ assert.match(skill, /public setup reference is not a bearer credential/);
1110
1110
  assert.match(connection, /workspace-northstar/);
1111
1111
  assert.equal(connection.includes(workspace), false);
1112
1112
  assert.equal(/token|secret/i.test(connection), false);
@@ -2027,8 +2027,9 @@ test('Hermes bootstrap trusts the repository and verifies native discovery', asy
2027
2027
  });
2028
2028
  assert.equal(installed.verified, true);
2029
2029
  const installedSkill = await readFile(installed.skillPath, 'utf8');
2030
- assert.match(installedSkill, /supports connecting a new source repository and joining an existing organization repository agent/);
2031
- assert.match(installedSkill, /native action-time approval/);
2030
+ assert.match(installedSkill, /source-only setup reference does not authorize a join, source expansion or a writable peer task/);
2031
+ assert.match(installedSkill, /intended recipient approves only the matching browser device request/);
2032
+ assert.doesNotMatch(installedSkill, /supports connecting a new source repository and joining an existing organization repository agent/);
2032
2033
  assert.doesNotMatch(installedSkill, /Use this skill only inside a repository containing/);
2033
2034
  assert.deepEqual(calls[0], {
2034
2035
  executable: 'hermes',
@@ -2310,7 +2311,7 @@ test('native skill persists the complete hash-pinned onboarding contract', async
2310
2311
  assert.ok(skill.includes(contract.markdown));
2311
2312
  assert.equal(marker.operatingContractSha256, contract.sha256);
2312
2313
  assert.doesNotMatch(contract.markdown, /--grant\s+['"]?dhab_|dhab_[A-Za-z0-9_-]+|bootstrapGrant|organizationApiToken/);
2313
- assert.match(contract.markdown, /private terminal grant entry nor browser device approval may be performed or impersonated by an agent/);
2314
+ assert.match(contract.markdown, /browser device approval may not be performed or impersonated by an agent/);
2314
2315
  });
2315
2316
  test('Agy skill verification requires the native plugin to be discoverable by the provider', async () => {
2316
2317
  const root = await mkdtemp(join(tmpdir(), 'dharma-agy-skill-verification-'));