docs(measurements): post-optimization performance audit of the delivery pipeline (apparatus) - #300
Merged
Merged
Conversation
…ry pipeline (apparatus) An analysis-only audit of /pharn-ship and /pharn-loop at 6.35.0, after the four optimization increments (6.32.0-6.35.0). No product-surface byte changes, so no SKILLS_VERSION bump. - .dev/measurements/pipeline-performance-audit-2026-09-29.md: the report. 0 of 69 real cost ledgers are post-optimization (all 6.12.1 / 6.7.0), so measured model usage and wall-clock cannot be ranked yet. From static and controlled evidence: at least 70 pinned orchestrator calls in a green one-iteration loop (57 deterministic), a 68k-130k-token first-request cache write per fresh stage agent, and the project's test gate at least twice per iteration. Recommends a prerequisite (update pharn-starter with CLI >= 0.7.0 and collect real runs) and two contingent increments (C1, C2). - .dev/features/pipeline-performance-audit/audit.mjs: the read-only helper behind the figures (--ledgers, --static, --prefix, --self-test). - The /pharn-dev-ship stage artifacts (PLAN, GRILL, REGRESSION, VERIFY, REVIEW, SHIP) and one [Unreleased] CHANGELOG entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is an analysis-only audit of the product delivery pipeline (
/pharn-ship,/pharn-loop) at 6.35.0, after the four optimization increments (6.32.0 #294, 6.33.0 #297, 6.34.0 #298, 6.35.0 #299). No optimization is implemented. No product-surface byte changes, so there is noSKILLS_VERSIONbump; the one[Unreleased]CHANGELOG entry is apparatus-only..dev/measurements/pipeline-performance-audit-2026-09-29.md, in the nine sections the prompt asked for. Every figure carries a source label (real, pre-optimization, controlled fixture, controlled harness, static) and a precision label (measured, estimate). Token classes are never added together, and figures from different sources are never compared as ratios..dev/features/pipeline-performance-audit/audit.mjs, read-only. Its modes are--ledgers(the run-selection rule frozen at GATE 1),--static,--prefixand--self-test(25 checks).Findings
/pharn-loop, 57 of them deterministic.general-purposestage agent's first request cache-writes 68k–130k tokens (median 91,759; 29 agents in this repo).testgate runs at least twice per iteration.pharn updatepharn-starter with a CLI at 0.7.0 or later, then collect at least 5 real runs;Chain (
/pharn-dev-ship)check-plan-lessonsexit 0; 15 advisory findingsvalidateexit 0no-regressionsPASS(7 gates, reconcile CLEAN)no-regressions; verifyPASSThe R1–R3 fix changed prose only. After it, the style, CHANGELOG,
validate, self-test and reconcile gates were re-run, butnpm testwas not; CI runs the full suite here. Details:.dev/features/pipeline-performance-audit/SHIP.md.Test plan
node pharn/floor/validate.mjs .GREENnpm test(full suite) passed in the fix-pass verifynpm run lint,format:check,lint:md,check:changelog,check:changelog-entrycleannode .dev/features/pipeline-performance-audit/audit.mjs --self-testpasses 25/25🤖 Generated with Claude Code