Skip to content

chore(fixtures): delete 24 stale SafeDOMExample.affine over-propagation copies#188

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/safedom-delete-stale-fixtures
May 26, 2026
Merged

chore(fixtures): delete 24 stale SafeDOMExample.affine over-propagation copies#188
hyperpolymath merged 1 commit into
mainfrom
claude/safedom-delete-stale-fixtures

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Summary

Deletes 24 byte-identical pre-stabilization-dialect copies of SafeDOMExample.affine from 24 sub-trees in this repo. All 24 parse-fail at line 1 of affinescript check — they pre-dated ADR-014 (qualified paths), ADR-016 (effect rows), and ADR-215 (#{-record-literal sigil). They were never authoritative; the over-propagation appears to have come from an earlier template-instantiation script run.

Why delete rather than migrate

Per the gitbot-fleet#208 sweep strategy: standards/ vendors canonical templates, not duplicate consumer examples. The 5 canonical migrated copies live in:

  • hyperpolymath/gitbot-fleet#210 (3 copies under bots/*/)
  • hyperpolymath/burble#92 (1 copy)
  • hyperpolymath/claude-gecko-browser-extension#30 (1 copy)

Once SafeDOM stdlib lands (affinescript#56), a single reference copy under affinescript/examples/ becomes the source of truth.

Safety

Per the SafeDOMExample-estate-wide search report (2026-05-26), no load-bearing reference in this repo or any other points at the .affine copies being deleted. The 6 references estate-wide all target SafeDOMExample.res (Idris2 smoke-test fileExists, eclexiaiser.toml source) — those .res files are out of scope and tracked under affinescript#57 Phase 2.

SPDX side-benefit

Each deleted file carried SPDX-License-Identifier: PMPL-1.0-or-later (pre-2026-05-25 policy refresh). Deletion removes the PMPL-licensed content too.

Cross-refs

🤖 Generated with Claude Code

…on copies

The `SafeDOMExample.affine` fixture is byte-identical in 24 sub-trees
of this repo:

  agentic-a2ml/examples/        a2ml/examples/
  anchor-a2ml/examples/         actions/validate/examples/
  ecosystem-a2ml/examples/      avow-protocol/examples/
  axel-protocol/examples/       0-ai-gatekeeper-protocol/examples/
  consent-aware-http/examples/  bindings/{deno,rust,haskell}/examples/
  editors/vscode/examples/      k9-svc/examples/
  mcp-repo-guardian/examples/   pandoc/examples/
  repo-guardian-fs/examples/    telegram-bot/examples/
  ... (24 total)

All 24 are pre-stabilization-dialect copies (`use SafeDOM` without
semicolon, `() / IO` effect suffix, `type X = A | B` sum syntax,
anonymous `{f:v}` records without the `#{`-sigil ADR-215 mandates,
`IO.println` dot-access, `Error(_)` constructor not `Err(_)`). All 24
parse-fail at line 1 of `affinescript check`. They were never
authoritative — the over-propagation likely came from an earlier
template-instantiation script run.

The canonical AffineScript-current-grammar version of the example
now lives in:

  hyperpolymath/gitbot-fleet (3 byte-identical copies under bots/*/)
  hyperpolymath/burble (1 copy)
  hyperpolymath/claude-gecko-browser-extension (1 copy)

migrated under `Refs gitbot-fleet#148, #208`:

  hyperpolymath/gitbot-fleet#210
  hyperpolymath/burble#92
  hyperpolymath/claude-gecko-browser-extension#30

Per the gitbot-fleet#208 sweep strategy, the 48 copies under
`standards/` and `standards-as-port/` are being deleted (not
migrated), because:

* They demonstrate consumer code for a `SafeDOM` stdlib that does not
  yet exist (affinescript#56 is the binding-survey track that will
  land the real surface).
* The 3 + 1 + 1 = 5 canonical copies cover all the places that an
  example is naturally consulted (root bot fleet, browser-extension
  example tree, burble example tree).
* `standards/` is supposed to vendor canonical *templates*, not
  duplicate consumer examples. Once SafeDOM stdlib lands, a single
  reference copy under `affinescript/examples/` can be the source of
  truth and standards/ can carry a pointer if needed.

Per the agent SafeDOMExample-estate-wide search report (2026-05-26),
no load-bearing reference in this repo or any other points at the
`.affine` copies being deleted here. The 6 references to
`SafeDOMExample.res` (Idris2 smoke-test `fileExists` asserts,
`eclexiaiser.toml` `source = ...` lines) all target the `.res`
fixtures, not the `.affine` ones — those `.res` files are out of
scope here and tracked separately under affinescript#57 Phase 2 (the
`.res → .affine` migration assistant).

Note on SPDX: each deleted file carried `SPDX-License-Identifier:
PMPL-1.0-or-later` (the file dates from before the 2026-05-25
estate-policy refresh to MPL-2.0). Deletion removes the
PMPL-licensed content along with the stale-dialect content — a small
side-benefit but not the primary motivation.

Refs hyperpolymath/gitbot-fleet#148, #208
Refs hyperpolymath/gitbot-fleet#210
Refs hyperpolymath/burble#92
Refs hyperpolymath/claude-gecko-browser-extension#30

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath hyperpolymath enabled auto-merge (squash) May 26, 2026 10:11
@github-actions
Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 122 issues detected

Severity Count
🔴 Critical 64
🟠 High 47
🟡 Medium 11

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Action hyperpolymath/standards/.github/workflows/deno-ci-reusable.yml@main needs attention",
    "type": "unpinned_action",
    "file": "deno-ci-reusable.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Action hyperpolymath/standards/.github/workflows/elixir-ci-reusable.yml@main needs attention",
    "type": "unpinned_action",
    "file": "elixir-ci-reusable.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Action hyperpolymath/standards/.github/workflows/elixir-ci-reusable.yml@main needs attention",
    "type": "unpinned_action",
    "file": "elixir-ci-reusable.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
    "type": "unpinned_action",
    "file": "governance-reusable.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Action hyperpolymath/standards/.github/workflows/governance-reusable.yml@main needs attention",
    "type": "unpinned_action",
    "file": "governance.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Action hyperpolymath/standards/.github/workflows/rust-ci-reusable.yml@main needs attention",
    "type": "unpinned_action",
    "file": "rust-ci-reusable.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Action hyperpolymath/standards/.github/workflows/rust-ci-reusable.yml@main needs attention",
    "type": "unpinned_action",
    "file": "rust-ci-reusable.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Python file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/standards/standards/a2ml-templates/state-scm-to-v2.py",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/standards/standards/a2ml/bindings/deno/mod.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  },
  {
    "reason": "TypeScript file detected -- banned language",
    "type": "banned_language_file",
    "file": "/home/runner/work/standards/standards/lol/test/vitest.config.ts",
    "action": "flag",
    "rule_module": "cicd_rules",
    "severity": "critical"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath hyperpolymath merged commit 37ccfb4 into main May 26, 2026
18 checks passed
@hyperpolymath hyperpolymath deleted the claude/safedom-delete-stale-fixtures branch May 26, 2026 14:41
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