projecta-rrr 1.21.7 → 1.21.8

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 +47 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,53 @@ 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.8] - 2026-04-18
8
+
9
+ **End-to-end verified on a second repo. Multiple worker bootstrap fixes.**
10
+
11
+ Dogfood adoption of `PA-Ai-Team/aeo-free-aduit` surfaced and fixed a
12
+ multi-step first-time-index bootstrap bug in the worker. Result:
13
+ 155 chunks ingested in 17 seconds, HNSW index built, `semantic_search`
14
+ live. Verifies the full onboarding path works for any new repo.
15
+
16
+ ### Fixed
17
+
18
+ - **Worker now bootstraps first-time repos.** Before: worker's
19
+ `recordJobStart` tried to INSERT into `ingestion_jobs` using a
20
+ `pending:{slug}` placeholder repo_id that didn't exist in `repos`,
21
+ hitting the FK constraint. Fix: added a bootstrap step at top of the
22
+ processor that detects `pending:` prefix and — BEFORE any DB write —
23
+ clones, computes real root_sha, upserts the `repos` row, and rewrites
24
+ local `repoId` to the real value. All downstream DB operations then
25
+ satisfy FK + RLS + NOT NULL constraints.
26
+
27
+ - **Owner/repo parsed from gitUrl.** Tool was setting
28
+ `owner = slug = repo = <slug>` which broke GH App token mint. Now
29
+ parses `github.com/{owner}/{repo}(.git)?` via regex and passes correct
30
+ owner + repo to `cloneRepo`.
31
+
32
+ - **GH App auth path preferred when installation_id present.** When
33
+ `installation_id` is supplied, tool now passes `gitUrl: null` so
34
+ `cloneRepo` takes the token-mint branch (private-repo-safe). When
35
+ installation_id is absent, passes `gitUrl` through for the public-repo
36
+ direct-URL branch. Worker bootstrap mirrors the same conditional.
37
+
38
+ - **`repos.git_url` NOT NULL respected.** When bootstrap forced
39
+ `gitUrl = null` for the clone (GH App path), it no longer tried to
40
+ pass null into `repos.git_url`. Reconstructs
41
+ `https://github.com/{owner}/{repo}.git` from parsed owner/repo.
42
+
43
+ ### Dogfood timing reference
44
+
45
+ | Stage | aeo-free-aduit (155 chunks) | projecta-rrr (10,047 chunks) |
46
+ |-------|----------------------------|------------------------------|
47
+ | Clone | 0.8s | 4.6s |
48
+ | Chunk | 0.3s | 2.3s |
49
+ | Embed | 13s (2 batches) | 4 min (115 batches) |
50
+ | COPY + HNSW | 0.8s | 10s |
51
+ | **Total** | **17s** | **~5 min** |
52
+ | Voyage cost | ~$0.028 | ~$1.70 |
53
+
7
54
  ## [1.21.7] - 2026-04-18
8
55
 
9
56
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projecta-rrr",
3
- "version": "1.21.7",
3
+ "version": "1.21.8",
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",