Skip to content

Commit 7fc1626

Browse files
committed
fix(k9): methodology-guard template — add required K9! magic + pedigree
K9 validators (hyperpolymath/k9-validate-action) require the 'K9!' first line and a pedigree block with a name; this template lacked both (found when januskey adopted it and its 'Validate K9 contracts' gate failed). Fixed at source so future adopters inherit a valid file. https://claude.ai/code/session_01GJatEm2TVFSTBEkKXmserJ
1 parent 9500e9f commit 7fc1626

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.machine_readable/self-validating/methodology-guard.k9.ncl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
K9!
12
# SPDX-License-Identifier: MPL-2.0
23
# Copyright (c) {{CURRENT_YEAR}} {{AUTHOR}} ({{OWNER}}) <{{AUTHOR_EMAIL}}>
34
#
@@ -12,6 +13,23 @@ let methodology_guard = {
1213
version = "1.0.0",
1314
description = "Validates that agent work respects declared methodology constraints",
1415

16+
# Required by K9 validators (hyperpolymath/k9-validate-action): the magic
17+
# first line above and this pedigree. Data-only guard — no network/write/
18+
# subprocess access. (Defect found via januskey's "Validate K9 contracts"
19+
# gate when this template was adopted there.)
20+
pedigree = {
21+
name = "methodology-guard",
22+
schema_version = "1.0.0",
23+
component_type = "methodology-validator",
24+
security = {
25+
leash = 'Kennel,
26+
trust_level = "data-only",
27+
allow_network = false,
28+
allow_filesystem_write = false,
29+
allow_subprocess = false,
30+
},
31+
},
32+
1533
checks = {
1634
divergent_invariant_language = {
1735
description = "No files in languages violating the divergent language invariant",

0 commit comments

Comments
 (0)