Skip to content

chore: add Claude Code scaffold (CLAUDE.md + skills) - #30

Merged
GodSpeed313 merged 1 commit into
mainfrom
chore/claude-scaffold
Jul 16, 2026
Merged

GodSpeed313 merged 1 commit into
mainfrom
chore/claude-scaffold

Conversation

@GodSpeed313

Copy link
Copy Markdown
Owner

What

Adds the Claude Code project scaffold, matched to the current repo state:

  • CLAUDE.md — always-on project constitution (spec-first, state-over-time, resolver autonomy, Hessian-Core boundary, M6-done/M7-active).
  • .claude/skills/ — three artifact-scoped skills:
    • pi-script-constraint — writing/reviewing Pi Script constraints
    • rift-intent-declaration — drafting Rift intent declarations
    • resolution-trace — generating RESOLUTION TRACE artifacts
  • .gitignore — .claude/* + !.claude/skills/ so skills are tracked while local settings/hooks stay private.

Notes

  • Reflects the real repo: pi_script/ package naming, resolver (not "Arbiter"), pytest (not npm), M7 as the Moltbook milestone (M6 already complete).
  • Hooks intentionally excluded — the scaffold's example hooks are bash/CLAUDE_*-env-var shaped and need Windows + current-Claude-Code-JSON-interface rework before they'll fire. To be added separately.
  • No code changed; suite unaffected.

🤖 Generated with Claude Code

Add project constitution and three artifact-scoped skills
(pi-script-constraint, rift-intent-declaration, resolution-trace)
matched to the current repo (pi_script/ package, resolver naming,
pytest, M6 done / M7 active). Un-ignore .claude/skills/ so the
skills are tracked while local settings/hooks stay private.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@GodSpeed313
GodSpeed313 merged commit 3172e5a into main Jul 16, 2026
2 checks passed
@GodSpeed313
GodSpeed313 deleted the chore/claude-scaffold branch July 16, 2026 02:53
GodSpeed313 added a commit that referenced this pull request Jul 22, 2026
TODO.md still read as the pre-M7 tracker: 240/240 tests, milestone list
ending at M6, none of the last two weeks recorded. Now truthful: 563+7xfail
with the xfail census itemized, M7 milestone line (engineering complete, not
live), shipped log for PRs #26-#27 and #30-#43 with real squash commits, and
open-items sections (T2 re-sample, first-live-post go decision, blocked
constraint threads, hooks + PAT infrastructure debt). test_validator_unit.py
recreation section kept — still the oldest open item.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
GodSpeed313 added a commit that referenced this pull request Jul 24, 2026
…ist, scaffold-hooks note + TODO debt sync (#46)

Adds the three-document deployment packet (drafted in the operator's
outside agent session, verified in-session against moltbook/transport.py
and the locked transport spec before placement):

- docs/m7_first_live_post_governed_envelope.md — first-instance-only
  First-Post Rider on top of the standard ActionEnvelope (8 required
  fields, explicit terminal-state discharge condition; ambiguous
  outcomes are never terminal). Amends nothing in the locked spec.
- docs/m7_operator_go_checklist.md — auditable two-stage go decision:
  GO-1 (preparation authorization at preparation_baseline_commit) and
  single-use GO-2 (transmission authorization bound to action_id +
  payload_hash + execution_candidate_commit + config_version, with
  expiry and consumed_at). C3 binding wording forbids synthetic
  /verify probes; C5 requires a Published-Outcome Correction and
  Withdrawal Procedure before GO-2 (transport has no delete path).
- docs/scaffold_hooks_reconstruction_note.md — finding that PR #30
  hooks were never committed, plus the 2026-07-24 resolution update
  (originals recovered from the scaffold zip, reworked to the current
  stdin-JSON interface, installed local-only, tested green). The
  user-local vs tracked-infrastructure decision is resolved: tracked,
  as a separate follow-up PR.
- TODO.md — infrastructure-debt section synced: scaffold-hooks item
  closed (installed 2026-07-24), stale PAT entry corrected to the
  2026-07-23 closure (rotated, expires 2026-10-21, auto-warning live).

Suite green at commit: 589 passed + 7 xfail. git diff --check warnings
on TODO.md are a pre-existing storage artifact (CRLF blob since PR #44,
also CLAUDE.md/README.md) — renormalization deferred to the follow-up
infrastructure PR.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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