@aopslabs/aops 0.3.24 → 0.3.26

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.
Files changed (64) hide show
  1. package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/SKILL.md +0 -1
  2. package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/references/agentspace/SKILL.md +0 -6
  3. package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/references/collaborative-work/SKILL.md +1 -2
  4. package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/references/working-disciplines/SKILL.md +2 -5
  5. package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/user-guides/agentspace.md +1 -16
  6. package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/user-guides/aops-cli.md +4 -33
  7. package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/user-guides/working-disciplines.md +32 -138
  8. package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/manifest.json +17 -22
  9. package/agent-assets-release/agent-assets/inventory.json +5 -5
  10. package/agent-assets-release/agent-assets/projection.json +1 -1
  11. package/agent-assets-release/agent-assets-release.json +48 -53
  12. package/agent-assets-release/agent-assets-release.sigstore.json +27 -28
  13. package/assets/agent-assets/core/SKILL.md +0 -1
  14. package/assets/agent-assets/core/references/agentspace/SKILL.md +0 -6
  15. package/assets/agent-assets/core/references/collaborative-work/SKILL.md +1 -2
  16. package/assets/agent-assets/core/references/working-disciplines/SKILL.md +2 -5
  17. package/assets/agent-assets/core/user-guides/agentspace.md +1 -16
  18. package/assets/agent-assets/core/user-guides/aops-cli.md +4 -33
  19. package/assets/agent-assets/core/user-guides/working-disciplines.md +32 -138
  20. package/dist/commands/checkpoint.js +4 -23
  21. package/dist/commands/community-server.js +212 -6
  22. package/dist/commands/db.js +145 -0
  23. package/dist/commands/experience.js +0 -2
  24. package/dist/commands/memory.js +8 -2
  25. package/dist/commands/official-catalog.js +1 -1
  26. package/dist/commands/plan.js +2 -2
  27. package/dist/commands/pm/index.js +39 -3
  28. package/dist/commands/pm/projectman.js +281 -8
  29. package/dist/commands/start-disciplines.js +8 -21
  30. package/dist/commands/start.js +20 -504
  31. package/dist/lib/agent-assets/native-fs.js +2 -2
  32. package/dist/lib/community-migration-snapshot.js +43 -2
  33. package/dist/lib/community-native-backup.js +386 -0
  34. package/dist/lib/community-native-lifecycle.js +93 -4
  35. package/dist/lib/community-native-migration.js +20 -0
  36. package/dist/main.js +2 -2
  37. package/dist/seeds/agents-md.js +1 -1
  38. package/dist/utils/playbook-workspace.js +5 -33
  39. package/dist/utils/session-guidance.js +0 -7
  40. package/native/bin/darwin-arm64/aops-agent-assets-fs +0 -0
  41. package/native/bin/darwin-x64/aops-agent-assets-fs +0 -0
  42. package/native/bin/win32-x64/aops-agent-assets-fs.exe +0 -0
  43. package/native/manifest.json +4 -4
  44. package/native/qualifications/win32-x64.json +2 -2
  45. package/native/tui/darwin-arm64/aops-tui +0 -0
  46. package/native/tui/linux-x64/aops-tui +0 -0
  47. package/native/tui/win32-x64/aops-tui.exe +0 -0
  48. package/package.json +18 -6
  49. package/agent-assets-release/agent-assets/core/647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09/files/references/mission/SKILL.md +0 -54
  50. package/assets/agent-assets/core/references/mission/SKILL.md +0 -54
  51. package/dist/commands/mission.js +0 -562
  52. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/references/aops-cli-core/SKILL.md +0 -0
  53. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/references/chatv3/SKILL.md +0 -0
  54. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/references/discuss/SKILL.md +0 -0
  55. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/references/docman/SKILL.md +0 -0
  56. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/references/projectman/SKILL.md +0 -0
  57. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/references/sys/SKILL.md +0 -0
  58. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/references/view/SKILL.md +0 -0
  59. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/user-guides/agent-assets.md +0 -0
  60. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/user-guides/aops-system.md +0 -0
  61. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/user-guides/chatv3.md +0 -0
  62. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/user-guides/docman.md +0 -0
  63. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/user-guides/projectman.md +0 -0
  64. /package/agent-assets-release/agent-assets/core/{647c6e84fbc48f9a36945d81660f4d2a5241f58a53a18054365bfc16868b0f09 → bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb}/files/user-guides/sys.md +0 -0
package/dist/main.js CHANGED
@@ -24,7 +24,6 @@ import { guardChatv3UnknownSubcommand, makeChatv3Command } from './commands/chat
24
24
  import { makeAgentProfileCommand } from './commands/agent-profile.js';
25
25
  import { makePromptCommand } from './commands/prompt.js';
26
26
  import { makeProjectCommand } from './commands/project.js';
27
- import { makeMissionCommand } from './commands/mission.js';
28
27
  import { makePlaybookCommand } from './commands/playbook.js';
29
28
  import { makeResourceCommand } from './commands/resource.js';
30
29
  import { makeArtifactCommand } from './commands/artifact.js';
@@ -33,6 +32,7 @@ import { makeSkillCommand } from './commands/skill.js';
33
32
  import { makeDocCommand } from './commands/doc.js';
34
33
  import { makePmCommand } from './commands/pm/index.js';
35
34
  import { makeCommunityServerCommand } from './commands/community-server.js';
35
+ import { makeDbCommand } from './commands/db.js';
36
36
  import { makeCommunityCockpitCommand } from './commands/community-cockpit.js';
37
37
  import { makeCommunityDoctorCommand } from './commands/community-doctor.js';
38
38
  import { makeTargetCommand } from './commands/target.js';
@@ -141,7 +141,6 @@ export function buildCommunityProgram() {
141
141
  program.addCommand(makeAgentProfileCommand());
142
142
  program.addCommand(makePromptCommand());
143
143
  program.addCommand(makeProjectCommand());
144
- program.addCommand(makeMissionCommand());
145
144
  program.addCommand(makePlaybookCommand());
146
145
  program.addCommand(makeResourceCommand());
147
146
  program.addCommand(makeArtifactCommand());
@@ -151,6 +150,7 @@ export function buildCommunityProgram() {
151
150
  program.addCommand(makeDocCommand());
152
151
  program.addCommand(makePmCommand());
153
152
  program.addCommand(makeCommunityServerCommand());
153
+ program.addCommand(makeDbCommand());
154
154
  program.addCommand(makeCommunityCockpitCommand());
155
155
  program.addCommand(makeCommunityDoctorCommand());
156
156
  program.addCommand(makeTargetCommand());
@@ -10,7 +10,7 @@ export const AOPS_AGENTS_MD_TEMPLATE_SEEDS = [
10
10
  'Boot the aops-collaborative-work skill and pick the mode once at kickoff: solo (default) | solo+async-review | chat-room.',
11
11
  'Run the skill startup block with compact output; prefer aops-cli start --json --out <file> and follow result.promptRef.path instead of inline prompt JSON.',
12
12
  'Read layered rules only as needed: repo AGENTS.md / ChatV3 room rules, selected working-discipline guardrails, accepted playbook briefs, and ranked experience briefs.',
13
- 'Use aops-cli mission resume --id <mission-id> --json or aops-cli start --resume <mission-id> --json when a mission exists; use aops-cli start --reminder --task "<current task>" --area <area> --json for mid-session refresh.',
13
+ 'Use aops-cli start --json',
14
14
  'Pull detail through the skill detail ladder (sub-skill section, command --help, aops-cli agent schema).',
15
15
  'Every task lands in PM before implementation; validate honestly; UI slices are verified live via Chrome MCP.',
16
16
  'Solo modes may leave async PM review requests for a future session; chat-room mode posts the PM review-request ref into the hosted room as a wake.',
@@ -232,25 +232,10 @@ export function filterPlaybookRecords(records, filter = {}) {
232
232
  ? filtered.slice(0, Math.trunc(filter.limit))
233
233
  : filtered;
234
234
  }
235
- function getSessionContextMissionId(record) {
236
- return isRecord(record.sessionContext) ? normalizeNonEmpty(record.sessionContext.missionId) : undefined;
237
- }
238
- function sourceRefsIncludeMission(record, missionId) {
239
- return toRecordArray(record.sourceRefs).some((ref) => {
240
- const refType = normalizeNonEmpty(ref.refType)?.toLowerCase();
241
- const refId = normalizeNonEmpty(ref.refId) ?? normalizeNonEmpty(ref.id);
242
- return refId === missionId && (refType === undefined || refType === 'agentspace.mission' || refType === 'mission');
243
- });
244
- }
245
- function isActiveSessionPlaybook(record, missionId) {
246
- if (normalizeNonEmpty(record.scope)?.toLowerCase() !== 'session')
247
- return false;
248
- if (!missionId)
249
- return true;
250
- return getSessionContextMissionId(record) === missionId || sourceRefsIncludeMission(record, missionId);
235
+ function isActiveSessionPlaybook(record) {
236
+ return normalizeNonEmpty(record.scope)?.toLowerCase() === 'session';
251
237
  }
252
238
  function buildSessionPlaybookSet(records, options = {}) {
253
- const missionId = normalizeNonEmpty(options.missionId);
254
239
  const reviewState = toStringArray(options.reviewState).length > 0
255
240
  ? toStringArray(options.reviewState).map((entry) => entry.toLowerCase())
256
241
  : ['accepted'];
@@ -261,7 +246,7 @@ function buildSessionPlaybookSet(records, options = {}) {
261
246
  ? Math.trunc(options.limit)
262
247
  : 8;
263
248
  const filtered = records.filter((record) => {
264
- if (!isActiveSessionPlaybook(record, missionId))
249
+ if (!isActiveSessionPlaybook(record))
265
250
  return false;
266
251
  if (!durability.includes(normalizeNonEmpty(record.durability)?.toLowerCase() ?? ''))
267
252
  return false;
@@ -284,7 +269,6 @@ function buildSessionPlaybookSet(records, options = {}) {
284
269
  scope: 'session',
285
270
  durability,
286
271
  reviewState,
287
- ...(missionId ? { missionId } : {}),
288
272
  limit,
289
273
  },
290
274
  count: filtered.length,
@@ -295,13 +279,10 @@ function buildSessionPlaybookSet(records, options = {}) {
295
279
  mode: 'read-only',
296
280
  applyRequired: false,
297
281
  command,
298
- policyPath: 'mission.policy.playbook.sessionSet',
299
- note: missionId
300
- ? 'Review accepted session-scope playbooks attached to this mission before resuming work.'
301
- : 'Review accepted session-scope playbooks before resuming active work.',
282
+ note: 'Review accepted session-scope playbooks before resuming active work.',
302
283
  },
303
284
  ],
304
- note: 'Session playbooks are read-only active-mission guidance; start/resume surfaces never promote them silently.',
285
+ note: 'Session playbooks are read-only session-scope guidance; start/resume surfaces never promote them silently.',
305
286
  };
306
287
  }
307
288
  export function buildProjectPlaybookSet(records, options = {}) {
@@ -348,7 +329,6 @@ export function buildProjectPlaybookSet(records, options = {}) {
348
329
  mode: 'read-only',
349
330
  applyRequired: false,
350
331
  command,
351
- policyPath: 'mission.policy.playbook.projectSet',
352
332
  note: 'Review accepted project-scope playbooks before starting or resuming work.',
353
333
  },
354
334
  ],
@@ -356,7 +336,6 @@ export function buildProjectPlaybookSet(records, options = {}) {
356
336
  };
357
337
  }
358
338
  export function buildActivePlaybookNudgePack(records, options = {}) {
359
- const missionId = normalizeNonEmpty(options.missionId);
360
339
  const project = buildProjectPlaybookSet(records, {
361
340
  projectSlug: options.projectSlug,
362
341
  reviewState: options.reviewState,
@@ -365,7 +344,6 @@ export function buildActivePlaybookNudgePack(records, options = {}) {
365
344
  });
366
345
  const session = buildSessionPlaybookSet(records, {
367
346
  projectSlug: options.projectSlug,
368
- missionId,
369
347
  reviewState: options.reviewState,
370
348
  durability: options.sessionDurability,
371
349
  limit: options.limit,
@@ -381,11 +359,9 @@ export function buildActivePlaybookNudgePack(records, options = {}) {
381
359
  '--title "Hexagen backend playbook candidate"',
382
360
  '--area hexagen',
383
361
  '--tag playbook-candidate',
384
- missionId ? `--mission-id ${missionId}` : undefined,
385
362
  '--content "<reviewed closeout pattern, evidence, and applicability>"',
386
363
  '--apply --json',
387
364
  ].filter(Boolean).join(' '),
388
- policyPath: 'mission.policy.playbook.closeoutCapture.capture',
389
365
  note: 'At closeout, capture only reviewed operator/reviewer signal as experience; this is an explicit write.',
390
366
  },
391
367
  {
@@ -402,7 +378,6 @@ export function buildActivePlaybookNudgePack(records, options = {}) {
402
378
  '--applies-when "A future hexagen backend slice needs the same generated-domain pattern"',
403
379
  '--apply --json',
404
380
  ].filter(Boolean).join(' '),
405
- policyPath: 'mission.policy.playbook.closeoutCapture.promote',
406
381
  note: 'Promote a reviewed experience into an accepted playbook only after operator/reviewer signal.',
407
382
  },
408
383
  {
@@ -410,7 +385,6 @@ export function buildActivePlaybookNudgePack(records, options = {}) {
410
385
  mode: 'nudge-first',
411
386
  applyRequired: true,
412
387
  command: 'aops-cli mem summary --closeout --durability durable --confirm --content "<outcome, validation, review evidence, next action>" --apply --json',
413
- policyPath: 'mission.policy.closeout.handoff',
414
388
  note: 'Durable closeout memory remains explicit and confirmed; it is evidence for later playbook promotion, not an automatic promotion.',
415
389
  },
416
390
  ];
@@ -425,7 +399,6 @@ export function buildActivePlaybookNudgePack(records, options = {}) {
425
399
  mode: 'active-playbook-nudge-pack',
426
400
  readOnly: true,
427
401
  defaultWrite: false,
428
- ...(missionId ? { missionId } : {}),
429
402
  project,
430
403
  session,
431
404
  count: project.count + session.count,
@@ -473,7 +446,6 @@ export async function buildReadOnlyActivePlaybookNudgePackFromContext(context, o
473
446
  const records = await readLocalPlaybookRecordsFromContext(context);
474
447
  return buildActivePlaybookNudgePack(records, {
475
448
  projectSlug: context.projectSlug,
476
- missionId: options.missionId,
477
449
  limit: options.limit,
478
450
  });
479
451
  }
@@ -61,10 +61,6 @@ function scoreExperience(item, options) {
61
61
  score += 30;
62
62
  reasons.push(`area:${area}`);
63
63
  }
64
- if (sourceRefsContain(item, options.missionId)) {
65
- score += 25;
66
- reasons.push('mission-ref');
67
- }
68
64
  if (sourceRefsContain(item, options.planId)) {
69
65
  score += 20;
70
66
  reasons.push('plan-ref');
@@ -214,7 +210,6 @@ function buildSuggestedActions(params) {
214
210
  ];
215
211
  }
216
212
  export async function buildSessionGuidancePack(context, options) {
217
- const missionId = normalizeNonEmpty(options.missionId);
218
213
  const planId = normalizeNonEmpty(options.planId);
219
214
  const area = normalizeNonEmpty(options.area);
220
215
  const task = normalizeNonEmpty(options.task);
@@ -229,7 +224,6 @@ export async function buildSessionGuidancePack(context, options) {
229
224
  defaultWrite: false,
230
225
  hints: compactPayload({
231
226
  task,
232
- missionId,
233
227
  planId,
234
228
  area,
235
229
  experienceLimit: parseLimit(options.limit),
@@ -256,7 +250,6 @@ export async function buildSessionGuidancePack(context, options) {
256
250
  filters: compactPayload({
257
251
  area,
258
252
  task,
259
- missionId,
260
253
  planId,
261
254
  limit: parseLimit(options.limit),
262
255
  maxLimit: MAX_EXPERIENCE_LIMIT,
@@ -6,7 +6,7 @@
6
6
  "platform": "darwin",
7
7
  "architecture": "arm64",
8
8
  "relativePath": "bin/darwin-arm64/aops-agent-assets-fs",
9
- "sha256": "aeff0f83ff7c53f1651ccee44d857f03c5a41846f30302433ade0f3705ae0940",
9
+ "sha256": "da26a2d6c0ea5cf8debe8e30a8a132b7f6e9b0dac1b9234c75172be8fad84e8e",
10
10
  "capabilityClass": "macos-exclusive-durable-v1",
11
11
  "qualification": null
12
12
  },
@@ -14,7 +14,7 @@
14
14
  "platform": "darwin",
15
15
  "architecture": "x64",
16
16
  "relativePath": "bin/darwin-x64/aops-agent-assets-fs",
17
- "sha256": "d04f3e6ae34c2711cf1cf6bb8a6d5edb669cf4aed4c21e315b23e9d78a0799ef",
17
+ "sha256": "7531ef357eb4aa4914c21abb8375ee2f5b5fb8796561689b74b94aad62c88e4c",
18
18
  "capabilityClass": "macos-exclusive-durable-v1",
19
19
  "qualification": null
20
20
  },
@@ -38,11 +38,11 @@
38
38
  "platform": "win32",
39
39
  "architecture": "x64",
40
40
  "relativePath": "bin/win32-x64/aops-agent-assets-fs.exe",
41
- "sha256": "c1fcf2fe3689550f1552bdb60a064a9ac0c9e30cba4d9eb7c52140ee14794778",
41
+ "sha256": "18bcd9a70c3ea5d02cfde9d3a9c369f97c2d6ceba6c3149ff57a8a5e1693de7d",
42
42
  "capabilityClass": "windows-ntfs-crash-recoverable-v1",
43
43
  "qualification": {
44
44
  "relativePath": "qualifications/win32-x64.json",
45
- "sha256": "ef348d39e5c9e229b21274d00f779dbe9e8fd7bdbc27cb5c797191bb1294a5ae"
45
+ "sha256": "25c8d0971355c6d4f73817dd1b1a91d40579313a43a1624c35427f3445af942a"
46
46
  }
47
47
  }
48
48
  ]
@@ -3,11 +3,11 @@
3
3
  "status": "qualified",
4
4
  "platform": "win32",
5
5
  "architecture": "x64",
6
- "osBuild": "10.0.26200",
6
+ "osBuild": "10.0.26100",
7
7
  "filesystem": "NTFS",
8
8
  "primitiveProfile": "windows-createfile-flush-movefileex-v1",
9
9
  "capabilityClass": "windows-ntfs-crash-recoverable-v1",
10
- "evidenceSha256": "d58ca525d9e4a57c111747e1912e4d74266c712b127cfb9857b7d9d2beb5d3c1",
10
+ "evidenceSha256": "2090a30f52f1d5f2e4c2fd1dfcc0095966e998224ce023cc9fbeb456dc92617a",
11
11
  "crashInjectionPoints": [
12
12
  "authority-history",
13
13
  "authority-current",
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aopslabs/aops",
3
- "version": "0.3.24",
3
+ "version": "0.3.26",
4
4
  "type": "module",
5
5
  "description": "AOPS CLI and terminal setup application.",
6
6
  "aopsDockerServerVersion": "0.2.17",
@@ -22,7 +22,15 @@
22
22
  "test:setup-install": "node --test test/setup-install.test.mjs",
23
23
  "test:setup-docker": "node --test test/setup-docker-server.test.mjs",
24
24
  "test:native-lifecycle": "node --test test/community-native-lifecycle.test.mjs",
25
+ "test:migration-snapshot-gate": "node --test test/community-migration-snapshot-gate.test.mjs",
26
+ "test:backup-gate-parity": "node --test test/community-backup-gate-parity.test.mjs test/community-backup-list.test.mjs test/community-native-backup.test.mjs",
27
+ "test:migration-auto-dump": "node --test test/community-migration-auto-dump.test.mjs",
28
+ "test:memory-search-window": "node --test test/memory-search-window-shape.test.mjs",
29
+ "test:db-restore-source-root": "node --test test/db-restore-source-root.test.mjs",
25
30
  "test:operation-journal": "node --test test/community-operation-journal.test.mjs",
31
+ "test:server-instance-option": "node --test test/community-server-instance-option.test.mjs",
32
+ "test:snapshot-provider": "node --test test/community-snapshot-provider.test.mjs",
33
+ "test:snapshot-verify-fd": "node --test test/community-snapshot-verify-fd.test.mjs",
26
34
  "test:commercial-artifact": "node --test test/commercial-artifact.test.mjs",
27
35
  "test:commercial-canonical-order": "node --test test/commercial-canonical-order.test.mjs",
28
36
  "test:commercial-runtime-closure": "node --test test/commercial-runtime-closure.test.mjs",
@@ -56,24 +64,28 @@
56
64
  "test:hosted-contract-hardening": "node --test test/hosted-contract-hardening.test.mjs",
57
65
  "test:home": "node --test test/home-menu.test.mjs",
58
66
  "test:launchers": "node --test test/terminal-launchers.test.mjs",
59
- "test:shortcuts": "pnpm --dir ../.. run build && pnpm run test:home && pnpm run test:cockpit && pnpm run test:launchers && pnpm run test:assets-menu && pnpm run test:agent-assets-content && pnpm run test:chatv3-session-store && pnpm run test:projectman-review-evidence && pnpm run test:projectman-pm-contract && pnpm run test:setup-install && pnpm run test:container-runtime && pnpm run test:native-lifecycle && pnpm run test:operation-journal && pnpm run test:commercial-canonical-order && pnpm run test:commercial-runtime-closure && pnpm run test:commercial-artifact && pnpm run test:commercial-final-readiness && pnpm run test:commercial-admission && pnpm run test:commercial-license && pnpm run test:commercial-runbook && pnpm run test:package-identity && pnpm run test:tui-launcher && pnpm run test:global-update && pnpm run test:skill-discovery && pnpm run test:target-transport && pnpm run test:target-auth && pnpm run test:r6-auth-cutover && pnpm run test:r6-cutover-baseline && pnpm run test:hosted-contract-hardening",
67
+ "test:shortcuts": "pnpm --dir ../.. run build && pnpm run test:home && pnpm run test:cockpit && pnpm run test:launchers && pnpm run test:assets-menu && pnpm run test:agent-assets-content && pnpm run test:chatv3-session-store && pnpm run test:projectman-review-evidence && pnpm run test:projectman-pm-contract && pnpm run test:setup-install && pnpm run test:container-runtime && pnpm run test:native-lifecycle && pnpm run test:migration-snapshot-gate && pnpm run test:backup-gate-parity && pnpm run test:migration-auto-dump && pnpm run test:memory-search-window && pnpm run test:db-restore-source-root && pnpm run test:operation-journal && pnpm run test:commercial-canonical-order && pnpm run test:commercial-runtime-closure && pnpm run test:commercial-artifact && pnpm run test:commercial-final-readiness && pnpm run test:commercial-admission && pnpm run test:commercial-license && pnpm run test:commercial-runbook && pnpm run test:package-identity && pnpm run test:tui-launcher && pnpm run test:global-update && pnpm run test:skill-discovery && pnpm run test:target-transport && pnpm run test:target-auth && pnpm run test:r6-auth-cutover && pnpm run test:r6-cutover-baseline && pnpm run test:hosted-contract-hardening && pnpm run test:server-instance-option && pnpm run test:snapshot-provider && pnpm run test:snapshot-verify-fd",
60
68
  "typecheck": "tsc -p tsconfig.json --noEmit",
61
- "start": "node dist/main.js"
69
+ "start": "node dist/main.js",
70
+ "test:chat-wake-watch": "node --test test/chat-wake-watch.test.mjs",
71
+ "test:codex-wake": "node --test test/codex-wake.test.mjs",
72
+ "test:commercial-lifecycle-evidence": "node --test test/commercial-lifecycle-evidence.test.mjs test/commercial-lifecycle-evidence-projection.test.mjs",
73
+ "test:commercial-effects": "node --test test/commercial-interruption-removal-effects.test.mjs test/commercial-natural-controls-effects.test.mjs test/commercial-transition-effects.test.mjs"
62
74
  },
63
75
  "dependencies": {
64
76
  "@aopslabs/aops-agent-runtime": "0.1.0",
65
- "@aopslabs/aops-server": "0.2.18",
77
+ "@aopslabs/aops-server": "0.2.20",
66
78
  "@aopslabs/artifact-trust-contracts": "0.3.1",
67
79
  "@aopslabs/cli-kit": "0.1.0",
68
80
  "@aopslabs/aops-host-registration": "0.2.2",
69
- "@aopslabs/aops-pg-bootstrap": "0.2.3",
81
+ "@aopslabs/aops-pg-bootstrap": "0.2.5",
70
82
  "@aopslabs/aops-runtime-config": "0.2.2",
71
83
  "@sigstore/bundle": "4.0.0",
72
84
  "@sigstore/protobuf-specs": "0.5.1",
73
85
  "@sigstore/tuf": "4.0.2",
74
86
  "@sigstore/verify": "3.1.1",
75
87
  "@aopslabs/api-client": "0.2.2",
76
- "@aopslabs/domain-product-client-chatv3": "0.4.1",
88
+ "@aopslabs/domain-product-client-chatv3": "0.4.2",
77
89
  "@aopslabs/xf-cli-ui": "0.2.0",
78
90
  "commander": "14.0.3",
79
91
  "pg": "8.20.0",
@@ -1,54 +0,0 @@
1
- ---
2
- name: aops-cli-mission
3
- description: Use for a durable Agentspace mission anchor, free-form session policy, active implementation-plan reference, compact resume packs, and session handoff.
4
- ---
5
-
6
- # AOPS Mission
7
-
8
- A mission stores durable intent and policy for a work session. Projectman
9
- remains the execution/review source of truth; the mission may reference an
10
- implementation plan but does not duplicate it.
11
-
12
- ## Common flow
13
-
14
- ```bash
15
- aops mission --help
16
- aops mission list --json
17
- aops mission create --objective "<outcome>" --apply --json
18
- aops mission get --id <mission-id> --json
19
- aops mission update --id <mission-id> --objective "<updated outcome>" --apply --json
20
- aops mission resume --id <mission-id> --json
21
- ```
22
-
23
- Use `aops start --resume <mission-id> --json` when the full startup composer is
24
- needed. Use `mission resume` alone for a compact, deterministic context pack.
25
-
26
- ## Policy and plans
27
-
28
- When a selected working discipline returns a `mission.policyJson`, persist that
29
- exact policy rather than inventing a parallel format:
30
-
31
- ```bash
32
- aops mission create --objective "<objective>" \
33
- --policy-json '@policy.json' --apply --json
34
- aops mission update --id <mission-id> \
35
- --active-plan-ref <sprint-id> --apply --json
36
- ```
37
-
38
- The active implementation-plan ref points to a Projectman sprint/plan. Vision
39
- or long-form design belongs in Docman. Check exact fields with nested help.
40
-
41
- ## Handoff and boundaries
42
-
43
- ```bash
44
- aops pm handoff write --help
45
- aops mem checkpoint --help
46
- ```
47
-
48
- An ordinary stop records current status, validation, blockers, and the next
49
- safe action; it does not silently close boards, rooms, or the mission. Use
50
- Projectman handoff or a bounded memory checkpoint for that record. Mission
51
- handoff is not a separate command in this release.
52
-
53
- Do not store secrets, full logs, or a second task ledger in mission policy.
54
- Do not create a mission when a small one-turn operation needs no durable anchor.
@@ -1,54 +0,0 @@
1
- ---
2
- name: aops-cli-mission
3
- description: Use for a durable Agentspace mission anchor, free-form session policy, active implementation-plan reference, compact resume packs, and session handoff.
4
- ---
5
-
6
- # AOPS Mission
7
-
8
- A mission stores durable intent and policy for a work session. Projectman
9
- remains the execution/review source of truth; the mission may reference an
10
- implementation plan but does not duplicate it.
11
-
12
- ## Common flow
13
-
14
- ```bash
15
- aops mission --help
16
- aops mission list --json
17
- aops mission create --objective "<outcome>" --apply --json
18
- aops mission get --id <mission-id> --json
19
- aops mission update --id <mission-id> --objective "<updated outcome>" --apply --json
20
- aops mission resume --id <mission-id> --json
21
- ```
22
-
23
- Use `aops start --resume <mission-id> --json` when the full startup composer is
24
- needed. Use `mission resume` alone for a compact, deterministic context pack.
25
-
26
- ## Policy and plans
27
-
28
- When a selected working discipline returns a `mission.policyJson`, persist that
29
- exact policy rather than inventing a parallel format:
30
-
31
- ```bash
32
- aops mission create --objective "<objective>" \
33
- --policy-json '@policy.json' --apply --json
34
- aops mission update --id <mission-id> \
35
- --active-plan-ref <sprint-id> --apply --json
36
- ```
37
-
38
- The active implementation-plan ref points to a Projectman sprint/plan. Vision
39
- or long-form design belongs in Docman. Check exact fields with nested help.
40
-
41
- ## Handoff and boundaries
42
-
43
- ```bash
44
- aops pm handoff write --help
45
- aops mem checkpoint --help
46
- ```
47
-
48
- An ordinary stop records current status, validation, blockers, and the next
49
- safe action; it does not silently close boards, rooms, or the mission. Use
50
- Projectman handoff or a bounded memory checkpoint for that record. Mission
51
- handoff is not a separate command in this release.
52
-
53
- Do not store secrets, full logs, or a second task ledger in mission policy.
54
- Do not create a mission when a small one-turn operation needs no durable anchor.