@tickernelz/wardmote-teams-catalog 0.0.0 → 2026.1108.2
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/LICENSE +22 -0
- package/catalog/bundled/company-defaults/core-exec-team/TEAM.md +44 -0
- package/catalog/bundled/company-defaults/core-exec-team/agents/ceo/AGENTS.md +12 -0
- package/catalog/bundled/company-defaults/core-exec-team/agents/cto/AGENTS.md +12 -0
- package/catalog/bundled/company-defaults/core-exec-team/agents/qa/AGENTS.md +11 -0
- package/catalog/bundled/company-defaults/core-exec-team/projects/first-project/PROJECT.md +8 -0
- package/catalog/bundled/company-defaults/core-exec-team/projects/first-project/tasks/first-heartbeat/TASK.md +9 -0
- package/catalog/bundled/product/product-design/TEAM.md +44 -0
- package/catalog/bundled/product/product-design/agents/ux-designer/AGENTS.md +13 -0
- package/catalog/bundled/product/product-design/projects/product-design/PROJECT.md +8 -0
- package/catalog/bundled/product/product-design/projects/product-design/tasks/weekly-design-review/TASK.md +9 -0
- package/catalog/bundled/software-development/product-engineering/.paperclip.yaml +5 -0
- package/catalog/bundled/software-development/product-engineering/TEAM.md +51 -0
- package/catalog/bundled/software-development/product-engineering/agents/cto/AGENTS.md +13 -0
- package/catalog/bundled/software-development/product-engineering/agents/qa/AGENTS.md +11 -0
- package/catalog/bundled/software-development/product-engineering/agents/senior-coder/AGENTS.md +12 -0
- package/catalog/bundled/software-development/product-engineering/projects/product-engineering/PROJECT.md +8 -0
- package/catalog/bundled/software-development/product-engineering/projects/product-engineering/tasks/weekly-engineering-sync/TASK.md +9 -0
- package/catalog/optional/content/content-machine/TEAM.md +30 -0
- package/catalog/optional/content/content-machine/agents/content-lead/AGENTS.md +11 -0
- package/catalog/optional/content/content-machine/projects/content-operations/PROJECT.md +8 -0
- package/catalog/optional/content/content-machine/projects/content-operations/tasks/weekly-content-review/TASK.md +9 -0
- package/catalog/optional/content/content-machine/skills/content-calendar/SKILL.md +12 -0
- package/dist/generated/catalog.json +467 -0
- package/dist/scripts/build-catalog-manifest.d.ts +2 -0
- package/dist/scripts/build-catalog-manifest.d.ts.map +1 -0
- package/dist/scripts/build-catalog-manifest.js +11 -0
- package/dist/scripts/build-catalog-manifest.js.map +1 -0
- package/dist/scripts/validate-catalog.d.ts +2 -0
- package/dist/scripts/validate-catalog.d.ts.map +1 -0
- package/dist/scripts/validate-catalog.js +11 -0
- package/dist/scripts/validate-catalog.js.map +1 -0
- package/dist/src/catalog-builder.d.ts +22 -0
- package/dist/src/catalog-builder.d.ts.map +1 -0
- package/dist/src/catalog-builder.js +780 -0
- package/dist/src/catalog-builder.js.map +1 -0
- package/dist/src/catalog-builder.test.d.ts +2 -0
- package/dist/src/catalog-builder.test.d.ts.map +1 -0
- package/dist/src/catalog-builder.test.js +238 -0
- package/dist/src/catalog-builder.test.js.map +1 -0
- package/dist/src/frontmatter.d.ts +11 -0
- package/dist/src/frontmatter.d.ts.map +1 -0
- package/dist/src/frontmatter.js +141 -0
- package/dist/src/frontmatter.js.map +1 -0
- package/dist/src/index.d.ts +7 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +21 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/packaging.test.d.ts +2 -0
- package/dist/src/packaging.test.d.ts.map +1 -0
- package/dist/src/packaging.test.js +28 -0
- package/dist/src/packaging.test.js.map +1 -0
- package/dist/src/shipped-catalog.test.d.ts +2 -0
- package/dist/src/shipped-catalog.test.d.ts.map +1 -0
- package/dist/src/shipped-catalog.test.js +136 -0
- package/dist/src/shipped-catalog.test.js.map +1 -0
- package/dist/src/types.d.ts +81 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +2 -0
- package/dist/src/types.js.map +1 -0
- package/generated/catalog.json +467 -0
- package/package.json +42 -10
- package/README.md +0 -8
- package/index.js +0 -1
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import fs from "node:fs";
|
|
2
|
+
import { createHash } from "node:crypto";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
5
|
+
import { describe, expect, it } from "vitest";
|
|
6
|
+
import { catalogManifest, catalogTeams, resolveCatalogTeamRef } from "./index.js";
|
|
7
|
+
import { asBoolean, asString, parseFrontmatterMarkdown } from "./frontmatter.js";
|
|
8
|
+
const EXPECTED_BUNDLED_KEYS = [
|
|
9
|
+
"paperclipai/bundled/company-defaults/core-exec-team",
|
|
10
|
+
"paperclipai/bundled/product/product-design",
|
|
11
|
+
"paperclipai/bundled/software-development/product-engineering",
|
|
12
|
+
];
|
|
13
|
+
const EXPECTED_OPTIONAL_KEYS = [
|
|
14
|
+
"paperclipai/optional/content/content-machine",
|
|
15
|
+
];
|
|
16
|
+
const PACKAGE_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
|
17
|
+
describe("shipped teams catalog", () => {
|
|
18
|
+
it("ships the expected bundled and optional team fixtures", () => {
|
|
19
|
+
const bundledKeys = catalogTeams
|
|
20
|
+
.filter((team) => team.kind === "bundled")
|
|
21
|
+
.map((team) => team.key)
|
|
22
|
+
.sort();
|
|
23
|
+
const optionalKeys = catalogTeams
|
|
24
|
+
.filter((team) => team.kind === "optional")
|
|
25
|
+
.map((team) => team.key)
|
|
26
|
+
.sort();
|
|
27
|
+
expect(bundledKeys).toEqual(EXPECTED_BUNDLED_KEYS);
|
|
28
|
+
expect(optionalKeys).toEqual(EXPECTED_OPTIONAL_KEYS);
|
|
29
|
+
});
|
|
30
|
+
it("keeps every shipped team free of executable scripts and external sources in Phase B", () => {
|
|
31
|
+
const risky = catalogTeams.filter((team) => team.trustLevel === "scripts_executables" || team.trustLevel === "external_sources");
|
|
32
|
+
expect(risky, formatViolations("script-bearing or external-source teams require later security review", risky)).toEqual([]);
|
|
33
|
+
});
|
|
34
|
+
it("populates browse/search-relevant fields for every shipped team", () => {
|
|
35
|
+
const issues = [];
|
|
36
|
+
for (const team of catalogTeams) {
|
|
37
|
+
if (team.compatibility !== "compatible") {
|
|
38
|
+
issues.push(`${team.key} compatibility=${team.compatibility}`);
|
|
39
|
+
}
|
|
40
|
+
if (!team.description || team.description.length < 40) {
|
|
41
|
+
issues.push(`${team.key} description must be at least 40 characters for catalog browse/search`);
|
|
42
|
+
}
|
|
43
|
+
if (team.recommendedForCompanyTypes.length === 0) {
|
|
44
|
+
issues.push(`${team.key} must list recommendedForCompanyTypes`);
|
|
45
|
+
}
|
|
46
|
+
if (team.tags.length === 0) {
|
|
47
|
+
issues.push(`${team.key} must list tags`);
|
|
48
|
+
}
|
|
49
|
+
if (team.rootAgentSlugs.length === 0) {
|
|
50
|
+
issues.push(`${team.key} must list a root agent slug`);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
expect(issues).toEqual([]);
|
|
54
|
+
});
|
|
55
|
+
it("uses canonical wardmote keys derived from kind/category/slug", () => {
|
|
56
|
+
const violations = [];
|
|
57
|
+
for (const team of catalogTeams) {
|
|
58
|
+
const expectedKey = `paperclipai/${team.kind}/${team.category}/${team.slug}`;
|
|
59
|
+
const expectedId = `paperclipai:${team.kind}:${team.category}:${team.slug}`;
|
|
60
|
+
if (team.key !== expectedKey)
|
|
61
|
+
violations.push(`${team.key} should be ${expectedKey}`);
|
|
62
|
+
if (team.id !== expectedId)
|
|
63
|
+
violations.push(`${team.id} should be ${expectedId}`);
|
|
64
|
+
}
|
|
65
|
+
expect(violations).toEqual([]);
|
|
66
|
+
});
|
|
67
|
+
it("exposes a stable manifest header for downstream consumers", () => {
|
|
68
|
+
expect(catalogManifest.schemaVersion).toBe(1);
|
|
69
|
+
expect(catalogManifest.packageName).toBe("@tickernelz/wardmote-teams-catalog");
|
|
70
|
+
expect(catalogTeams.length).toBe(EXPECTED_BUNDLED_KEYS.length + EXPECTED_OPTIONAL_KEYS.length);
|
|
71
|
+
});
|
|
72
|
+
it("resolves shipped teams by id, key, and unique slug", () => {
|
|
73
|
+
const sample = catalogTeams.find((team) => team.key === "paperclipai/bundled/company-defaults/core-exec-team");
|
|
74
|
+
expect(sample, "expected core-exec-team to ship in the bundled catalog").toBeDefined();
|
|
75
|
+
if (!sample)
|
|
76
|
+
return;
|
|
77
|
+
expect(resolveCatalogTeamRef(sample.id)).toMatchObject({ key: sample.key });
|
|
78
|
+
expect(resolveCatalogTeamRef(sample.key)).toMatchObject({ key: sample.key });
|
|
79
|
+
expect(resolveCatalogTeamRef(sample.slug)).toMatchObject({ key: sample.key });
|
|
80
|
+
});
|
|
81
|
+
it("preserves shipped agent roles, reporting lines, and skill assignments", () => {
|
|
82
|
+
const expected = {
|
|
83
|
+
"core-exec-team/ceo": { role: "ceo", reportsTo: null, skills: ["task-planning", "issue-triage"] },
|
|
84
|
+
"core-exec-team/cto": { role: "engineering-manager", reportsTo: "ceo", skills: ["github-pr-workflow", "task-planning"] },
|
|
85
|
+
"core-exec-team/qa": { role: "qa", reportsTo: "cto", skills: ["qa-acceptance"] },
|
|
86
|
+
"product-engineering/cto": { role: "engineering-manager", reportsTo: null, skills: ["github-pr-workflow", "task-planning", "doc-maintenance"] },
|
|
87
|
+
"product-engineering/qa": { role: "qa", reportsTo: "cto", skills: ["qa-acceptance"] },
|
|
88
|
+
"product-engineering/senior-coder": { role: "engineer", reportsTo: "cto", skills: ["github-pr-workflow", "doc-maintenance"] },
|
|
89
|
+
"product-design/ux-designer": { role: "designer", reportsTo: null, skills: ["wireframe", "design-critique", "task-planning"] },
|
|
90
|
+
"content-machine/content-lead": { role: "content-strategist", reportsTo: null, skills: ["content-calendar"] },
|
|
91
|
+
};
|
|
92
|
+
const observed = {};
|
|
93
|
+
for (const team of catalogTeams) {
|
|
94
|
+
for (const file of team.files.filter((entry) => entry.kind === "agent")) {
|
|
95
|
+
const raw = fs.readFileSync(path.join(PACKAGE_DIR, team.path, file.path));
|
|
96
|
+
const { frontmatter } = parseFrontmatterMarkdown(raw.toString("utf8"));
|
|
97
|
+
observed[`${team.slug}/${frontmatter.slug}`] = {
|
|
98
|
+
role: frontmatter.role,
|
|
99
|
+
reportsTo: frontmatter.reportsTo,
|
|
100
|
+
skills: frontmatter.skills,
|
|
101
|
+
};
|
|
102
|
+
// An edited role file must also regenerate its distributable manifest.
|
|
103
|
+
expect(file.sizeBytes, `${team.key}/${file.path}`).toBe(raw.byteLength);
|
|
104
|
+
expect(file.sha256, `${team.key}/${file.path}`).toBe(createHash("sha256").update(raw).digest("hex"));
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
expect(observed).toEqual(expected);
|
|
108
|
+
});
|
|
109
|
+
it("declares a valid project for every shipped recurring task", () => {
|
|
110
|
+
const issues = [];
|
|
111
|
+
for (const team of catalogTeams) {
|
|
112
|
+
for (const file of team.files.filter((entry) => entry.kind === "task")) {
|
|
113
|
+
const absolutePath = path.join(PACKAGE_DIR, team.path, file.path);
|
|
114
|
+
const parsed = parseFrontmatterMarkdown(fs.readFileSync(absolutePath, "utf8"));
|
|
115
|
+
if (!asBoolean(parsed.frontmatter.recurring))
|
|
116
|
+
continue;
|
|
117
|
+
const project = asString(parsed.frontmatter.project);
|
|
118
|
+
if (!project) {
|
|
119
|
+
issues.push(`${team.key}/${file.path} recurring task must declare a project`);
|
|
120
|
+
continue;
|
|
121
|
+
}
|
|
122
|
+
if (!team.projectSlugs.includes(project)) {
|
|
123
|
+
issues.push(`${team.key}/${file.path} project=${project} must match a team project`);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
expect(issues).toEqual([]);
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
function formatViolations(label, teams) {
|
|
131
|
+
if (teams.length === 0)
|
|
132
|
+
return label;
|
|
133
|
+
const detail = teams.map((team) => `${team.key} (${team.trustLevel})`).join(", ");
|
|
134
|
+
return `${label}: ${detail}`;
|
|
135
|
+
}
|
|
136
|
+
//# sourceMappingURL=shipped-catalog.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shipped-catalog.test.js","sourceRoot":"","sources":["../../src/shipped-catalog.test.ts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GAAG,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;gBACrD,IAAI,CAAC,OAAO,EAAE,CAAC;oBACb,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,IAAI,wCAAwC,CAAC,CAAC;oBAC9E,SAAS;gBACX,CAAC;gBACD,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;oBACzC,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,IAAI,YAAY,OAAO,4BAA4B,CAAC,CAAC;gBACvF,CAAC;YACH,CAAC;QACH,CAAC;QAED,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAS,gBAAgB,CAAC,KAAa,EAAE,KAAoB;IAC3D,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IACrC,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,KAAK,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAClF,OAAO,GAAG,KAAK,KAAK,MAAM,EAAE,CAAC;AAC/B,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export type CatalogTeamKind = "bundled" | "optional";
|
|
2
|
+
export type CatalogTeamTrustLevel = "markdown_only" | "assets" | "scripts_executables" | "external_sources";
|
|
3
|
+
export type CatalogTeamCompatibility = "compatible" | "unknown" | "invalid";
|
|
4
|
+
export type CatalogTeamFileKind = "team" | "agent" | "project" | "task" | "skill" | "extension" | "readme" | "reference" | "script" | "asset" | "markdown" | "other";
|
|
5
|
+
export type CatalogTeamSkillRequirementType = "catalog" | "local" | "skills_sh" | "github" | "url" | "local_path" | "agent_package";
|
|
6
|
+
export interface CatalogTeamSkillRequirement {
|
|
7
|
+
type: CatalogTeamSkillRequirementType;
|
|
8
|
+
ref: string;
|
|
9
|
+
agentSlugs: string[];
|
|
10
|
+
resolved: boolean;
|
|
11
|
+
catalogSkillId?: string;
|
|
12
|
+
catalogSkillKey?: string;
|
|
13
|
+
localPath?: string;
|
|
14
|
+
sourceLocator?: string;
|
|
15
|
+
sourceRef?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface CatalogTeamEnvInputSummary {
|
|
18
|
+
key: string;
|
|
19
|
+
agentSlug: string | null;
|
|
20
|
+
projectSlug: string | null;
|
|
21
|
+
kind: "secret" | "plain";
|
|
22
|
+
requirement: "required" | "optional";
|
|
23
|
+
}
|
|
24
|
+
export interface CatalogTeamSourceRef {
|
|
25
|
+
type: Exclude<CatalogTeamSkillRequirementType, "catalog" | "local"> | "include";
|
|
26
|
+
ref: string;
|
|
27
|
+
pinned: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface CatalogTeamFile {
|
|
30
|
+
path: string;
|
|
31
|
+
kind: CatalogTeamFileKind;
|
|
32
|
+
sizeBytes: number;
|
|
33
|
+
sha256: string;
|
|
34
|
+
}
|
|
35
|
+
export interface CatalogTeam {
|
|
36
|
+
id: string;
|
|
37
|
+
key: string;
|
|
38
|
+
kind: CatalogTeamKind;
|
|
39
|
+
category: string;
|
|
40
|
+
slug: string;
|
|
41
|
+
name: string;
|
|
42
|
+
description: string;
|
|
43
|
+
path: string;
|
|
44
|
+
entrypoint: "TEAM.md";
|
|
45
|
+
schema: "agentcompanies/v1";
|
|
46
|
+
defaultInstall: boolean;
|
|
47
|
+
recommendedForCompanyTypes: string[];
|
|
48
|
+
tags: string[];
|
|
49
|
+
counts: {
|
|
50
|
+
agents: number;
|
|
51
|
+
projects: number;
|
|
52
|
+
tasks: number;
|
|
53
|
+
routines: number;
|
|
54
|
+
localSkills: number;
|
|
55
|
+
catalogSkills: number;
|
|
56
|
+
externalSkillSources: number;
|
|
57
|
+
};
|
|
58
|
+
rootAgentSlugs: string[];
|
|
59
|
+
agentSlugs: string[];
|
|
60
|
+
projectSlugs: string[];
|
|
61
|
+
requiredSkills: CatalogTeamSkillRequirement[];
|
|
62
|
+
envInputs: CatalogTeamEnvInputSummary[];
|
|
63
|
+
sourceRefs: CatalogTeamSourceRef[];
|
|
64
|
+
files: CatalogTeamFile[];
|
|
65
|
+
trustLevel: CatalogTeamTrustLevel;
|
|
66
|
+
compatibility: CatalogTeamCompatibility;
|
|
67
|
+
contentHash: string;
|
|
68
|
+
}
|
|
69
|
+
export interface CatalogManifest {
|
|
70
|
+
schemaVersion: 1;
|
|
71
|
+
packageName: "@tickernelz/wardmote-teams-catalog";
|
|
72
|
+
packageVersion: string;
|
|
73
|
+
generatedAt: string;
|
|
74
|
+
teams: CatalogTeam[];
|
|
75
|
+
}
|
|
76
|
+
export interface CatalogValidationResult {
|
|
77
|
+
valid: boolean;
|
|
78
|
+
errors: string[];
|
|
79
|
+
manifest: CatalogManifest;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,CAAC;AAErD,MAAM,MAAM,qBAAqB,GAC7B,eAAe,GACf,QAAQ,GACR,qBAAqB,GACrB,kBAAkB,CAAC;AAEvB,MAAM,MAAM,wBAAwB,GAAG,YAAY,GAAG,SAAS,GAAG,SAAS,CAAC;AAE5E,MAAM,MAAM,mBAAmB,GAC3B,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,GACN,OAAO,GACP,WAAW,GACX,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,OAAO,GACP,UAAU,GACV,OAAO,CAAC;AAEZ,MAAM,MAAM,+BAA+B,GACvC,SAAS,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