diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 3208a1d..dba71e9 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -1,67 +1 @@ - -# Claude Code repository contract - -## Scope - -- GDS repository ID: `repo_01KX8PR71HN6XNJ3VN5SQCB0TF`. -- Roles: `module`. -- Canonical repository facts: `.gds/repository.yaml`. -- Applied policy bundle: `.gds/bundle.lock.yaml` (`0.1.0-dev`). -- This is a first-class Claude Code projection compiled from the same typed - inputs as `AGENTS.md`; neither projection is a manual policy source. - -## Repository boundaries - -- Treat this Git repository as one independent mutation boundary. -- Preserve unrelated dirty changes, branches, worktrees, and submodules. -- Run `gds context --json` before work crosses repository boundaries. -- Do not edit generated projections; change the declared canonical input and - regenerate. - -## Safety - -- External writes require explicit approval: `true`. -- Generated projection edits: `forbidden`. -- Private parent context persistence: `forbidden`. -- Visibility: `public`; data: `public`. - -## Verification commands - -- Test: `python3 cli-tools/validate_public_contracts.py`. - -## Claude workflow routing - -- Start here: run `gds-orient` (or `gds context --json`) to resolve scope before - any cross-repository work. -- Active skill profiles: `core, module`. Five profiles exist in total - (`core`, `estate-admin`, `module`, `device`, `portfolio`); only the listed ones - are active for this repository. The catalog is `skills/registry.yaml`, and each - skill lives under `skills/canonical//SKILL.md`. -- Load procedural detail from the applicable installed GDS skill projection or - plugin only when the task matches it. -- Destructive workflows remain explicit-only and still require their concrete - plan and approval gates. -- Treat documentation and Serena memories as derived evidence, never mutation - authority. - -## Done - -- Required checks pass or are explicitly reported `NOT_PROVEN`. -- Every affected Git boundary and remote result is classified. -- No secret, private-context leak, unrelated change, or unapproved projection - drift is introduced. +@../AGENTS.md diff --git a/.gds/bundle.lock.yaml b/.gds/bundle.lock.yaml index 2a2c1fb..a87a9a0 100644 --- a/.gds/bundle.lock.yaml +++ b/.gds/bundle.lock.yaml @@ -5,16 +5,16 @@ bundle: version: "0.1.0-dev" release_sequence: 0 channel: "development" - source_commit: "97e8bbaa3a0734b156b03bad704503bc46d7575b" - digest: "sha256:fd66beb15c847e94b68a00083df5f218c22f4e1174d39d4bd10ed7fb321b13bc" + source_commit: "5912c2259c99ac300eaea6b6d7b982eefd90a854" + digest: "sha256:1c7ead28013248601e7e8522b2242140ace706bb25e975a8a13df6d52e2b56e7" projection: - input_digest: "sha256:a6c05a0a47d07de2d4f5bbd450b70200278f5e9e26a9e5e8717e8a3b6050b801" - output_digest: "sha256:cac637cf5ce26bdde90d56fe54faaff76fde2f0aae9498b692571e99fb87bc03" + input_digest: "sha256:1b416dd36a804bb08ebf9ed0a39e366a081f2527925e05e053b1abae45993ba8" + output_digest: "sha256:d08a53546b1c164117f7676fa9c886e77cd0ebc883f6462c9c70dc06e50f740c" files: - path: ".claude/CLAUDE.md" - digest: "sha256:a1709c6985b6f3d5edd85fb3b6ecf3faf68ba608e44f2966646f346ab3c35c84" + digest: "sha256:7b50d15feae7b63b94d845b2fa6e19e3220527c5b0cac69303b7fc19bd7484a8" - path: ".gds/compiled-policy.json" digest: "sha256:c5b67adfb2527c85c3ac10c1db964445119512b83d4b9dbdc01e448f1e74f129" - path: "AGENTS.md" - digest: "sha256:f47d9b2bcad4628df7d133b33c34c6ad3eac59ff820cd171da489d40f3dde682" + digest: "sha256:de57ea36bb90c8376aa67490aa388a841da22d6ba5572e67f66ace533deba322" diff --git a/AGENTS.md b/AGENTS.md index 1ce8a89..4eb6788 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,60 +1,11 @@ - -# GDS repository contract +# Repository instructions -## Scope - -- Repository ID: `repo_01KX8PR71HN6XNJ3VN5SQCB0TF`. -- Roles: `module`. -- Canonical repository facts: `.gds/repository.yaml`. -- Applied bundle: `.gds/bundle.lock.yaml` (`0.1.0-dev`). -- Compiled policy: `.gds/compiled-policy.json`. - -## Boundaries - -- This Git repository is one independent mutation boundary. +- Treat this clone as one independent Git mutation boundary. - Preserve unrelated branches, worktrees, submodules, and dirty changes. -- Resolve cross-repository work with `gds context --json` before acting. -- Generated files are projections; change their canonical inputs and regenerate. - -## Safety - -- External writes require explicit approval: `true`. -- Generated projection edits: `forbidden`. -- Private parent context persistence: `forbidden`. -- Visibility contract: `public`; data classification: `public`. +- Follow the repository's local documentation and source-owned contracts. +- Keep secrets, credentials, runtime state, caches, logs, and generated evidence + out of version control. -## Development +## Verification - Test: `python3 cli-tools/validate_public_contracts.py`. - -## Agent routing - -- Start here: run `gds-orient` (or `gds context --json`) to resolve scope before - any cross-repository work. It is the orientation entry point. -- Active skill profiles: `core, module`. Five profiles exist in total - (`core`, `estate-admin`, `module`, `device`, `portfolio`); only the listed ones - are active for this repository. The catalog is `skills/registry.yaml`, and each - skill lives under `skills/canonical//SKILL.md`. -- Use on-demand skills for procedures; do not duplicate them here. -- Treat docs and memories as derived evidence, not mutation authority. - -## Done - -- Required verification is complete or explicitly `NOT_PROVEN`. -- Git state and every affected repository boundary are classified. -- No private data, secret, or unapproved generated drift is introduced.