@treeseed/sdk 0.13.0-rc.125 → 0.13.0-rc.126

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/README.md CHANGED
@@ -39,6 +39,25 @@ The client provides typed operation dispatch, RFC 9457 problem handling, OAuth d
39
39
 
40
40
  Communication contracts treat discussion topics as team-wide coordination scopes. Qualified `@project/agent` addresses select one agent, while unqualified `@agent` addresses expand to every matching chat-enabled agent across active team projects. The API maintains a project-local TreeDX discussion stream for each addressed project and aggregates their invocations under one send identity.
41
41
 
42
+ ## Agent activity contract
43
+
44
+ An agent's single class identifies allocation and memory attachment; it does not
45
+ restrict which activities its configured handler can perform. Every class may
46
+ configure `planning`, `estimating`, `acting`, `reviewing`, `reporting`, and `chat`
47
+ with any registered handler. Each profile retains its own explicit prompt,
48
+ parameters, permissions, and dependencies. Review independence is a property of
49
+ the assigned attempt and candidate provenance, not a reserved class name.
50
+
51
+ This validator change removes the class restriction only. Group membership and
52
+ discussion mentions must determine participation in the control plane; handler
53
+ dispatch must support every activity for nondeterministic workloads. Those
54
+ consumers must adopt this contract before the complete workflow is available.
55
+ The runner's boundary is an already-prepared opaque workload and its runtime
56
+ environment: process lifecycle, limits, isolation, observations, measured usage,
57
+ and cleanup. It must not interpret agent identity, profile, proposal, review, or
58
+ release policy. Workload preparation and task interpretation belong to the
59
+ configured application handlers.
60
+
42
61
  ## TreeDX API
43
62
 
44
63
  ```ts
@@ -1169,7 +1169,7 @@ export declare const activityProfilesSchema: z.ZodEffects<z.ZodObject<{
1169
1169
  parameters?: Record<string, unknown> | undefined;
1170
1170
  } | undefined;
1171
1171
  }>;
1172
- export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
1172
+ export declare const agentDefinitionSchema: z.ZodObject<{
1173
1173
  schemaVersion: z.ZodLiteral<"treeseed.agent/v1">;
1174
1174
  id: z.ZodString;
1175
1175
  name: z.ZodString;
@@ -2503,274 +2503,6 @@ export declare const agentDefinitionSchema: z.ZodEffects<z.ZodObject<{
2503
2503
  } | undefined;
2504
2504
  };
2505
2505
  groupIds?: string[] | undefined;
2506
- }>, {
2507
- id: string;
2508
- name: string;
2509
- schemaVersion: "treeseed.agent/v1";
2510
- purpose: string;
2511
- responsibilities: string[];
2512
- agentClass: string;
2513
- capabilities: string[];
2514
- context: {
2515
- include: string[];
2516
- };
2517
- activityProfiles: {
2518
- planning?: {
2519
- permissions: {
2520
- content: {
2521
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2522
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2523
- };
2524
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2525
- };
2526
- handler: string;
2527
- prompt: {
2528
- system: string;
2529
- instructions?: string[] | undefined;
2530
- };
2531
- dependsOn?: {
2532
- agents?: string[] | undefined;
2533
- events?: "workday-closing"[] | undefined;
2534
- } | undefined;
2535
- additionalContext?: string[] | undefined;
2536
- parameters?: Record<string, unknown> | undefined;
2537
- } | undefined;
2538
- estimating?: {
2539
- permissions: {
2540
- content: {
2541
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2542
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2543
- };
2544
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2545
- };
2546
- handler: string;
2547
- prompt: {
2548
- system: string;
2549
- instructions?: string[] | undefined;
2550
- };
2551
- dependsOn?: {
2552
- agents?: string[] | undefined;
2553
- events?: "workday-closing"[] | undefined;
2554
- } | undefined;
2555
- additionalContext?: string[] | undefined;
2556
- parameters?: Record<string, unknown> | undefined;
2557
- } | undefined;
2558
- acting?: {
2559
- permissions: {
2560
- content: {
2561
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2562
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2563
- };
2564
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2565
- };
2566
- handler: string;
2567
- prompt: {
2568
- system: string;
2569
- instructions?: string[] | undefined;
2570
- };
2571
- dependsOn?: {
2572
- agents?: string[] | undefined;
2573
- events?: "workday-closing"[] | undefined;
2574
- } | undefined;
2575
- additionalContext?: string[] | undefined;
2576
- parameters?: Record<string, unknown> | undefined;
2577
- } | undefined;
2578
- reviewing?: {
2579
- permissions: {
2580
- content: {
2581
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2582
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2583
- };
2584
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2585
- };
2586
- handler: string;
2587
- prompt: {
2588
- system: string;
2589
- instructions?: string[] | undefined;
2590
- };
2591
- dependsOn?: {
2592
- agents?: string[] | undefined;
2593
- events?: "workday-closing"[] | undefined;
2594
- } | undefined;
2595
- additionalContext?: string[] | undefined;
2596
- parameters?: Record<string, unknown> | undefined;
2597
- } | undefined;
2598
- reporting?: {
2599
- permissions: {
2600
- content: {
2601
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2602
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2603
- };
2604
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2605
- };
2606
- handler: string;
2607
- prompt: {
2608
- system: string;
2609
- instructions?: string[] | undefined;
2610
- };
2611
- dependsOn?: {
2612
- agents?: string[] | undefined;
2613
- events?: "workday-closing"[] | undefined;
2614
- } | undefined;
2615
- additionalContext?: string[] | undefined;
2616
- parameters?: Record<string, unknown> | undefined;
2617
- } | undefined;
2618
- chat?: {
2619
- permissions: {
2620
- content: {
2621
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2622
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2623
- };
2624
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2625
- };
2626
- handler: string;
2627
- prompt: {
2628
- system: string;
2629
- instructions?: string[] | undefined;
2630
- };
2631
- dependsOn?: {
2632
- agents?: string[] | undefined;
2633
- events?: "workday-closing"[] | undefined;
2634
- } | undefined;
2635
- additionalContext?: string[] | undefined;
2636
- parameters?: Record<string, unknown> | undefined;
2637
- } | undefined;
2638
- };
2639
- groupIds?: string[] | undefined;
2640
- }, {
2641
- id: string;
2642
- name: string;
2643
- schemaVersion: "treeseed.agent/v1";
2644
- purpose: string;
2645
- responsibilities: string[];
2646
- agentClass: string;
2647
- capabilities: string[];
2648
- context: {
2649
- include: string[];
2650
- };
2651
- activityProfiles: {
2652
- planning?: {
2653
- permissions: {
2654
- content: {
2655
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2656
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2657
- };
2658
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2659
- };
2660
- handler: string;
2661
- prompt: {
2662
- system: string;
2663
- instructions?: string[] | undefined;
2664
- };
2665
- dependsOn?: {
2666
- agents?: string[] | undefined;
2667
- events?: "workday-closing"[] | undefined;
2668
- } | undefined;
2669
- additionalContext?: string[] | undefined;
2670
- parameters?: Record<string, unknown> | undefined;
2671
- } | undefined;
2672
- estimating?: {
2673
- permissions: {
2674
- content: {
2675
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2676
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2677
- };
2678
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2679
- };
2680
- handler: string;
2681
- prompt: {
2682
- system: string;
2683
- instructions?: string[] | undefined;
2684
- };
2685
- dependsOn?: {
2686
- agents?: string[] | undefined;
2687
- events?: "workday-closing"[] | undefined;
2688
- } | undefined;
2689
- additionalContext?: string[] | undefined;
2690
- parameters?: Record<string, unknown> | undefined;
2691
- } | undefined;
2692
- acting?: {
2693
- permissions: {
2694
- content: {
2695
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2696
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2697
- };
2698
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2699
- };
2700
- handler: string;
2701
- prompt: {
2702
- system: string;
2703
- instructions?: string[] | undefined;
2704
- };
2705
- dependsOn?: {
2706
- agents?: string[] | undefined;
2707
- events?: "workday-closing"[] | undefined;
2708
- } | undefined;
2709
- additionalContext?: string[] | undefined;
2710
- parameters?: Record<string, unknown> | undefined;
2711
- } | undefined;
2712
- reviewing?: {
2713
- permissions: {
2714
- content: {
2715
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2716
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2717
- };
2718
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2719
- };
2720
- handler: string;
2721
- prompt: {
2722
- system: string;
2723
- instructions?: string[] | undefined;
2724
- };
2725
- dependsOn?: {
2726
- agents?: string[] | undefined;
2727
- events?: "workday-closing"[] | undefined;
2728
- } | undefined;
2729
- additionalContext?: string[] | undefined;
2730
- parameters?: Record<string, unknown> | undefined;
2731
- } | undefined;
2732
- reporting?: {
2733
- permissions: {
2734
- content: {
2735
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2736
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2737
- };
2738
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2739
- };
2740
- handler: string;
2741
- prompt: {
2742
- system: string;
2743
- instructions?: string[] | undefined;
2744
- };
2745
- dependsOn?: {
2746
- agents?: string[] | undefined;
2747
- events?: "workday-closing"[] | undefined;
2748
- } | undefined;
2749
- additionalContext?: string[] | undefined;
2750
- parameters?: Record<string, unknown> | undefined;
2751
- } | undefined;
2752
- chat?: {
2753
- permissions: {
2754
- content: {
2755
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2756
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
2757
- };
2758
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
2759
- };
2760
- handler: string;
2761
- prompt: {
2762
- system: string;
2763
- instructions?: string[] | undefined;
2764
- };
2765
- dependsOn?: {
2766
- agents?: string[] | undefined;
2767
- events?: "workday-closing"[] | undefined;
2768
- } | undefined;
2769
- additionalContext?: string[] | undefined;
2770
- parameters?: Record<string, unknown> | undefined;
2771
- } | undefined;
2772
- };
2773
- groupIds?: string[] | undefined;
2774
2506
  }>;
2775
2507
  export declare function diagnosticsFromZod(error: ZodError, prefix?: string): {
2776
2508
  code: string;
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { conditionalFields, minimumProperties, uniqueArray } from "../../content/validation/schema-constraints.js";
2
+ import { minimumProperties, uniqueArray } from "../../content/validation/schema-constraints.js";
3
3
  import { AGENT_CONTENT_MODELS, AGENT_TOOL_GROUPS } from "../../types/agents.js";
4
4
  const identifier = z.string().trim().min(1).max(200).regex(/^[A-Za-z0-9][A-Za-z0-9._:/-]*$/u);
5
5
  const agentClassSchema = z.string().min(1).max(100).regex(/^[a-z][a-z0-9-]*$/u);
@@ -36,7 +36,7 @@ const activityProfilesSchema = minimumProperties(z.object({
36
36
  reporting: activityProfileSchema.optional(),
37
37
  chat: activityProfileSchema.optional()
38
38
  }).strict(), 1, "At least one activity profile is required.");
39
- const agentDefinitionSchema = conditionalFields(z.object({
39
+ const agentDefinitionSchema = z.object({
40
40
  schemaVersion: z.literal("treeseed.agent/v1"),
41
41
  id: identifier,
42
42
  name: nonEmpty,
@@ -47,13 +47,7 @@ const agentDefinitionSchema = conditionalFields(z.object({
47
47
  capabilities: uniqueArray(z.array(identifier).min(1, "At least one capability is required.")),
48
48
  context: z.object({ include: uniqueArray(z.array(identifier).min(1)) }).strict(),
49
49
  activityProfiles: activityProfilesSchema
50
- }).strict(), [{
51
- field: "agentClass",
52
- notEquals: "reviewer",
53
- forbidden: { field: "activityProfiles", key: "reviewing" },
54
- path: ["activityProfiles", "reviewing"],
55
- message: "Only the Reviewer agent class may enable reviewing."
56
- }]);
50
+ }).strict();
57
51
  function issuePath(path) {
58
52
  return path.reduce((current, segment) => typeof segment === "number" ? `${current}[${segment}]` : current ? `${current}.${String(segment)}` : String(segment), "");
59
53
  }
@@ -5285,7 +5285,7 @@ declare const schemas: {
5285
5285
  related_questions?: string[] | undefined;
5286
5286
  related_objectives?: string[] | undefined;
5287
5287
  }>;
5288
- agent: z.ZodEffects<z.ZodObject<{
5288
+ agent: z.ZodObject<{
5289
5289
  schemaVersion: z.ZodLiteral<"treeseed.agent/v1">;
5290
5290
  id: z.ZodString;
5291
5291
  name: z.ZodString;
@@ -6619,274 +6619,6 @@ declare const schemas: {
6619
6619
  } | undefined;
6620
6620
  };
6621
6621
  groupIds?: string[] | undefined;
6622
- }>, {
6623
- id: string;
6624
- name: string;
6625
- schemaVersion: "treeseed.agent/v1";
6626
- purpose: string;
6627
- responsibilities: string[];
6628
- agentClass: string;
6629
- capabilities: string[];
6630
- context: {
6631
- include: string[];
6632
- };
6633
- activityProfiles: {
6634
- planning?: {
6635
- permissions: {
6636
- content: {
6637
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6638
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6639
- };
6640
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
6641
- };
6642
- handler: string;
6643
- prompt: {
6644
- system: string;
6645
- instructions?: string[] | undefined;
6646
- };
6647
- dependsOn?: {
6648
- agents?: string[] | undefined;
6649
- events?: "workday-closing"[] | undefined;
6650
- } | undefined;
6651
- additionalContext?: string[] | undefined;
6652
- parameters?: Record<string, unknown> | undefined;
6653
- } | undefined;
6654
- estimating?: {
6655
- permissions: {
6656
- content: {
6657
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6658
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6659
- };
6660
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
6661
- };
6662
- handler: string;
6663
- prompt: {
6664
- system: string;
6665
- instructions?: string[] | undefined;
6666
- };
6667
- dependsOn?: {
6668
- agents?: string[] | undefined;
6669
- events?: "workday-closing"[] | undefined;
6670
- } | undefined;
6671
- additionalContext?: string[] | undefined;
6672
- parameters?: Record<string, unknown> | undefined;
6673
- } | undefined;
6674
- acting?: {
6675
- permissions: {
6676
- content: {
6677
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6678
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6679
- };
6680
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
6681
- };
6682
- handler: string;
6683
- prompt: {
6684
- system: string;
6685
- instructions?: string[] | undefined;
6686
- };
6687
- dependsOn?: {
6688
- agents?: string[] | undefined;
6689
- events?: "workday-closing"[] | undefined;
6690
- } | undefined;
6691
- additionalContext?: string[] | undefined;
6692
- parameters?: Record<string, unknown> | undefined;
6693
- } | undefined;
6694
- reviewing?: {
6695
- permissions: {
6696
- content: {
6697
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6698
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6699
- };
6700
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
6701
- };
6702
- handler: string;
6703
- prompt: {
6704
- system: string;
6705
- instructions?: string[] | undefined;
6706
- };
6707
- dependsOn?: {
6708
- agents?: string[] | undefined;
6709
- events?: "workday-closing"[] | undefined;
6710
- } | undefined;
6711
- additionalContext?: string[] | undefined;
6712
- parameters?: Record<string, unknown> | undefined;
6713
- } | undefined;
6714
- reporting?: {
6715
- permissions: {
6716
- content: {
6717
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6718
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6719
- };
6720
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
6721
- };
6722
- handler: string;
6723
- prompt: {
6724
- system: string;
6725
- instructions?: string[] | undefined;
6726
- };
6727
- dependsOn?: {
6728
- agents?: string[] | undefined;
6729
- events?: "workday-closing"[] | undefined;
6730
- } | undefined;
6731
- additionalContext?: string[] | undefined;
6732
- parameters?: Record<string, unknown> | undefined;
6733
- } | undefined;
6734
- chat?: {
6735
- permissions: {
6736
- content: {
6737
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6738
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6739
- };
6740
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
6741
- };
6742
- handler: string;
6743
- prompt: {
6744
- system: string;
6745
- instructions?: string[] | undefined;
6746
- };
6747
- dependsOn?: {
6748
- agents?: string[] | undefined;
6749
- events?: "workday-closing"[] | undefined;
6750
- } | undefined;
6751
- additionalContext?: string[] | undefined;
6752
- parameters?: Record<string, unknown> | undefined;
6753
- } | undefined;
6754
- };
6755
- groupIds?: string[] | undefined;
6756
- }, {
6757
- id: string;
6758
- name: string;
6759
- schemaVersion: "treeseed.agent/v1";
6760
- purpose: string;
6761
- responsibilities: string[];
6762
- agentClass: string;
6763
- capabilities: string[];
6764
- context: {
6765
- include: string[];
6766
- };
6767
- activityProfiles: {
6768
- planning?: {
6769
- permissions: {
6770
- content: {
6771
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6772
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6773
- };
6774
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
6775
- };
6776
- handler: string;
6777
- prompt: {
6778
- system: string;
6779
- instructions?: string[] | undefined;
6780
- };
6781
- dependsOn?: {
6782
- agents?: string[] | undefined;
6783
- events?: "workday-closing"[] | undefined;
6784
- } | undefined;
6785
- additionalContext?: string[] | undefined;
6786
- parameters?: Record<string, unknown> | undefined;
6787
- } | undefined;
6788
- estimating?: {
6789
- permissions: {
6790
- content: {
6791
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6792
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6793
- };
6794
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
6795
- };
6796
- handler: string;
6797
- prompt: {
6798
- system: string;
6799
- instructions?: string[] | undefined;
6800
- };
6801
- dependsOn?: {
6802
- agents?: string[] | undefined;
6803
- events?: "workday-closing"[] | undefined;
6804
- } | undefined;
6805
- additionalContext?: string[] | undefined;
6806
- parameters?: Record<string, unknown> | undefined;
6807
- } | undefined;
6808
- acting?: {
6809
- permissions: {
6810
- content: {
6811
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6812
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6813
- };
6814
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
6815
- };
6816
- handler: string;
6817
- prompt: {
6818
- system: string;
6819
- instructions?: string[] | undefined;
6820
- };
6821
- dependsOn?: {
6822
- agents?: string[] | undefined;
6823
- events?: "workday-closing"[] | undefined;
6824
- } | undefined;
6825
- additionalContext?: string[] | undefined;
6826
- parameters?: Record<string, unknown> | undefined;
6827
- } | undefined;
6828
- reviewing?: {
6829
- permissions: {
6830
- content: {
6831
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6832
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6833
- };
6834
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
6835
- };
6836
- handler: string;
6837
- prompt: {
6838
- system: string;
6839
- instructions?: string[] | undefined;
6840
- };
6841
- dependsOn?: {
6842
- agents?: string[] | undefined;
6843
- events?: "workday-closing"[] | undefined;
6844
- } | undefined;
6845
- additionalContext?: string[] | undefined;
6846
- parameters?: Record<string, unknown> | undefined;
6847
- } | undefined;
6848
- reporting?: {
6849
- permissions: {
6850
- content: {
6851
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6852
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6853
- };
6854
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
6855
- };
6856
- handler: string;
6857
- prompt: {
6858
- system: string;
6859
- instructions?: string[] | undefined;
6860
- };
6861
- dependsOn?: {
6862
- agents?: string[] | undefined;
6863
- events?: "workday-closing"[] | undefined;
6864
- } | undefined;
6865
- additionalContext?: string[] | undefined;
6866
- parameters?: Record<string, unknown> | undefined;
6867
- } | undefined;
6868
- chat?: {
6869
- permissions: {
6870
- content: {
6871
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6872
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
6873
- };
6874
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
6875
- };
6876
- handler: string;
6877
- prompt: {
6878
- system: string;
6879
- instructions?: string[] | undefined;
6880
- };
6881
- dependsOn?: {
6882
- agents?: string[] | undefined;
6883
- events?: "workday-closing"[] | undefined;
6884
- } | undefined;
6885
- additionalContext?: string[] | undefined;
6886
- parameters?: Record<string, unknown> | undefined;
6887
- } | undefined;
6888
- };
6889
- groupIds?: string[] | undefined;
6890
6622
  }>;
6891
6623
  discussion: z.ZodObject<{
6892
6624
  schemaVersion: z.ZodLiteral<"treeseed.discussion/v1">;
@@ -8513,7 +8245,7 @@ export declare function validateContentFrontmatter(model: PortableContentModel,
8513
8245
  message: string;
8514
8246
  }[];
8515
8247
  };
8516
- export declare function describeContentFrontmatterSchema(model: PortableContentModel): z.ZodEffects<z.ZodObject<{
8248
+ export declare function describeContentFrontmatterSchema(model: PortableContentModel): z.ZodObject<{
8517
8249
  schemaVersion: z.ZodLiteral<"treeseed.agent/v1">;
8518
8250
  id: z.ZodString;
8519
8251
  name: z.ZodString;
@@ -8624,101 +8356,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
8624
8356
  additionalContext?: string[] | undefined;
8625
8357
  parameters?: Record<string, unknown> | undefined;
8626
8358
  }>>;
8627
- estimating: z.ZodOptional<z.ZodObject<{
8628
- handler: z.ZodString;
8629
- dependsOn: z.ZodOptional<z.ZodEffects<z.ZodObject<{
8630
- agents: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
8631
- events: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodLiteral<"workday-closing">, "many">, "workday-closing"[], "workday-closing"[]>>;
8632
- }, "strict", z.ZodTypeAny, {
8633
- agents?: string[] | undefined;
8634
- events?: "workday-closing"[] | undefined;
8635
- }, {
8636
- agents?: string[] | undefined;
8637
- events?: "workday-closing"[] | undefined;
8638
- }>, {
8639
- agents?: string[] | undefined;
8640
- events?: "workday-closing"[] | undefined;
8641
- }, {
8642
- agents?: string[] | undefined;
8643
- events?: "workday-closing"[] | undefined;
8644
- }>>;
8645
- permissions: z.ZodObject<{
8646
- content: z.ZodObject<{
8647
- read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[], ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[]>;
8648
- write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[], ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[]>;
8649
- }, "strict", z.ZodTypeAny, {
8650
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
8651
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
8652
- }, {
8653
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
8654
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
8655
- }>;
8656
- tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
8657
- }, "strict", z.ZodTypeAny, {
8658
- content: {
8659
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
8660
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
8661
- };
8662
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
8663
- }, {
8664
- content: {
8665
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
8666
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
8667
- };
8668
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
8669
- }>;
8670
- prompt: z.ZodObject<{
8671
- system: z.ZodString;
8672
- instructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8673
- }, "strict", z.ZodTypeAny, {
8674
- system: string;
8675
- instructions?: string[] | undefined;
8676
- }, {
8677
- system: string;
8678
- instructions?: string[] | undefined;
8679
- }>;
8680
- additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
8681
- parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8682
- }, "strict", z.ZodTypeAny, {
8683
- permissions: {
8684
- content: {
8685
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
8686
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
8687
- };
8688
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
8689
- };
8690
- handler: string;
8691
- prompt: {
8692
- system: string;
8693
- instructions?: string[] | undefined;
8694
- };
8695
- dependsOn?: {
8696
- agents?: string[] | undefined;
8697
- events?: "workday-closing"[] | undefined;
8698
- } | undefined;
8699
- additionalContext?: string[] | undefined;
8700
- parameters?: Record<string, unknown> | undefined;
8701
- }, {
8702
- permissions: {
8703
- content: {
8704
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
8705
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
8706
- };
8707
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
8708
- };
8709
- handler: string;
8710
- prompt: {
8711
- system: string;
8712
- instructions?: string[] | undefined;
8713
- };
8714
- dependsOn?: {
8715
- agents?: string[] | undefined;
8716
- events?: "workday-closing"[] | undefined;
8717
- } | undefined;
8718
- additionalContext?: string[] | undefined;
8719
- parameters?: Record<string, unknown> | undefined;
8720
- }>>;
8721
- acting: z.ZodOptional<z.ZodObject<{
8359
+ estimating: z.ZodOptional<z.ZodObject<{
8722
8360
  handler: z.ZodString;
8723
8361
  dependsOn: z.ZodOptional<z.ZodEffects<z.ZodObject<{
8724
8362
  agents: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -8812,7 +8450,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
8812
8450
  additionalContext?: string[] | undefined;
8813
8451
  parameters?: Record<string, unknown> | undefined;
8814
8452
  }>>;
8815
- reviewing: z.ZodOptional<z.ZodObject<{
8453
+ acting: z.ZodOptional<z.ZodObject<{
8816
8454
  handler: z.ZodString;
8817
8455
  dependsOn: z.ZodOptional<z.ZodEffects<z.ZodObject<{
8818
8456
  agents: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -8906,7 +8544,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
8906
8544
  additionalContext?: string[] | undefined;
8907
8545
  parameters?: Record<string, unknown> | undefined;
8908
8546
  }>>;
8909
- reporting: z.ZodOptional<z.ZodObject<{
8547
+ reviewing: z.ZodOptional<z.ZodObject<{
8910
8548
  handler: z.ZodString;
8911
8549
  dependsOn: z.ZodOptional<z.ZodEffects<z.ZodObject<{
8912
8550
  agents: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -9000,7 +8638,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
9000
8638
  additionalContext?: string[] | undefined;
9001
8639
  parameters?: Record<string, unknown> | undefined;
9002
8640
  }>>;
9003
- chat: z.ZodOptional<z.ZodObject<{
8641
+ reporting: z.ZodOptional<z.ZodObject<{
9004
8642
  handler: z.ZodString;
9005
8643
  dependsOn: z.ZodOptional<z.ZodEffects<z.ZodObject<{
9006
8644
  agents: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
@@ -9094,209 +8732,62 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
9094
8732
  additionalContext?: string[] | undefined;
9095
8733
  parameters?: Record<string, unknown> | undefined;
9096
8734
  }>>;
9097
- }, "strict", z.ZodTypeAny, {
9098
- planning?: {
9099
- permissions: {
9100
- content: {
9101
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9102
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9103
- };
9104
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
9105
- };
9106
- handler: string;
9107
- prompt: {
9108
- system: string;
9109
- instructions?: string[] | undefined;
9110
- };
9111
- dependsOn?: {
9112
- agents?: string[] | undefined;
9113
- events?: "workday-closing"[] | undefined;
9114
- } | undefined;
9115
- additionalContext?: string[] | undefined;
9116
- parameters?: Record<string, unknown> | undefined;
9117
- } | undefined;
9118
- estimating?: {
9119
- permissions: {
9120
- content: {
9121
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9122
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9123
- };
9124
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
9125
- };
9126
- handler: string;
9127
- prompt: {
9128
- system: string;
9129
- instructions?: string[] | undefined;
9130
- };
9131
- dependsOn?: {
8735
+ chat: z.ZodOptional<z.ZodObject<{
8736
+ handler: z.ZodString;
8737
+ dependsOn: z.ZodOptional<z.ZodEffects<z.ZodObject<{
8738
+ agents: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
8739
+ events: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodLiteral<"workday-closing">, "many">, "workday-closing"[], "workday-closing"[]>>;
8740
+ }, "strict", z.ZodTypeAny, {
9132
8741
  agents?: string[] | undefined;
9133
8742
  events?: "workday-closing"[] | undefined;
9134
- } | undefined;
9135
- additionalContext?: string[] | undefined;
9136
- parameters?: Record<string, unknown> | undefined;
9137
- } | undefined;
9138
- acting?: {
9139
- permissions: {
9140
- content: {
9141
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9142
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9143
- };
9144
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
9145
- };
9146
- handler: string;
9147
- prompt: {
9148
- system: string;
9149
- instructions?: string[] | undefined;
9150
- };
9151
- dependsOn?: {
8743
+ }, {
9152
8744
  agents?: string[] | undefined;
9153
8745
  events?: "workday-closing"[] | undefined;
9154
- } | undefined;
9155
- additionalContext?: string[] | undefined;
9156
- parameters?: Record<string, unknown> | undefined;
9157
- } | undefined;
9158
- reviewing?: {
9159
- permissions: {
9160
- content: {
9161
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9162
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9163
- };
9164
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
9165
- };
9166
- handler: string;
9167
- prompt: {
9168
- system: string;
9169
- instructions?: string[] | undefined;
9170
- };
9171
- dependsOn?: {
8746
+ }>, {
9172
8747
  agents?: string[] | undefined;
9173
8748
  events?: "workday-closing"[] | undefined;
9174
- } | undefined;
9175
- additionalContext?: string[] | undefined;
9176
- parameters?: Record<string, unknown> | undefined;
9177
- } | undefined;
9178
- reporting?: {
9179
- permissions: {
9180
- content: {
9181
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9182
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9183
- };
9184
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
9185
- };
9186
- handler: string;
9187
- prompt: {
9188
- system: string;
9189
- instructions?: string[] | undefined;
9190
- };
9191
- dependsOn?: {
8749
+ }, {
9192
8750
  agents?: string[] | undefined;
9193
8751
  events?: "workday-closing"[] | undefined;
9194
- } | undefined;
9195
- additionalContext?: string[] | undefined;
9196
- parameters?: Record<string, unknown> | undefined;
9197
- } | undefined;
9198
- chat?: {
9199
- permissions: {
9200
- content: {
8752
+ }>>;
8753
+ permissions: z.ZodObject<{
8754
+ content: z.ZodObject<{
8755
+ read: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[], ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[]>;
8756
+ write: z.ZodEffects<z.ZodArray<z.ZodEnum<["agent", "book", "knowledge", "objective", "discussion", "discussion-message", "proposal", "question", "note", "decision"]>, "many">, ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[], ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[]>;
8757
+ }, "strict", z.ZodTypeAny, {
9201
8758
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9202
8759
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9203
- };
9204
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
9205
- };
9206
- handler: string;
9207
- prompt: {
9208
- system: string;
9209
- instructions?: string[] | undefined;
9210
- };
9211
- dependsOn?: {
9212
- agents?: string[] | undefined;
9213
- events?: "workday-closing"[] | undefined;
9214
- } | undefined;
9215
- additionalContext?: string[] | undefined;
9216
- parameters?: Record<string, unknown> | undefined;
9217
- } | undefined;
9218
- }, {
9219
- planning?: {
9220
- permissions: {
9221
- content: {
8760
+ }, {
9222
8761
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9223
8762
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9224
- };
9225
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
9226
- };
9227
- handler: string;
9228
- prompt: {
9229
- system: string;
9230
- instructions?: string[] | undefined;
9231
- };
9232
- dependsOn?: {
9233
- agents?: string[] | undefined;
9234
- events?: "workday-closing"[] | undefined;
9235
- } | undefined;
9236
- additionalContext?: string[] | undefined;
9237
- parameters?: Record<string, unknown> | undefined;
9238
- } | undefined;
9239
- estimating?: {
9240
- permissions: {
8763
+ }>;
8764
+ tools: z.ZodEffects<z.ZodArray<z.ZodEnum<["discussion", "source.read", "source.write", "verification", "release"]>, "many">, ("discussion" | "source.read" | "source.write" | "verification" | "release")[], ("discussion" | "source.read" | "source.write" | "verification" | "release")[]>;
8765
+ }, "strict", z.ZodTypeAny, {
9241
8766
  content: {
9242
8767
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9243
8768
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9244
8769
  };
9245
8770
  tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
9246
- };
9247
- handler: string;
9248
- prompt: {
9249
- system: string;
9250
- instructions?: string[] | undefined;
9251
- };
9252
- dependsOn?: {
9253
- agents?: string[] | undefined;
9254
- events?: "workday-closing"[] | undefined;
9255
- } | undefined;
9256
- additionalContext?: string[] | undefined;
9257
- parameters?: Record<string, unknown> | undefined;
9258
- } | undefined;
9259
- acting?: {
9260
- permissions: {
8771
+ }, {
9261
8772
  content: {
9262
8773
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9263
8774
  write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9264
8775
  };
9265
8776
  tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
9266
- };
9267
- handler: string;
9268
- prompt: {
8777
+ }>;
8778
+ prompt: z.ZodObject<{
8779
+ system: z.ZodString;
8780
+ instructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8781
+ }, "strict", z.ZodTypeAny, {
9269
8782
  system: string;
9270
8783
  instructions?: string[] | undefined;
9271
- };
9272
- dependsOn?: {
9273
- agents?: string[] | undefined;
9274
- events?: "workday-closing"[] | undefined;
9275
- } | undefined;
9276
- additionalContext?: string[] | undefined;
9277
- parameters?: Record<string, unknown> | undefined;
9278
- } | undefined;
9279
- reviewing?: {
9280
- permissions: {
9281
- content: {
9282
- read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9283
- write: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
9284
- };
9285
- tools: ("discussion" | "source.read" | "source.write" | "verification" | "release")[];
9286
- };
9287
- handler: string;
9288
- prompt: {
8784
+ }, {
9289
8785
  system: string;
9290
8786
  instructions?: string[] | undefined;
9291
- };
9292
- dependsOn?: {
9293
- agents?: string[] | undefined;
9294
- events?: "workday-closing"[] | undefined;
9295
- } | undefined;
9296
- additionalContext?: string[] | undefined;
9297
- parameters?: Record<string, unknown> | undefined;
9298
- } | undefined;
9299
- reporting?: {
8787
+ }>;
8788
+ additionalContext: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
8789
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8790
+ }, "strict", z.ZodTypeAny, {
9300
8791
  permissions: {
9301
8792
  content: {
9302
8793
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
@@ -9315,8 +8806,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
9315
8806
  } | undefined;
9316
8807
  additionalContext?: string[] | undefined;
9317
8808
  parameters?: Record<string, unknown> | undefined;
9318
- } | undefined;
9319
- chat?: {
8809
+ }, {
9320
8810
  permissions: {
9321
8811
  content: {
9322
8812
  read: ("agent" | "note" | "question" | "proposal" | "decision" | "book" | "knowledge" | "objective" | "discussion" | "discussion-message")[];
@@ -9335,8 +8825,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
9335
8825
  } | undefined;
9336
8826
  additionalContext?: string[] | undefined;
9337
8827
  parameters?: Record<string, unknown> | undefined;
9338
- } | undefined;
9339
- }>, {
8828
+ }>>;
8829
+ }, "strict", z.ZodTypeAny, {
9340
8830
  planning?: {
9341
8831
  permissions: {
9342
8832
  content: {
@@ -9578,19 +9068,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
9578
9068
  additionalContext?: string[] | undefined;
9579
9069
  parameters?: Record<string, unknown> | undefined;
9580
9070
  } | undefined;
9581
- }>;
9582
- }, "strict", z.ZodTypeAny, {
9583
- id: string;
9584
- name: string;
9585
- schemaVersion: "treeseed.agent/v1";
9586
- purpose: string;
9587
- responsibilities: string[];
9588
- agentClass: string;
9589
- capabilities: string[];
9590
- context: {
9591
- include: string[];
9592
- };
9593
- activityProfiles: {
9071
+ }>, {
9594
9072
  planning?: {
9595
9073
  permissions: {
9596
9074
  content: {
@@ -9711,20 +9189,7 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
9711
9189
  additionalContext?: string[] | undefined;
9712
9190
  parameters?: Record<string, unknown> | undefined;
9713
9191
  } | undefined;
9714
- };
9715
- groupIds?: string[] | undefined;
9716
- }, {
9717
- id: string;
9718
- name: string;
9719
- schemaVersion: "treeseed.agent/v1";
9720
- purpose: string;
9721
- responsibilities: string[];
9722
- agentClass: string;
9723
- capabilities: string[];
9724
- context: {
9725
- include: string[];
9726
- };
9727
- activityProfiles: {
9192
+ }, {
9728
9193
  planning?: {
9729
9194
  permissions: {
9730
9195
  content: {
@@ -9845,9 +9310,8 @@ export declare function describeContentFrontmatterSchema(model: PortableContentM
9845
9310
  additionalContext?: string[] | undefined;
9846
9311
  parameters?: Record<string, unknown> | undefined;
9847
9312
  } | undefined;
9848
- };
9849
- groupIds?: string[] | undefined;
9850
- }>, {
9313
+ }>;
9314
+ }, "strict", z.ZodTypeAny, {
9851
9315
  id: string;
9852
9316
  name: string;
9853
9317
  schemaVersion: "treeseed.agent/v1";
@@ -770,7 +770,7 @@ verifiers:
770
770
  kind: vitestCase
771
771
  ownerPackage: "@treeseed/sdk"
772
772
  testFile: tests/unit/agent-capacity/capacity/architecture/profiles/profile-authority.test.ts
773
- testName: "rejects producer reviewing while retaining one independent reviewer class and exact lifecycle selector"
773
+ testName: "allows every activity for arbitrary classes while retaining exact lifecycle selectors"
774
774
  sdk.golden.architecture-profile-authority-6:
775
775
  kind: vitestCase
776
776
  ownerPackage: "@treeseed/sdk"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.13.0-rc.125",
3
+ "version": "0.13.0-rc.126",
4
4
  "description": "Portable TreeSeed contracts, standards, and typed remote control-plane clients.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {