fix(skills): harden credential provenance boundaries - #2842
Merged
Bill Berry (WilliamBerryiii) merged 7 commits intoSep 8, 2026
Conversation
- reject unconfirmed writes before credential-file loading - keep debug and write controls outside the file allowlist 🔒 - Generated by Copilot
- keep Jira write controls inherited and align security guidance - repair stale external references and table formatting 🔒 - Generated by Copilot
🔒 - Generated by Copilot
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2842 +/- ##
==========================================
+ Coverage 83.00% 84.25% +1.25%
==========================================
Files 185 95 -90
Lines 34924 11414 -23510
Branches 228 27 -201
==========================================
- Hits 28989 9617 -19372
+ Misses 5861 1794 -4067
+ Partials 74 3 -71
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Contributor
Eval Execution✅ Status: Passed — no merge-blocking failures (24 advisory assertion failure(s) present)
|
…ential-provenance
- restore Bash configuration guidance to its main revision - SRC-05 provenance work lands on its own branch instead 🧹 - Generated by Copilot
Jamie Kim (jkim323)
approved these changes
Sep 8, 2026
Allen Greaves (agreaves-ms)
approved these changes
Sep 8, 2026
…ential-provenance
Jamie Kim (jkim323)
approved these changes
Sep 8, 2026
Allen Greaves (agreaves-ms)
approved these changes
Sep 8, 2026
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.
fix(skills): harden credential provenance boundaries
Description
This change replaced shell evaluation of Jira credential files with bounded in-process loading and aligned the surrounding planner, backlog, Bash, evaluation, and security guidance. Credential files now supply inert configuration data, while write confirmation and debug controls remain inherited from the invoking process or explicit CLI flags.
Jira credential handling
~/.jira.env, preventing the credential file from granting mutation authority.Agent and guidance alignment
search,get,comments, andfieldsoperations.Security and reference maintenance
Related Issue(s)
Fixes #2640
Fixes #2838
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
hve-builderand addressed all actionable findings.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md).github/skills/*/SKILL.md).github/hooks/*/*.json)evals/)Other:
.ps1,.sh,.py)Sample Prompts (for AI Artifact Contributions)
User Request:
Plan a Jira work-item hierarchy when Jira credentials may be stored in
~/.jira.env.Execution Flow:
~/.jira.envas inert data.Output Artifacts:
The planner produces a read-only hierarchy plan and handoff. It does not create work items or modify credentials.
Success Indicators:
The CLI reports failures by variable name only, never shell-sources the file, and refuses unconfirmed writes before file access.
For detailed contribution requirements, see:
Testing
npm run validate:docs,npm run spell-check,npm run lint:md-links, andgit diff --checkpassednpm run validate:localdeferred to hosted CI per author directionChecklist
Required Checks
AI Artifact Contributions
hve-builderreview mode to review contributionhve-builderreviewRequired Local Checks
The following local-safe validation commands must pass before merging:
npm run validate:local(deferred to hosted CI)npm run validate:docsnpm run spell-checknpm run lint:md-linksSecurity Considerations
Additional Notes
HVE behavior evidence is simulation-only and does not claim native Jira, filesystem, network, or tracker execution. Windows credential-file protection depends on operator-managed user-only ACLs. Hosted CI will run the full validation aggregate and normal PR status checks.