update claude settings and wip DAG with SlotMap

This commit is contained in:
2026-04-22 11:45:35 +02:00
parent 345bc0f126
commit 5ef4893f03
10 changed files with 155 additions and 0 deletions

5
.claude/memory/MEMORY.md Normal file
View File

@@ -0,0 +1,5 @@
# Memory Index
- [No constant leaf in RcCircuit](feedback_dag_no_const_leaf.md) — coefficients live in Poly; don't suggest a Const variant for RcCircuit
- [Always ask before changing settings](feedback_settings_approval.md) — describe proposed settings changes and wait for approval before editing any settings file
- [Use cargo add for dependencies](feedback_cargo_add.md) — never edit Cargo.toml directly; use `cargo add <dep>` instead

View File

@@ -0,0 +1,11 @@
---
name: No constant leaf in RcCircuit
description: User does not want a Const leaf variant in RcCircuit — coefficients belong in Poly, not in the circuit DAG
type: feedback
originSessionId: 4c73b3be-dd4d-4cc5-ae2c-da7af42d444b
---
Do not suggest adding a `Const` (or constant) leaf variant to `RcCircuit` in `src/circuit/dag.rs`.
**Why:** Coefficients are handled at the `Poly` layer. The circuit DAG only encodes structural/symbolic relationships between variables.
**How to apply:** When reviewing or extending `RcCircuit`, treat the absence of a constant leaf as intentional design, not a gap.

View File

@@ -0,0 +1,11 @@
---
name: Always ask before changing settings
description: Never modify any Claude settings files without explicit user approval first
type: feedback
originSessionId: 4c73b3be-dd4d-4cc5-ae2c-da7af42d444b
---
Always ask the user for approval before modifying any settings file (`~/.claude/settings.json`, `.claude/settings.json`, `.claude/settings.local.json`).
**Why:** The user wants full control over their Claude configuration and does not want settings changed autonomously.
**How to apply:** Before any settings change, explicitly describe what you intend to change and wait for the user to confirm. This applies even when the user's request implies a settings change — describe the proposed edit first, then wait.