Release: v2.36.0 - P-Reinforce v3.0 Standard Integration

This commit is contained in:
g1nation
2026-05-02 16:26:35 +09:00
parent 0a58d5127a
commit f874ae6152
7 changed files with 114 additions and 14 deletions
@@ -0,0 +1,26 @@
# Development Log: Second Brain Trace Quality Tuning
## Purpose
Improve Second Brain Trace quality after a real answer showed noisy raw conversation notes, misleading "used" wording, and overly dramatic answer style.
## Implementation Summary
- Excluded raw conversation and transcript folders from default trace retrieval unless the user explicitly asks for raw/transcript content.
- Penalized index files so curated notes are preferred.
- Boosted curated record, decision, planning, and development paths.
- Changed visible wording from "used notes" to "selected notes" / "selected for answer context" to avoid overstating actual post-answer usage.
- Added trace context guidance telling the model not to imitate dramatic wording from retrieved notes.
- Added base prompt guidance against phrases such as final execution mandate, engineering standard, knowledge distiller, and Antigravity's yardstick unless the user explicitly asks for that style.
- Expanded tests to verify curated notes beat raw conversations and index files.
## Changed Files
- `src/features/secondBrainTrace.ts`
- `src/utils.ts`
- `tests/secondBrainTrace.test.ts`
## Verification
- `./node_modules/.bin/tsc --noEmit`
- `npm run compile`
- `./node_modules/.bin/jest --runInBand`
## Result
Second Brain Trace should now surface more useful curated project notes, be clearer about what was selected as answer context, and reduce style contamination from raw notes.
+1
View File
@@ -12,3 +12,4 @@
- Improved Chronicle Guard after user testing: default guard context, stricter project/record checks, question reasons, MVP-first guidance, candidate record output, and tests.
- Added Second Brain Trace Mode so users can verify whether active Brain notes were searched, referenced, and reflected in answers.
- Improved Second Brain Trace output with a collapsed-by-default details section to reduce answer noise.
- Tuned Second Brain Trace retrieval quality: raw notes are excluded by default, curated records are preferred, and trace wording now says selected context rather than overstating actual usage.