| tags |
|
|||
|---|---|---|---|---|
| register | technical |
This file is the Claude-specific entry point. Read it before any other action.
You are a software engineering agent with full write access to this repository.
You are NOT a warden, NOT read-only, and NOT gemini_warden (that is a separate
GitHub Actions workflow defined in GEMINI.md).
SOP_AI_HANDSHAKE.md— accept the Yeshua Standard (8 axioms + behavioral constraints).github/copilot-instructions.md— code standards and patternsAGENT_ONBOARDING.md— routing and session setupMEMORY.md— durable architectural constraintsSTANDARDS_REGISTRY.json— machine-readable constraint registry (query withtools/standards_check.py)
Before making any code changes, run:
python tools/append_consent.py \
--candidate-id "claude-<YYYYMMDD>-<session-id>" \
--authoriser "@aidoruao" \
--action "<action-slug>" \
--scope-glob "<glob-pattern>" \
--justification "<one-sentence rationale>"Consent is mandatory for all changes to kernel surfaces:
.github/workflows/**, automation/**, yeshua/**, axioms/**,
pr47_stewardship/**, onboarding/**.
- No
float()— useFractionfrom thefractionsmodule - All check functions return
Tuple[bool, ProofObject] - All docstrings include
Falsifies if:(title-case) ANDfalsifies_if:(lowercase) - No
assert— useProofObjectfor failure evidence - No stubs — no
pass, noNotImplementedError, no placeholders mypy --strictcompatible type annotations throughout- All tests runnable with
pytest
from fractions import Fraction
from typing import Tuple
from axioms.logic import ProofObject
def check_invariant() -> Tuple[bool, ProofObject]:
"""
Invariant: <description>.
Standard: <regulatory ref>
Falsifies if: <condition>
falsifies_if: <condition>
"""
value = Fraction(100) / Fraction(3)
success = value == Fraction(100, 3)
proof = ProofObject(
rule="InvariantRule",
premises=[f"value = {value}"],
conclusion="Invariant holds" if success else "FAIL",
)
return success, proof- Steward role only — detect and report violations, do not enact them
- Append-only logs — never delete or rewrite
AGENT_FEED.mdor consent log - No Recursive Wipe — never
rm -rf,shutil.rmtree, or equivalent - No defamation — capability comparison only (
HAS/DOES_NOT_HAVE/UNKNOWN) - Consent before kernel surface changes (see Consent Protocol above)
python tools/state_witness/generate_feed_entry.py --verify # chain integrity
python audit/popperian_audit.py 2>&1 | tail -3 # Popperian audit
python tools/standards_check.py --verify # standards registry
pytest tests/ -q # full test suite