Skip to content

Commit 7a28b09

Browse files
claudehyperpolymath
authored andcommitted
fix(k9): add K9! magic line + pedigree block to methodology-guard
The K9 validator (dogfood-gate 'Validate K9 contracts') failed on methodology-guard.k9.ncl: missing 'K9!' magic number (first non-empty line must be exactly 'K9!') and missing a 'pedigree = { ... }' section. Add both, matching the passing must-check / template-kennel validators. Check logic unchanged. https://claude.ai/code/session_013wg3Mtq2QFhYi4XVw1Z6z7
1 parent 9b3617d commit 7a28b09

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.machine_readable/svc/k9/methodology-guard.k9.ncl

Lines changed: 22 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) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
34
#
@@ -10,6 +11,27 @@
1011
# Usage: k9 validate methodology-guard
1112

1213
let methodology_guard = {
14+
pedigree = {
15+
schema_version = "1.0.0",
16+
component_type = "methodology-validator",
17+
security = {
18+
leash = 'Yard,
19+
trust_level = "validated-config",
20+
allow_network = false,
21+
allow_filesystem_write = false,
22+
allow_subprocess = false,
23+
},
24+
metadata = {
25+
name = "methodology-guard",
26+
version = "1.0.0",
27+
description = "Validates that agent work respects declared methodology constraints",
28+
author = "Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>",
29+
paired_files = [
30+
"../../agent_instructions/methodology.a2ml",
31+
],
32+
},
33+
},
34+
1335
name = "methodology-guard",
1436
version = "1.0.0",
1537
description = "Validates that agent work respects declared methodology constraints",

0 commit comments

Comments
 (0)