Repository navigation
feat(pharn): strengthen workflow gates and evidence - #105
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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 |
🛡️ pharn-ci · ✅ PassTip Pass · This change adds no coverable lines; 31 agent setup files found.
🧪 Diff coverageNo coverable lines changed. 💬 Messages (1)
🤖 Agent setup (31 files)Agent setup: 31 files · claude-code Agent setup files (31)
pharn-ci 0.1.0 · report schema v1 · coverage format lcov |
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.
What this changes
Strengthens PHARN workflow reliability by extracting ship-stage guidance, adding shared canonical-root and command-section helpers, and tightening acceptance-test, provenance, regression, and loop-decision gates. Updates stage and regression reporting, workflow contracts, limits/threat-model documentation, and write-scope hooks to keep implementation boundaries explicit.
Type of change
feat— new capabilityfix— bug fixdocs— docs-only changechore/refactor/test/ci— no behavior changeModule(s) touched
PHARN commands, hooks, floor tooling, and contracts (repo tooling/docs).
Checklist
src/agent; no runtimedependenciesadded to the rootpackage.json.anywithout a comment explaining why.stream/promisespipeline(), never.pipe(); no stream, worker or pluginexecution without explicit error handling.
async_hooksis imported only insrc/agent/context.ts; worker files live in*/src/workers/.README.md,ARCHITECTURE.md,FEATURES.md) if behavior or scope changed.Overhead (required for changes in the agent's hot path)
n/a — no agent hot-path changes.
Security-sensitive changes
Updated PHARN write-scope/trusted-path hooks and security scan gates.
npm testpassed; no runtime dashboard, authentication, plugin sandbox, or analyzer parsing code changed.Notes for the reviewer
Validation:
npm test— passed (167 test files, 343 tests). The patch updates test infrastructure and acceptance-test locking, but adds no standalone test files. Review the write-scope enforcement and canonical-root handling alongside the strengthened workflow gates.