Skip to content

Determinism Sprint 0 + 1: audit + rule codification#68

Open
maryadawson-code wants to merge 6 commits into
mainfrom
det-sprint/0-001-netlify-audit
Open

Determinism Sprint 0 + 1: audit + rule codification#68
maryadawson-code wants to merge 6 commits into
mainfrom
det-sprint/0-001-netlify-audit

Conversation

@maryadawson-code

Copy link
Copy Markdown
Owner

Summary

Sprint 0 + 1 of the Determinism Sprint. Two sprints bundled into one PR because they are all doc changes (audit + rule pointer) with no code/behavior changes.

Sprint 0 (audit, read-only):

  • DET-001 — all 91 Netlify functions classified against the 7-level determinism framework
  • DET-002 — 3 n8n workflows classified (all downgrade candidates)
  • DET-003 — 6 OpenClaw agents, 5 launchd plists, 2 crontab entries
  • DET-004 — ecosystem summary + Top 5 downgrade priorities

Output: docs/determinism-audit.md (334 lines).

Sprint 1 (rule codification):

  • DET-103 — CLAUDE.md now points to ~/.openclaw/automation-selection-rule.md

Key findings

  • 108 items classified total; 17 flagged for downgrade
  • 7 Netlify function downgrade candidates including the 2 heaviest (generate-tactical-brief-background, contract-intel-refresh-background)
  • All 3 n8n workflows are Level 3 running Level 2 tasks
  • All 6 OpenClaw agents on Level 7 infrastructure when most tasks need Level 1-6
  • Top 5 cost-saving targets ranked in audit doc for Sprint 2 planning

Side findings flagged out of scope

  1. Plaintext API keys in ~/Library/LaunchAgents/ai.openclaw.gateway.plist EnvironmentVariables — separate security ticket recommended
  2. com.mmt.sentinel and com.mmt.seo-agent scheduled jobs target \$HOME/mmt-site (diverged clone), not ~/Projects/mmt-site (Netlify-linked primary) — separate clone-remediation ticket

Note on branch history

A commit from a parallel session (1d98026 fix(premium): restore Compliance Check + Signal Chain in Pursuit Score sidebar) appears interleaved in this branch between DET-004 and DET-103. That same commit is already merged to main via cherry-pick (b622fda), so when merging this PR, the net diff vs main will only show the 5 DET commits.

Test plan

  • Read-only audit, no code or deploy changes
  • CLAUDE.md renders correctly in GitHub preview
  • Review findings and sign off on Sprint 2 ordering (recommended in audit doc)

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

maryadawson-code and others added 6 commits April 19, 2026 11:16
Classify all 91 Netlify function handlers against the 7-level
automation determinism framework. 70 are Level 1, 18 are Level 2,
2 are Level 3, 2 are Level 5. Seven functions flagged for
downgrade with Level 1/2 rebuild notes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Classify all 3 exported n8n workflows against the 7-level framework.
Fact-Check + Rewrite, Newsletter Draft Writer, and SAM.gov Scanner
are all Level 3 (n8n hosting) with Level 2 targets. All three are
downgrade candidates. SAM.gov Scanner is already retired per spec.

n8n instance not running at audit time; classification based on
exported workflow definitions at ~/Projects/mmt-site/n8n-workflows/.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Classify 6 OpenClaw agents, 5 launchd plists, and 2 crontab entries.
All 6 agents run on Level 7 infrastructure when most tasks only need
Level 1, 2, or 6. com.mmt.sentinel is the strongest launchd downgrade
candidate (6 to 2). penny-pincher, cost-tracker-weekly, and the
gateway itself are already right-sized.

Two side findings flagged out of scope: plaintext API keys in the
gateway plist and scheduled jobs targeting the diverged mmt-site
clone at \$HOME/mmt-site instead of ~/Projects/mmt-site.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Ecosystem summary across 108 classified items (91 Netlify functions,
3 n8n workflows, 6 OpenClaw agents, 5 launchd jobs, 2 deferred
crontab entries). Level distribution: 68% Level 1, 17% Level 2,
the rest spread across Levels 3/5/6/7.

Top 5 downgrade opportunities ranked by estimated cost-saving:
generate-tactical-brief-background, contract-intel-refresh-background,
score-deck-background, MMT Newsletter Draft Writer, com.mmt.sentinel.
Seventeen total items flagged for downgrade. Recommended Sprint 2
ordering is starts-safe, ends-revenue-critical.

Token cost numbers are qualitative until DET-401 pulls Anthropic
console data.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…e sidebar

Every other premium page's Tools section lists all three tools.
Pursuit Score was the only one missing them, so members who landed
there couldn't see the other two tools in the nav.

Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
Add pointer to ~/.openclaw/automation-selection-rule.md at the top of
the repo's CLAUDE.md so future Claude sessions default to the lowest-
level automation that handles the task.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented Apr 19, 2026

Copy link
Copy Markdown

Deploy Preview for curious-pony-0dec76 ready!

Name Link
🔨 Latest commit 6a6bf9a
🔍 Latest deploy log https://app.netlify.com/projects/curious-pony-0dec76/deploys/69e5096ee443ec00081458ef
😎 Deploy Preview https://deploy-preview-68--curious-pony-0dec76.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 98 (🔴 down 1 from production)
Accessibility: 96 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

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