@humanoiselabs/plus62 0.0.0-stage → 0.1.7
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 +21 -0
- package/README.md +161 -2
- package/core/00-identity.md +27 -0
- package/core/10-safety.md +21 -0
- package/core/20-decision.md +26 -0
- package/core/30-efficiency.md +22 -0
- package/core/always-on.md +27 -0
- package/culture/id/absurd-humor.md +21 -0
- package/culture/id/dev-humor.md +22 -0
- package/culture/id/genz-lexicon.yaml +113 -0
- package/culture/id/humor-boundaries.md +23 -0
- package/culture/id/memes.yaml +41 -0
- package/culture/id/religious-expression.md +27 -0
- package/culture/id/sources.md +60 -0
- package/dist/cli.js +5712 -0
- package/evals/cci.yaml +468 -0
- package/evals/decisions.yaml +282 -0
- package/evals/preservation.yaml +128 -0
- package/evals/rusuh-voice.yaml +238 -0
- package/evals/safety.yaml +300 -0
- package/evals/smoke.yaml +56 -0
- package/fixtures/cod-admin-substring.yaml +44 -0
- package/fixtures/cod-alg-none.yaml +42 -0
- package/fixtures/cod-bigint-order-id.yaml +42 -0
- package/fixtures/cod-capture-group-index.yaml +40 -0
- package/fixtures/cod-cents-from-float.yaml +42 -0
- package/fixtures/cod-cents-split-remainder.yaml +60 -0
- package/fixtures/cod-clamp-both-bounds.yaml +51 -0
- package/fixtures/cod-csv-empty-field.yaml +37 -0
- package/fixtures/cod-csv-quoted-comma.yaml +54 -0
- package/fixtures/cod-csv-trailing-row.yaml +40 -0
- package/fixtures/cod-cut-on-word-boundary.yaml +47 -0
- package/fixtures/cod-default-parameter-null.yaml +42 -0
- package/fixtures/cod-discount-cents.yaml +37 -0
- package/fixtures/cod-email-plus-tag-canonical.yaml +45 -0
- package/fixtures/cod-emoji-preview-cut.yaml +44 -0
- package/fixtures/cod-empty-array-truthy.yaml +44 -0
- package/fixtures/cod-env-flag-false-string.yaml +55 -0
- package/fixtures/cod-escape-html.yaml +46 -0
- package/fixtures/cod-expiry-gte.yaml +37 -0
- package/fixtures/cod-flat-depth-nested.yaml +48 -0
- package/fixtures/cod-full-days-floor.yaml +49 -0
- package/fixtures/cod-health-check-partial.yaml +65 -0
- package/fixtures/cod-hex-color-expand.yaml +46 -0
- package/fixtures/cod-inclusive-range-sum.yaml +46 -0
- package/fixtures/cod-indexof-missing-item.yaml +48 -0
- package/fixtures/cod-invoice-zero-pad.yaml +38 -0
- package/fixtures/cod-json-date-roundtrip.yaml +45 -0
- package/fixtures/cod-last-items-zero-count.yaml +47 -0
- package/fixtures/cod-locale-thousands-dots.yaml +39 -0
- package/fixtures/cod-map-key-type.yaml +40 -0
- package/fixtures/cod-mask-secret.yaml +43 -0
- package/fixtures/cod-match-null-guard.yaml +43 -0
- package/fixtures/cod-memo-key-collision.yaml +56 -0
- package/fixtures/cod-missing-address-crash.yaml +39 -0
- package/fixtures/cod-month-index-label.yaml +42 -0
- package/fixtures/cod-no-mutation.yaml +37 -0
- package/fixtures/cod-object-key-order.yaml +59 -0
- package/fixtures/cod-options-default-object.yaml +44 -0
- package/fixtures/cod-page-offset-one-based.yaml +41 -0
- package/fixtures/cod-pagination-total.yaml +37 -0
- package/fixtures/cod-parse-port.yaml +39 -0
- package/fixtures/cod-phone-normalize.yaml +45 -0
- package/fixtures/cod-progress-label-rounding.yaml +50 -0
- package/fixtures/cod-query-regex-escape.yaml +43 -0
- package/fixtures/cod-query-value-encode.yaml +47 -0
- package/fixtures/cod-reduce-initial-value.yaml +38 -0
- package/fixtures/cod-regex-global-lastindex.yaml +44 -0
- package/fixtures/cod-retry-cap.yaml +43 -0
- package/fixtures/cod-round-away-from-zero.yaml +42 -0
- package/fixtures/cod-search-case-insensitive.yaml +50 -0
- package/fixtures/cod-shallow-copy-leak.yaml +45 -0
- package/fixtures/cod-slug-idempotent.yaml +38 -0
- package/fixtures/cod-slug-unanchored.yaml +46 -0
- package/fixtures/cod-sort-leaderboard.yaml +38 -0
- package/fixtures/cod-sort-names-by-letter.yaml +51 -0
- package/fixtures/cod-split-limit-drops-value.yaml +43 -0
- package/fixtures/cod-trailing-slash-dedupe.yaml +44 -0
- package/fixtures/cod-unique-by-field.yaml +57 -0
- package/fixtures/cod-weekend-numbering.yaml +40 -0
- package/fixtures/cod-zero-is-a-value.yaml +56 -0
- package/package.json +71 -4
- package/personas/plus62/card.md +8 -0
- package/personas/plus62/examples.jsonl +20 -0
- package/personas/plus62/lexicon.yaml +19 -0
- package/personas/plus62/persona.yaml +27 -0
- package/personas/plus62/tests.yaml +150 -0
- package/personas/plus62/voice.md +80 -0
- package/profiles/plus62.yaml +20 -0
- package/schemas/coding-fixture.schema.json +53 -0
- package/schemas/config.schema.json +18 -0
- package/schemas/culture.schema.json +75 -0
- package/schemas/eval-suite.schema.json +66 -0
- package/schemas/install-manifest.schema.json +52 -0
- package/schemas/lexicon.schema.json +27 -0
- package/schemas/manifest.schema.json +57 -0
- package/schemas/memes.schema.json +31 -0
- package/schemas/persona.schema.json +68 -0
- package/schemas/profile.schema.json +51 -0
- package/schemas/register-map.schema.json +105 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "hahahah.persona/v1",
|
|
4
|
+
"title": "HAHahah persona",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema",
|
|
9
|
+
"id",
|
|
10
|
+
"version",
|
|
11
|
+
"display_name",
|
|
12
|
+
"locale",
|
|
13
|
+
"intensity",
|
|
14
|
+
"register",
|
|
15
|
+
"voice",
|
|
16
|
+
"card",
|
|
17
|
+
"lexicon",
|
|
18
|
+
"culture_refs",
|
|
19
|
+
"budgets",
|
|
20
|
+
"safety_profile",
|
|
21
|
+
"reviews",
|
|
22
|
+
"expires"
|
|
23
|
+
],
|
|
24
|
+
"properties": {
|
|
25
|
+
"schema": { "const": "hahahah.persona/v1" },
|
|
26
|
+
"id": { "type": "string", "pattern": "^[a-z][a-z0-9-]*$" },
|
|
27
|
+
"version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$" },
|
|
28
|
+
"display_name": { "type": "string", "minLength": 1 },
|
|
29
|
+
"locale": { "type": "string", "minLength": 2, "maxLength": 16 },
|
|
30
|
+
"intensity": { "enum": ["low", "medium", "high"] },
|
|
31
|
+
"register": { "type": "string", "minLength": 1 },
|
|
32
|
+
"voice": { "type": "string", "pattern": "^(?!/)(?!.*\\.\\.).+$" },
|
|
33
|
+
"card": { "type": "string", "pattern": "^(?!/)(?!.*\\.\\.).+$" },
|
|
34
|
+
"lexicon": { "type": "string", "pattern": "^(?!/)(?!.*\\.\\.).+$" },
|
|
35
|
+
"culture_refs": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"minItems": 1,
|
|
38
|
+
"items": { "type": "string", "pattern": "^(?!/)(?!.*\\.\\.).+$" }
|
|
39
|
+
},
|
|
40
|
+
"budgets": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"additionalProperties": false,
|
|
43
|
+
"required": ["always_on_tokens", "skill_body_tokens"],
|
|
44
|
+
"properties": {
|
|
45
|
+
"always_on_tokens": { "type": "integer", "minimum": 1 },
|
|
46
|
+
"skill_body_tokens": { "type": "integer", "minimum": 1 }
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"safety_profile": { "type": "string", "minLength": 1 },
|
|
50
|
+
"reviews": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"additionalProperties": false,
|
|
53
|
+
"required": ["linguistic", "cultural", "safety", "reviewed_at"],
|
|
54
|
+
"properties": {
|
|
55
|
+
"linguistic": { "enum": ["pending", "approved", "rejected"] },
|
|
56
|
+
"cultural": { "enum": ["pending", "approved", "rejected"] },
|
|
57
|
+
"safety": { "enum": ["pending", "approved", "rejected"] },
|
|
58
|
+
"reviewed_at": {
|
|
59
|
+
"anyOf": [
|
|
60
|
+
{ "type": "null" },
|
|
61
|
+
{ "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" }
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"expires": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" }
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "hahahah.profile/v1",
|
|
4
|
+
"title": "HAHahah profile",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema",
|
|
9
|
+
"id",
|
|
10
|
+
"persona",
|
|
11
|
+
"locale",
|
|
12
|
+
"intensity",
|
|
13
|
+
"core",
|
|
14
|
+
"budget_profile",
|
|
15
|
+
"adapters",
|
|
16
|
+
"budgets"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"schema": { "const": "hahahah.profile/v1" },
|
|
20
|
+
"id": { "type": "string", "pattern": "^[a-z][a-z0-9-]*$" },
|
|
21
|
+
"persona": { "type": "string", "pattern": "^[a-z][a-z0-9-]*$" },
|
|
22
|
+
"locale": { "type": "string", "minLength": 2, "maxLength": 16 },
|
|
23
|
+
"intensity": { "enum": ["low", "medium", "high"] },
|
|
24
|
+
"core": { "type": "string", "minLength": 1 },
|
|
25
|
+
"budget_profile": { "type": "string", "minLength": 1 },
|
|
26
|
+
"adapters": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"minItems": 1,
|
|
29
|
+
"uniqueItems": true,
|
|
30
|
+
"items": {
|
|
31
|
+
"enum": ["fake", "claude-code", "opencode", "agents-md", "antigravity", "qoder", "copilot"]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"budgets": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"additionalProperties": false,
|
|
37
|
+
"required": [
|
|
38
|
+
"always_on_tokens",
|
|
39
|
+
"skill_metadata_tokens",
|
|
40
|
+
"skill_body_tokens",
|
|
41
|
+
"reference_tokens_max"
|
|
42
|
+
],
|
|
43
|
+
"properties": {
|
|
44
|
+
"always_on_tokens": { "type": "integer", "minimum": 1 },
|
|
45
|
+
"skill_metadata_tokens": { "type": "integer", "minimum": 1 },
|
|
46
|
+
"skill_body_tokens": { "type": "integer", "minimum": 1 },
|
|
47
|
+
"reference_tokens_max": { "type": "integer", "minimum": 1 }
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "hahahah.culture.registers/v1",
|
|
4
|
+
"title": "HAHahah Javanese register map",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema",
|
|
9
|
+
"locale",
|
|
10
|
+
"version",
|
|
11
|
+
"reviewed_by",
|
|
12
|
+
"next_review",
|
|
13
|
+
"levels",
|
|
14
|
+
"honorifics",
|
|
15
|
+
"defaults",
|
|
16
|
+
"common_errors",
|
|
17
|
+
"banyumasan",
|
|
18
|
+
"sources"
|
|
19
|
+
],
|
|
20
|
+
"properties": {
|
|
21
|
+
"schema": { "const": "hahahah.culture.registers/v1" },
|
|
22
|
+
"locale": { "type": "string", "minLength": 2, "maxLength": 16 },
|
|
23
|
+
"version": { "type": "string", "minLength": 1 },
|
|
24
|
+
"reviewed_by": { "type": "string", "minLength": 1 },
|
|
25
|
+
"next_review": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" },
|
|
26
|
+
"levels": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"additionalProperties": false,
|
|
29
|
+
"required": ["ngoko", "madya", "krama"],
|
|
30
|
+
"properties": {
|
|
31
|
+
"ngoko": { "$ref": "#/definitions/level" },
|
|
32
|
+
"madya": { "$ref": "#/definitions/level" },
|
|
33
|
+
"krama": { "$ref": "#/definitions/level" }
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"honorifics": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"required": ["krama_inggil", "krama_andhap"],
|
|
40
|
+
"properties": {
|
|
41
|
+
"krama_inggil": { "type": "string", "minLength": 1 },
|
|
42
|
+
"krama_andhap": { "type": "string", "minLength": 1 }
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"defaults": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"required": [
|
|
49
|
+
"close_peer_or_younger",
|
|
50
|
+
"unknown_or_status_unclear",
|
|
51
|
+
"elder_teacher_official",
|
|
52
|
+
"genuinely_unclear"
|
|
53
|
+
],
|
|
54
|
+
"properties": {
|
|
55
|
+
"close_peer_or_younger": { "type": "string", "minLength": 1 },
|
|
56
|
+
"unknown_or_status_unclear": { "type": "string", "minLength": 1 },
|
|
57
|
+
"elder_teacher_official": { "type": "string", "minLength": 1 },
|
|
58
|
+
"genuinely_unclear": { "type": "string", "minLength": 1 }
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"common_errors": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"minItems": 1,
|
|
64
|
+
"items": { "type": "string", "minLength": 1 }
|
|
65
|
+
},
|
|
66
|
+
"banyumasan": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"additionalProperties": false,
|
|
69
|
+
"required": ["preferred_name", "note"],
|
|
70
|
+
"properties": {
|
|
71
|
+
"preferred_name": { "const": "Banyumasan" },
|
|
72
|
+
"note": { "type": "string", "minLength": 1 }
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"sources": {
|
|
76
|
+
"type": "array",
|
|
77
|
+
"minItems": 1,
|
|
78
|
+
"items": { "type": "string", "pattern": "^https?://" }
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"definitions": {
|
|
82
|
+
"level": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"additionalProperties": false,
|
|
85
|
+
"required": ["use", "pronouns", "markers"],
|
|
86
|
+
"properties": {
|
|
87
|
+
"use": { "type": "string", "minLength": 1 },
|
|
88
|
+
"pronouns": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"additionalProperties": false,
|
|
91
|
+
"required": ["i", "you"],
|
|
92
|
+
"properties": {
|
|
93
|
+
"i": { "type": "string", "minLength": 1 },
|
|
94
|
+
"you": { "type": "string", "minLength": 1 }
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"markers": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"minProperties": 1,
|
|
100
|
+
"additionalProperties": { "type": "string", "minLength": 1 }
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|