Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.

Commit 9edd292

Browse files
chore: prohibit vague agent naming (#18)
1 parent 7a67f7d commit 9edd292

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

‎.superverse/template.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"schemaVersion": 1,
33
"buildProfile": "go-react-v1",
4-
"templateVersion": "1.7.0",
4+
"templateVersion": "1.7.1",
55
"minimumSandboxImageContractRevision": 3,
66
"openapiSpec": "openapi/openapi.yaml",
77
"agentInstructions": "AGENTS.md",

‎AGENTS.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ run `make generate`, and update server, UI, integration, and E2E coverage in the
2222
same change. Both generated directories are ignored local build outputs; never
2323
add them to Git or include them in a pull request.
2424

25+
Use precise domain names. Do not use the case-insensitive stems `runtime` or
26+
`normaliz` in repository-owned package, directory, file, type, interface,
27+
method, function, field, parameter, variable, constant, schema, configuration,
28+
or resource names. Name the concrete execution role or transformation instead,
29+
such as `TrimWhitespace`, `CanonicalizeURL`, or
30+
`ValidateAndSortSelections`. Generated and third-party code,
31+
framework-mandated identifiers, and migration code or tests that must reference
32+
immutable legacy names are exempt.
33+
2534
The Dex Flow has stable Step, Attribute, Channel, Timer, and RPC identities.
2635
Keep external effects in `Execute`; `WaitForApproval.WaitFor` only declares the
2736
approval Channel and reminder Timer. Register every durable primitive in the

‎internal/templatecontract/contract_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func TestTemplateContract(t *testing.T) {
2929
if err := json.Unmarshal(manifestBytes, &contract); err != nil {
3030
t.Fatalf("decode manifest: %v", err)
3131
}
32-
if contract.SchemaVersion != 1 || contract.BuildProfile != "go-react-v1" || contract.TemplateVersion != "1.7.0" || contract.MinimumSandboxImageContractRevision != 3 {
32+
if contract.SchemaVersion != 1 || contract.BuildProfile != "go-react-v1" || contract.TemplateVersion != "1.7.1" || contract.MinimumSandboxImageContractRevision != 3 {
3333
t.Fatalf("unexpected template identity: %+v", contract)
3434
}
3535
if baseline := strings.TrimSpace(readFile(t, filepath.Join(root, "DEX_SERVER_BASELINE"))); baseline != "server/v0.14.0" {

0 commit comments

Comments
 (0)