Skip to content

chore: standardize .machine_readable to 06-12 estate layout - #15

Merged
hyperpolymath merged 2 commits into
mainfrom
claude/gallant-faraday-LSAGJ
Jun 13, 2026
Merged

hyperpolymath merged 2 commits into
mainfrom
claude/gallant-faraday-LSAGJ

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Brings Cliodynamics.jl to the 06-12 estate standard for .machine_readable/ and root governance.

  • Pulled estate governance scaffold: CODEOWNERS, GOVERNANCE.adoc, MAINTAINERS.adoc, CODE_OF_CONDUCT.md, CONTRIBUTING.md, ISSUE_TEMPLATE, 0-AI-MANIFEST.a2ml, 6a2/README.adoc, flat contractile stubs, Justfile
  • Removed stale svc/README.adoc (self-validating/ was already in place)
  • Added missing flat contractiles: Bustfile.a2ml and Dustfile.a2ml (Julia-grounded: julia --project=. -e 'using Pkg; Pkg.test()', docs/build/ cleanup, etc.)
  • Added estate bot_directives trio: hypatia.a2ml, gitbot-fleet.a2ml, git-private-farm.a2ml; updated bot_directives/README.adoc
  • Refreshed 6a2/STATE.a2ml and 6a2/META.a2ml: version 0.1.0 → 1.0.0 (matching Project.toml), last-updated → 2026-06-13, added [build]/[components]/[models]/[governance]/[architecture] sections grounded in CLAUDE.md and Project.toml

Template-leak FLAG (all four contractiles were un-substituted)

The estate branch (estate-standardization-20260607) carried all four contractiles (Adjustfile, Intentfile, Mustfile, Trustfile) unsubstituted from rsr-template-repo. Specifically:

  • Mustfile said "Physical state contract for rsr-template-repo" and enforced the old nested layout (contractiles/bust/, self-validating/k9-svc/, 6a2/anchors/) as critical — directly contradicting the flat 06-12 layout the estate itself delivers.
  • Intentfile described its north-star as "the master template for all hyperpolymath" with intents like repo-initialization and contractile-completeness.
  • Adjustfile checked for "template placeholders" drift, not Cliodynamics.jl drift.
  • Trustfile identified the repo as rsr-template-repo with trust level maximal.

All four have been rewritten with Cliodynamics.jl identity, Julia build gates, and the correct flat layout checks. The template drift is noted inline in each file's header and in the no-template-identity-leak check in Mustfile and Adjustfile.

Instant-sync / propagation

instant-sync.yml is present — propagation is LIVE. Secret name: FARM_DISPATCH_TOKEN. Target: hyperpolymath/.git-private-farm. Event: propagate. Documented in bot_directives/git-private-farm.a2ml.

Scope exclusions

This PR covers docs/metadata/governance only. Explicitly excluded:

  • Full SPDX/REUSE header sweep across all source files
  • CI campaigns (C001–C005)
  • Julia test suite execution (unchanged; documented as 124 tests / 18 testsets per CLAUDE.md)

Test plan

  • Verify grep -rln 'rsr-template-repo' .machine_readable/contractiles/ returns files with only NOTE/comment references (no identity claims)
  • Verify grep -rn '{{' .machine_readable/contractiles/ shows only self-referential check commands (no stale placeholders)
  • Verify git show HEAD~1:.machine_readable/contractiles/Mustfile.a2ml | head -2 says Cliodynamics.jl
  • Confirm bot_directives trio files exist and reference correct secret name (FARM_DISPATCH_TOKEN)

https://claude.ai/code/session_01PWMMxryCcPrAjJ8tuGvygG


Generated by Claude Code

claude added 2 commits June 13, 2026 08:19
- Pull estate governance scaffold: CODEOWNERS, GOVERNANCE.adoc,
  MAINTAINERS.adoc, CODE_OF_CONDUCT.md, CONTRIBUTING.md, ISSUE_TEMPLATE,
  0-AI-MANIFEST.a2ml, 6a2/README.adoc, flat contractile stubs, Justfile
- Remove stale svc/README.adoc (self-validating/ already in place)
- Rewrite four template-leaked contractiles (Mustfile, Intentfile,
  Adjustfile, Trustfile — all said "rsr-template-repo" and enforced
  the OLD nested layout; replaced with Cliodynamics.jl identity + flat
  06-12 layout checks + Julia build gates)
- Add missing Bustfile.a2ml and Dustfile.a2ml (flat, Julia-grounded)
- Add bot_directives trio: hypatia.a2ml, gitbot-fleet.a2ml,
  git-private-farm.a2ml (propagation LIVE via FARM_DISPATCH_TOKEN)
- Update bot_directives/README.adoc to document trio + agent files

Template-leak detail: all four estate contractiles (Adjust/Intent/Must/Trust)
arrived un-substituted from rsr-template-repo. Mustfile enforced OLD nested
layout (contractiles/bust/, self-validating/k9-svc/, 6a2/anchors/) as
critical — rewritten to match the ACTUAL flat 06-12 layout.

Scope excludes: full SPDX/REUSE header sweep, CI campaigns. Left for
estate rollout.

https://claude.ai/code/session_01PWMMxryCcPrAjJ8tuGvygG
STATE.a2ml:
- version: 0.1.0 → 1.0.0 (matches Project.toml)
- last-updated: 2026-03-15 → 2026-06-13
- completion-percentage: 0 → 100 (stable library)
- phase updated to "Stable library; ongoing research feature additions"
- added [build], [components], [models], [governance] sections grounded
  in CLAUDE.md and Project.toml

META.a2ml:
- version: absent → 1.0.0
- last-updated: absent → 2026-06-13
- added description, architecture, repository, development-practices
  sections grounded in CLAUDE.md and Project.toml

https://claude.ai/code/session_01PWMMxryCcPrAjJ8tuGvygG
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 26 issues detected

Severity Count
🔴 Critical 0
🟠 High 20
🟡 Medium 6
View findings
[
  {
    "reason": "Action julia-actions/CompatHelper@v1 needs attention",
    "type": "unpinned_action",
    "file": "CompatHelper.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "codeql.yml lists `language: javascript-typescript` but the repo has no source files in any CodeQL-scannable language. The analyze job will exit 'no source files' on every run. Switch the matrix to `actions` (which scans workflow files — every repo has those).",
    "type": "codeql_language_matrix_mismatch",
    "file": "codeql.yml",
    "action": "switch_codeql_matrix_to_actions",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in scorecard-enforcer.yml",
    "type": "scorecard_publish_with_run_step",
    "file": "scorecard-enforcer.yml",
    "action": "split_scorecard_publish_job",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in instant-sync.yml",
    "type": "secret_action_without_presence_gate",
    "file": "instant-sync.yml",
    "action": "peter-evans/repository-dispatch",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in mirror.yml",
    "type": "secret_action_without_presence_gate",
    "file": "mirror.yml",
    "action": "webfactory/ssh-agent",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in mirror.yml",
    "type": "secret_action_without_presence_gate",
    "file": "mirror.yml",
    "action": "webfactory/ssh-agent",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in mirror.yml",
    "type": "secret_action_without_presence_gate",
    "file": "mirror.yml",
    "action": "webfactory/ssh-agent",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in mirror.yml",
    "type": "secret_action_without_presence_gate",
    "file": "mirror.yml",
    "action": "webfactory/ssh-agent",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in mirror.yml",
    "type": "secret_action_without_presence_gate",
    "file": "mirror.yml",
    "action": "webfactory/ssh-agent",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in mirror.yml",
    "type": "secret_action_without_presence_gate",
    "file": "mirror.yml",
    "action": "webfactory/ssh-agent",
    "rule_module": "workflow_audit",
    "severity": "high"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath
hyperpolymath marked this pull request as ready for review June 13, 2026 09:06
@hyperpolymath
hyperpolymath merged commit a5e7dd7 into main Jun 13, 2026
12 of 17 checks passed
@hyperpolymath
hyperpolymath deleted the claude/gallant-faraday-LSAGJ branch June 13, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants