projecta-rrr 1.21.6 → 1.21.7

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,20 @@ All notable changes to RRR will be documented in this file.
4
4
 
5
5
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
 
7
+ ## [1.21.7] - 2026-04-18
8
+
9
+ ### Fixed
10
+
11
+ - **`index_repo` FK violation on ingestion_jobs.repo_id.** v1.21.6 fixed
12
+ the NOT NULL by using `pending:{slug}` placeholder, but the column also
13
+ has a FOREIGN KEY to `repos.repo_id`. First-time indexes don't yet have
14
+ a repos row, so the FK fails. Fix: remove the up-front INSERT entirely.
15
+ The worker (75-05 processor) inserts the ingestion_jobs row itself
16
+ AFTER cloning and computing repo_id, which satisfies both NOT NULL
17
+ and FK. Job-status observability is via BullMQ + worker-written rows.
18
+ - Verified end-to-end: `tools/call index_repo` → `{job_id, repo_id: ""}`
19
+ → worker clones → ingest completes.
20
+
7
21
  ## [1.21.6] - 2026-04-18
8
22
 
9
23
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projecta-rrr",
3
- "version": "1.21.6",
3
+ "version": "1.21.7",
4
4
  "description": "A meta-prompting, context engineering and spec-driven development system for Claude Code by Projecta.ai",
5
5
  "bin": {
6
6
  "projecta-rrr": "bin/install.js",