@team-semicolon/semicolony-cli 4.18.77 → 4.18.78
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/dist/bundle.js
CHANGED
|
@@ -3212,7 +3212,7 @@ ${e}`}function NGn(t={}){let e=Buffer.alloc(0);process.stdin.on("data",n=>{e=Buf
|
|
|
3212
3212
|
JOIN ${qm}.workspace_profiles wp ON wp.profile_id = r.profile_id
|
|
3213
3213
|
WHERE r.release_id = $1
|
|
3214
3214
|
FOR UPDATE OF r, wp
|
|
3215
|
-
`,[r]),a=o[0];if(!a)throw new Error("worker release was not found with its workspace profile");if(a.status!=="staged")throw new Error("only staged worker releases can be activated");if(a.manifest!==void 0&&u5(a.manifest).manifest.workspace_root){let u=await qVt(i,a.profile_id,"workspace-root/v1");if(!u.ready)throw hWn("workspace-root/v1",u)}if((await i.query(`
|
|
3215
|
+
`,[r]),a=o[0];if(!a)throw new Error("worker release was not found with its workspace profile");if(a.status!=="staged")throw new Error("only staged worker releases can be activated");if(a.manifest!==void 0&&u5(a.manifest,{profileId:a.profile_id}).manifest.workspace_root){let u=await qVt(i,a.profile_id,"workspace-root/v1");if(!u.ready)throw hWn("workspace-root/v1",u)}if((await i.query(`
|
|
3216
3216
|
UPDATE ${qm}.worker_profile_releases
|
|
3217
3217
|
SET status = 'active', activated_at = now(), activated_by = $2
|
|
3218
3218
|
WHERE release_id = $1 AND profile_id = $3 AND status = 'staged'
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
-- 184_worker_agent_workspace_profile.sql
|
|
2
|
+
--
|
|
3
|
+
-- Seed the DB-authoritative SEMO Ops Worker-agent workspace profile required
|
|
4
|
+
-- before its first immutable release can be staged. This row is desired-state
|
|
5
|
+
-- metadata only; it contains no host or actor credential material.
|
|
6
|
+
|
|
7
|
+
INSERT INTO semicolony.workspace_profiles (
|
|
8
|
+
profile_id,
|
|
9
|
+
version,
|
|
10
|
+
status,
|
|
11
|
+
kb_gateway_url,
|
|
12
|
+
repo_provider,
|
|
13
|
+
repo_remotes,
|
|
14
|
+
default_workspace_root,
|
|
15
|
+
tool_adapters,
|
|
16
|
+
guidance_template_version,
|
|
17
|
+
required_smokes,
|
|
18
|
+
metadata
|
|
19
|
+
)
|
|
20
|
+
VALUES (
|
|
21
|
+
'semo-ops-worker-agent',
|
|
22
|
+
'2026-08-01.3',
|
|
23
|
+
'active',
|
|
24
|
+
'https://semicolony.semi-colon.space/kb-gateway',
|
|
25
|
+
'gitlab',
|
|
26
|
+
'{"semo-ops":"https://gitlab.semi-colon.space/semicolon-devteam/semo-ops.git"}'::jsonb,
|
|
27
|
+
'/home/ubuntu',
|
|
28
|
+
ARRAY['hermes-native-tools'],
|
|
29
|
+
'2026-08-01.3',
|
|
30
|
+
'[
|
|
31
|
+
{"id":"agent:installation-state","label":"Agent installation state"},
|
|
32
|
+
{"id":"agent:release-state","label":"Agent release state"},
|
|
33
|
+
{"id":"agent:gateway-release-auth","label":"Gateway release authentication"},
|
|
34
|
+
{"id":"agent:profile:semi","label":"Semi runtime profile"},
|
|
35
|
+
{"id":"agent:profile:colony","label":"Colony runtime profile"},
|
|
36
|
+
{"id":"agent:context-digest:semi","label":"Semi managed context digest"},
|
|
37
|
+
{"id":"agent:context-digest:colony","label":"Colony managed context digest"},
|
|
38
|
+
{"id":"agent:skill-digests:semi","label":"Semi managed skill digests"},
|
|
39
|
+
{"id":"agent:skill-digests:colony","label":"Colony managed skill digests"},
|
|
40
|
+
{"id":"agent:tools:semi","label":"Semi native tools"},
|
|
41
|
+
{"id":"agent:tools:colony","label":"Colony native tools"},
|
|
42
|
+
{"id":"agent:kb-read:semi","label":"Semi KB read smoke"},
|
|
43
|
+
{"id":"agent:kb-read:colony","label":"Colony KB read smoke"},
|
|
44
|
+
{"id":"agent:no-token-in-profile","label":"No token in managed profile"}
|
|
45
|
+
]'::jsonb,
|
|
46
|
+
'{
|
|
47
|
+
"scope":"service-hive",
|
|
48
|
+
"tenant_anchor":"team-semicolon",
|
|
49
|
+
"owner":"SEMO Ops",
|
|
50
|
+
"worker_kind":"agent",
|
|
51
|
+
"runtime_kind":"hermes-cli",
|
|
52
|
+
"installation_id":"hermes-principals@hermes",
|
|
53
|
+
"actors":[
|
|
54
|
+
{"actor_id":"semi","runtime_profile":"semo-semi"},
|
|
55
|
+
{"actor_id":"colony","runtime_profile":"semo-colony"}
|
|
56
|
+
],
|
|
57
|
+
"lineage_status":"active"
|
|
58
|
+
}'::jsonb
|
|
59
|
+
)
|
|
60
|
+
ON CONFLICT (profile_id) DO UPDATE
|
|
61
|
+
SET version = EXCLUDED.version,
|
|
62
|
+
status = EXCLUDED.status,
|
|
63
|
+
kb_gateway_url = EXCLUDED.kb_gateway_url,
|
|
64
|
+
repo_provider = EXCLUDED.repo_provider,
|
|
65
|
+
repo_remotes = EXCLUDED.repo_remotes,
|
|
66
|
+
default_workspace_root = EXCLUDED.default_workspace_root,
|
|
67
|
+
tool_adapters = EXCLUDED.tool_adapters,
|
|
68
|
+
guidance_template_version = EXCLUDED.guidance_template_version,
|
|
69
|
+
required_smokes = EXCLUDED.required_smokes,
|
|
70
|
+
metadata = semicolony.workspace_profiles.metadata || EXCLUDED.metadata;
|
package/migrations/README.md
CHANGED
|
@@ -22,6 +22,7 @@ SEMICOLONY CLI의 PostgreSQL 마이그레이션 파일들.
|
|
|
22
22
|
| `178_feedback_capture_capability.sql` | `sc_app` 일반 DML 없이 KB+액션아이템을 원자 기록하는 `record_feedback` capability |
|
|
23
23
|
| `179_worker_feedback_credential_scope.sql` | 워커 자격증명 `feedback:write` 허용 및 활성 디바이스 바인딩에 범위 백필 |
|
|
24
24
|
| `183_worker_agent_gateway_credentials.sql` | Hermes Agent host release credential과 Semi/Colony actor KB-read credential의 서버 바인딩 및 회전 |
|
|
25
|
+
| `184_worker_agent_workspace_profile.sql` | Hermes Agent immutable release가 참조하는 `semo-ops-worker-agent` DB 정본 프로필 시드 |
|
|
25
26
|
|
|
26
27
|
## 007: Flat Skill Naming
|
|
27
28
|
|