Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .machine_readable/ECOSYSTEM.a2ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;; Ecosystem position and relationships
(ecosystem
(version "1.0.0")
(name "{{REPO}}")
(name "fraying-model-computational-testbed")
(type "library")
(purpose "{{REPO_DESCRIPTION}}")
(purpose "Enumerate global knot-resolution states and compute fragment-count distributions")
(related-projects))
2 changes: 1 addition & 1 deletion .machine_readable/META.a2ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;; Architecture decisions and development practices
(meta
(version "1.0.0")
(project "{{REPO}}")
(project "fraying-model-computational-testbed")
(architecture-decisions)
(development-practices
(code-review "required")
Expand Down
7 changes: 7 additions & 0 deletions .machine_readable/self-validating/methodology-guard.k9.ncl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
K9!
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) {{CURRENT_YEAR}} {{AUTHOR}} ({{OWNER}}) <{{AUTHOR_EMAIL}}>
#
Expand All @@ -8,6 +9,12 @@
# Usage: k9 validate methodology-guard

let methodology_guard = {
pedigree = {
schema_version = "1.0.0",
name = "methodology-guard",
leash = 'Yard,
},

name = "methodology-guard",
version = "1.0.0",
description = "Validates that agent work respects declared methodology constraints",
Expand Down
8 changes: 7 additions & 1 deletion container/deploy.k9.ncl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
K9!
# SPDX-License-Identifier: MPL-2.0
# deploy.k9.ncl — {{PROJECT_NAME}} deployment component (Hunt level)
#
Expand Down Expand Up @@ -143,7 +144,12 @@ echo "K9: Rollback complete."

# Export the component
{
pedigree = component_pedigree,
pedigree = component_pedigree & {
name = "{{SERVICE_NAME}}-deploy",
version = "{{VERSION}}",
leash = 'Hunt,
signature_required = true,
},
deployment = deployment,
scripts = scripts,

Expand Down
81 changes: 41 additions & 40 deletions coordination.k9
Original file line number Diff line number Diff line change
@@ -1,43 +1,44 @@
K9!
# SPDX-License-Identifier: MPL-2.0
# Thin coordination bindings for central session-management standards

session_management:
source_of_truth: "standards/session-management-standards"
canonical_commands:
- "intake repo <path>"
- "checkpoint change <path>"
- "verify maintenance <path>"
- "verify substantial <path>"
- "verify release <path>"
- "close planned <path>"
- "close urgent <path>"
- "recover repo <path>"
- "handover full <path>"
- "handover split <path>"
- "handover model <path>"
- "handover human <path>"
{
pedigree = {
schema_version = "1.0.0",
name = "session-coordination",
leash = 'Kennel,
},

signals:
- name: "session.intake"
command: "intake repo <path>"
- name: "session.checkpoint"
command: "checkpoint change <path>"
- name: "session.verify.maintenance"
command: "verify maintenance <path>"
- name: "session.verify.substantial"
command: "verify substantial <path>"
- name: "session.verify.release"
command: "verify release <path>"
- name: "session.close.planned"
command: "close planned <path>"
- name: "session.close.urgent"
command: "close urgent <path>"
- name: "session.recover"
command: "recover repo <path>"
- name: "session.handover.full"
command: "handover full <path>"
- name: "session.handover.split"
command: "handover split <path>"
- name: "session.handover.model"
command: "handover model <path>"
- name: "session.handover.human"
command: "handover human <path>"
session_management = {
source_of_truth = "standards/session-management-standards",
canonical_commands = [
"intake repo <path>",
"checkpoint change <path>",
"verify maintenance <path>",
"verify substantial <path>",
"verify release <path>",
"close planned <path>",
"close urgent <path>",
"recover repo <path>",
"handover full <path>",
"handover split <path>",
"handover model <path>",
"handover human <path>",
],
},

signals = [
{ name = "session.intake", command = "intake repo <path>" },
{ name = "session.checkpoint", command = "checkpoint change <path>" },
{ name = "session.verify.maintenance", command = "verify maintenance <path>" },
{ name = "session.verify.substantial", command = "verify substantial <path>" },
{ name = "session.verify.release", command = "verify release <path>" },
{ name = "session.close.planned", command = "close planned <path>" },
{ name = "session.close.urgent", command = "close urgent <path>" },
{ name = "session.recover", command = "recover repo <path>" },
{ name = "session.handover.full", command = "handover full <path>" },
{ name = "session.handover.split", command = "handover split <path>" },
{ name = "session.handover.model", command = "handover model <path>" },
{ name = "session.handover.human", command = "handover human <path>" },
],
}
1 change: 1 addition & 0 deletions docs/governance/MAINTENANCE-CHECKLIST.a2ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Cross-repo maintenance baseline (machine-readable canonical)

[metadata]
name = "cross-repository-maintenance-baseline"
version = "1.1.0"
last-updated = "2026-02-24"
scope = "cross-repo"
Expand Down
56 changes: 44 additions & 12 deletions session/custom-checks.k9
Original file line number Diff line number Diff line change
@@ -1,15 +1,47 @@
K9!
# SPDX-License-Identifier: MPL-2.0
# Local repository session checks (thin policy layer)
version: "0.1"

checks:
- id: "session-state-has-next-action"
applies_to: ["close planned", "close urgent", "handover full", "handover split", "handover model", "handover human"]
requirement: "LAST-CANONICAL-COMMAND.md contains next intended action"
{
pedigree = {
schema_version = "1.0.0",
name = "session-custom-checks",
leash = 'Kennel,
},

- id: "session-state-has-residual-risks"
applies_to: ["verify maintenance", "verify substantial", "verify release", "recover repo"]
requirement: "Residual risks field is not left blank"

- id: "session-state-has-recommended-next-protocol"
applies_to: ["intake repo", "checkpoint change", "recover repo", "handover full"]
requirement: "Recommended next protocol is set"
version = "0.1",
checks = [
{
id = "session-state-has-next-action",
applies_to = [
"close planned",
"close urgent",
"handover full",
"handover split",
"handover model",
"handover human",
],
requirement = "LAST-CANONICAL-COMMAND.md contains next intended action",
},
{
id = "session-state-has-residual-risks",
applies_to = [
"verify maintenance",
"verify substantial",
"verify release",
"recover repo",
],
requirement = "Residual risks field is not left blank",
},
{
id = "session-state-has-recommended-next-protocol",
applies_to = [
"intake repo",
"checkpoint change",
"recover repo",
"handover full",
],
requirement = "Recommended next protocol is set",
},
],
}
Loading