@rune-kit/rune 2.4.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,6 +8,7 @@ metadata:
8
8
  model: sonnet
9
9
  group: quality
10
10
  tools: "Read, Write, Edit, Glob, Grep"
11
+ emit: project.onboarded
11
12
  ---
12
13
 
13
14
  # onboard
@@ -44,6 +45,7 @@ project/
44
45
  ├── progress.md # Empty, ready for session-bridge
45
46
  ├── session-log.md # Empty, ready for session-bridge
46
47
  ├── instincts.md # Empty, ready for session-bridge instinct learning
48
+ ├── contract.md # Project invariants enforced by cook/sentinel
47
49
  └── DEVELOPER-GUIDE.md # Human-readable onboarding for new developers
48
50
  ```
49
51
 
@@ -105,6 +107,11 @@ Use `Write` to create each file:
105
107
  - `.rune/progress.md` — create with header `# Progress Log` and one placeholder entry
106
108
  - `.rune/session-log.md` — create with header `# Session Log` and current date as first entry
107
109
  - `.rune/instincts.md` — create with header `# Project Instincts` and a description: "Learned trigger→action patterns. Managed by session-bridge. See session-bridge SKILL.md Step 5.7 for format."
110
+ - `.rune/contract.md` — generate a starter contract based on the detected tech stack:
111
+ - Copy structure from `docs/CONTRACT-TEMPLATE.md`
112
+ - Customize rules based on Step 2 findings (e.g., Python → add `no bare except`, Node.js → add `no console.log`, SQL database → add parameterized queries rule)
113
+ - Remove sections that don't apply (e.g., `contract.operations` for a library with no deployed service)
114
+ - The contract is a starting point — tell the user to review and customize it
108
115
 
109
116
  ### Step 5.5 — Load Existing Instincts
110
117