Repository navigation
fix(pi): expose owning Taskflow run identity to children - #173
Merged
Merged
Conversation
Pass the persisted owning run ID through imperative and event-kernel runner options, then export it as PI_SUBAGENT_RUN_ID. Preserve direct-call behavior and downstream-owned environment variables. Add regression coverage for all agent-call families and nested flows. Fixes #172.
The unchanged main and Pi run identity trees both report two Cisco UNICODE_OBFUSCATED_INSTRUCTION highs. Cisco 2.0.14 combines NFKC changes from ordinary ellipses with unrelated read/tokens prose. Use equivalent ASCII ellipses in the two skill sources and regenerate. Keep the existing scanner, rules, coverage, and security thresholds.
heggria
marked this pull request as ready for review
October 7, 2026 14:06
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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
Fixes #172.
RunOptions.runIdand populate it from the owning state in the imperative path and both event-kernel call builders.PI_SUBAGENT_RUN_IDin Pi children, replacing a stale inherited Pi marker without mutating the parent environment.DEVLOOPS_RUN_IDownership, child isolation, and other host adapters.Verification
pnpm run typecheck: passed.pnpm run build: passed.git diff --check: passed.Tests ran on Linux with Node 24.19.0 and pnpm 11.19.0. A writable isolated HOME was used for workspace-control storage. Integration probes replaced only the Pi CLI executable; no live Pi/model end-to-end execution or external GitHub workflow was performed locally.
Independent main landing (2026-10-07)
This fix targets
maindirectly and does not depend on release PR #142 or the dependency upgrades in #174.Scanner diagnosis and minimal adjustment
48a5ea3and the run-identity tree with the sameplugin-scanner 2.0.1116/cisco-ai-skill-scanner 2.0.14, balanced policy, and completed static/bytecode/pipeline coverage. Both scored 78/100; the complete finding lists were identical.UNICODE_OBFUSCATED_INSTRUCTION, inpackages/codex-taskflow/plugin/skills/taskflow/SKILL.md:3andconfiguration.md:1. Both documents were byte-identical to main.…to...) inskills-src/taskflow/core.mdandconfiguration.md, then regenerate the six host copies. No instructions, permissions, runtime behavior, scanner versions, rules, thresholds, or suppression baselines changed.Verification for final head
Head:
f6094917507b79e0d1a610a08d03f0a035924d66.build-skills --checkandgit diff --checkpassed.The pre-adjustment diagnostic head
623a21dalso passed all 10 CI jobs. Historical local verification above is retained as historical evidence, not claimed to have been rerun in full locally today.