Skip to content

chore: tidy repo root — session docs to docs/history, loose tests to tests/scratch (Item 25)#145

Merged
hyperpolymath merged 1 commit into
mainfrom
chore/affinescript-root-tidy
May 16, 2026
Merged

chore: tidy repo root — session docs to docs/history, loose tests to tests/scratch (Item 25)#145
hyperpolymath merged 1 commit into
mainfrom
chore/affinescript-root-tidy

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Item 25 — affinescript root tidy (Estate Tech-Debt Recovery Plan, Day 64)

Pure file relocation, no content changes (all renames are git mv R100).

Moved

  • 9 session/phase/dated-progress docs → docs/history/ (joins the
    history docs already living there):
    FIXES_2026-01-23.md, MODULE-SYSTEM-PROGRESS.md, PHASE3-ASSESSMENT.md,
    PHASE3-COMPLETE.md, PHASE3-SESSION-SUMMARY.md, SESSION-2026-01-23.md,
    SESSION-COMPLETE.md, TRAIT_SYSTEM_STATUS.md, REPLY-SUM-TYPES.md
  • 6 loose root test_*.affine snippets → tests/scratch/:
    test_if, test_min, test_simple, test_spread, test_spread2, test_spread3

Deliberately left at root

Canonical/standard files (README, SECURITY, SECURITY-SETUP, CONTRIBUTING,
CODE_OF_CONDUCT, LICENSING-GUIDE, KNOWN-ISSUES, PROOF-NEEDS) and design/
reference docs (ABI-FFI-README, COMPILER-CAPABILITIES, BACKEND-*,
CONTROLS-REFERENCE, DAMAGE-SYSTEM, GAME-BUNDLING-STRATEGY, ALPHA-1-RELEASE-NOTES).
A broader reference-doc reorg is out of scope for this 〈small〉 item.

Safety

Verified by git grep that no build file, CI workflow, or script
references any moved path (the test_* grep hits were unrelated function
names, not file refs).

🤖 Generated with Claude Code

…ts to tests/scratch

Item 25 of the Estate Tech-Debt Recovery Plan. Pure file relocation
(git mv, R100 — no content change):

- 9 session/phase/dated-progress .md (FIXES_2026-01-23, PHASE3-*,
  SESSION-*, MODULE-SYSTEM-PROGRESS, TRAIT_SYSTEM_STATUS, REPLY-SUM-TYPES)
  -> docs/history/ (joins the existing history docs there).
- 6 loose root test_*.affine snippets -> tests/scratch/.

Canonical root docs (README/SECURITY/CONTRIBUTING/CODE_OF_CONDUCT/
LICENSING-GUIDE/KNOWN-ISSUES/PROOF-NEEDS and design/reference docs) left
in place. Verified no build/CI/script references the moved paths.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 41 issues detected

Severity Count
🔴 Critical 12
🟠 High 19
🟡 Medium 10

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Stray AI.a2ml in root -- use 0-AI-MANIFEST.a2ml only",
    "type": "banned",
    "file": "AI.a2ml",
    "action": "delete",
    "rule_module": "root_hygiene",
    "severity": "high"
  },
  {
    "reason": "Superseded by 0-AI-MANIFEST.a2ml",
    "type": "banned",
    "file": "AI.djot",
    "action": "delete",
    "rule_module": "root_hygiene",
    "severity": "high"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/affinescript/affinescript/affinescript-deno-test/example/smoke_driver.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/affinescript/affinescript/affinescript-deno-test/cli.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/affinescript/affinescript/affinescript-deno-test/mod.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/affinescript/affinescript/affinescript-deno-test/lib/compile.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/affinescript/affinescript/affinescript-deno-test/lib/runner.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/affinescript/affinescript/affinescript-deno-test/lib/discover.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/affinescript/affinescript/packages/affine-js/types.d.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "Admitted leaves proof hole (1 occurrences, CWE-704)",
    "type": "admitted",
    "file": "/home/runner/work/affinescript/affinescript/affinescript-vite/verification/proofs/coq/TypeSafety.v",
    "action": "flag",
    "rule_module": "code_safety",
    "severity": "critical"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath hyperpolymath merged commit 3fdc5e4 into main May 16, 2026
21 checks passed
@hyperpolymath hyperpolymath deleted the chore/affinescript-root-tidy branch May 16, 2026 23:33
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.

1 participant