Skip to content

Commit e5ee4b4

Browse files
v1821: Make adoption validation and approval operator-owned (samebase/samebase#1365)
Samebase-Source-Repository: samebase/samebase Samebase-Source-Commit: d361ad5d9652933b3bd761f5e896e2992038d7a8 Samebase-Source-Path: packages/agent-plugins
1 parent 2a2079d commit e5ee4b4

5 files changed

Lines changed: 27 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "samebase-agent-plugins",
3-
"version": "0.2.12",
3+
"version": "0.2.15",
44
"private": true,
55
"license": "Apache-2.0",
66
"type": "module",

plugins/samebase/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "samebase",
33
"displayName": "Samebase",
44
"description": "Build and ship web apps with Samebase through a user-owned GitHub repository, Convex backend, and Cloudflare Workers delivery.",
5-
"version": "0.2.12",
5+
"version": "0.2.15",
66
"author": {
77
"name": "Samebase"
88
},

plugins/samebase/.codex-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "samebase",
3-
"version": "0.2.12",
3+
"version": "0.2.15",
44
"description": "Build and ship web apps with Samebase through a user-owned GitHub repository, Convex backend, and Cloudflare Workers delivery.",
55
"author": {
66
"name": "Samebase",

plugins/samebase/skills/samebase/SKILL.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ or copy tool schemas into this skill.
6161
setup is incomplete.
6262
- Reread inventory after each attachment, configuration, or repair action.
6363
- A started run, requested build, commit, or push is not proof of a live deployment.
64+
- Before a write sequence that can start or request a production build, name that effect and get
65+
explicit approval. One approval can cover the named sequence when the repository, provider
66+
account, possible production effect, and rule for attaching an existing resource or creating a new
67+
one are clear. Ask again if one of those facts or the approved scope changes.
6468

6569
## Work in the repository
6670

@@ -77,6 +81,10 @@ pins. Classify each difference as alignment, a proven target constraint, an inve
7781
tested exception. Samebase is the first baseline, not an unquestioned authority. Carry target
7882
findings back when they improve the public reference.
7983

84+
Keep validation proportionate to the project and the migration risk. Discuss material cost and
85+
coverage tradeoffs with the operator. Do not turn Samebase adoption into an unrelated testing
86+
upgrade.
87+
8088
Treat authored `.js`, `.mjs`, and `.cjs` files and direct ESLint, Prettier, Vitest, or Vite runners
8189
as review smells. Keep an exception only for one named tool or runtime boundary that cannot use the
8290
normal TypeScript and Vite+ path. Document the boundary. Do not add a repository scanner only to

scripts/check.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,22 @@ check(
102102
),
103103
"The Samebase skill must classify every toolchain difference before implementation.",
104104
);
105+
check(
106+
samebaseSkill.includes(
107+
"Keep validation proportionate to the project and the migration risk. Discuss material cost and coverage tradeoffs with the operator.",
108+
) && samebaseSkill.includes("Do not turn Samebase adoption into an unrelated testing upgrade."),
109+
"The Samebase skill must keep validation proportionate and operator-informed.",
110+
);
111+
check(
112+
samebaseSkill.includes(
113+
"Before a write sequence that can start or request a production build, name that effect and get explicit approval.",
114+
) &&
115+
samebaseSkill.includes(
116+
"One approval can cover the named sequence when the repository, provider account, possible production effect, and rule for attaching an existing resource or creating a new one are clear.",
117+
) &&
118+
samebaseSkill.includes("Ask again if one of those facts or the approved scope changes."),
119+
"The Samebase skill must require informed approval for a production-build sequence.",
120+
);
105121
const scopeGateIndex = samebaseSkill.indexOf(
106122
"Do not use Samebase for unrelated Git work or standalone provider resources. A standalone Cloudflare Worker means no Samebase.",
107123
);

0 commit comments

Comments
 (0)