Repository navigation
chore: sync actions from [email protected] - #298
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Critical issues remain because generated callers do not provide the required workflow identity, and destination symlinks can still redirect staged copies outside the validated tree.
2 open issues
What changed in this PR
This pull request synchronizes the setup and runtime actions with [email protected], expanding threat-detection isolation, work-queue reconciliation, durable sessions, safe-output handling, metadata processing, and engine integrations.
Changes:
- Strengthen threat-detection staging, privilege handling, runtime temporary-directory cleanup, and structured threat reporting.
- Extend work-queue deployment reconciliation, issue synchronization, metadata manifests, and protocol validation.
- Add durable-session telemetry, safe-output artifacts, harness retry handling, prompt metadata processing, and model integrations.
| File | Description |
|---|---|
| setup/sh/stage_threat_detection_arc_dind.sh | Stages isolated threat-detection inputs. |
| setup/sh/prepare_threat_detection_files.sh | Prepares sanitized detection inputs and excludes symlinks. |
| setup/sh/install_threat_detect_binary.sh | Uses shared privilege selection and job-scoped installation. |
| setup/sh/install_privileges.sh | Adds shared privilege and rootless-install helpers. |
| setup/sh/install_awf_binary.sh | Uses scoped AWF runtime and release staging directories. |
| setup/sh/conclude_threat_detection.sh | Publishes structured threat categories. |
| setup/sh/collect_usage_artifact_files.sh | Collects durable-session usage metadata. |
| setup/sh/cleanup_runtime_tmp.sh | Cleans scoped AWF runtime temporary directories. |
| setup/setup.sh | Copies new runtime files and excludes package manifests. |
| setup/session_parsers.go | Embeds new durable, metadata, and work-queue helpers. |
| setup/post.js | Replaces shared temporary cleanup with scoped cleanup. |
| setup/md/threat_warning_request_changes_review.md | Adds structured warning reason text. |
| setup/md/safe_outputs_prompt.md | Clarifies terminal safe-output requirements. |
| setup/md/detection_runs_issue.md | Documents detector-defined threat categories. |
| setup/js/workflow_metadata_helpers.cjs | Supports injectable workflow context. |
| setup/js/work_queue_telemetry.cjs | Adds activation-pending telemetry outcomes. |
| setup/js/work_queue_store_checks.cjs | Updates worker manifest fixtures and validation cases. |
| setup/js/work_queue_settings.cjs | Adds orphaned-issue age configuration. |
| setup/js/work_queue_replay.cjs | Adds versioned obsolete-work cancellation handling. |
| setup/js/work_queue_native.cjs | Adds reusable run-attempt readers and retry delays. |
| setup/js/work_queue_lifecycle_checks.cjs | Updates lifecycle tests for activation and immutable references. |
| setup/js/work_queue_issue_transitions.cjs | Adds authenticated mirror-reconciliation targets. |
| setup/js/work_queue_issue_messages.cjs | Adds orphan issue reports and host-aware ledger links. |
| setup/js/work_queue_issue_contract.cjs | Adds backing-issue-aware completion policy evaluation. |
| setup/js/work_queue_issue_api.cjs | Adds verified status-label mutation operations. |
| setup/js/work_queue_deployment.cjs | Detects obsolete incompatible work. |
| setup/js/work_queue_deployment_control.cjs | Reconciles and cancels obsolete queue work. |
| setup/js/work_queue_codec.cjs | Supports bounded finite-number parsing. |
| setup/js/vitest.config.mjs | Excludes simulator helper tests from Vitest. |
| setup/js/upload_assets.cjs | Applies explicit guarded file permissions. |
| setup/js/update_handler_factory.cjs | Passes resolved IDs and target repositories to update handlers. |
| setup/js/unified_session_payload.cjs | Normalizes durable, harness, tool, and timestamp metadata. |
| setup/js/unified_session_order.cjs | Adds message timestamp extraction. |
| setup/js/types/unified_session.d.ts | Defines durable and harness-decision session data. |
| setup/js/types/safe-outputs.d.ts | Adds update-issue artifact types. |
| setup/js/types/safe-outputs-config.d.ts | Adds issue-artifact limits to update configuration. |
| setup/js/types/issue-artifacts.type-test.ts | Extends artifact type coverage to issue updates. |
| setup/js/types/agent_session.type-test.ts | Adds correlated tool-envelope type checks. |
| setup/js/types/agent_session.d.ts | Adds tool output truncation metadata. |
| setup/js/threat_detection_warning.cjs | Formats schema-defined threat categories. |
| setup/js/temporary_id.cjs | Handles Markdown-escaped temporary IDs. |
| setup/js/symlink_guard.cjs | Adds configurable guarded file and directory modes. |
| setup/js/substitute_placeholders.cjs | Restricts substitutions to Markdown text regions. |
| setup/js/submit_pr_review.cjs | Prevents duplicate review submissions per pull request. |
| setup/js/start_mcp_gateway.cjs | Uses effective rather than real runner identity. |
| setup/js/skill_inventory.cjs | Removes skill frontmatter parsing from inventory. |
| setup/js/shell_harness.cjs | Adds Pi durable-session observation and decision gating. |
| setup/js/session_artifact.cjs | Preserves structured tool content in session artifacts. |
| setup/js/send_otlp_session_logs.cjs | Adds durable-session lineage attributes. |
| setup/js/safeoutputs_cli.cjs | Handles workflow-tool permission-denial payloads. |
| setup/js/safe_outputs_tools.json | Adds update-issue artifact schema and documentation. |
| setup/js/safe_outputs_status.cjs | Classifies deferred manifests explicitly. |
| setup/js/safe_outputs_handlers.cjs | Validates update-issue artifacts and guarded permissions. |
| setup/js/safe_outputs_append.cjs | Appends outputs using no-follow file access. |
| setup/js/safe_output_type_validator.cjs | Supports per-output structured-data collapsing. |
| setup/js/safe_output_submission.cjs | Clarifies ledger dependency semantics. |
| setup/js/safe_output_outcomes.cjs | Consolidates deferred outcome classification. |
| setup/js/safe_output_dependencies.cjs | Handles deferred and queued prerequisites. |
| setup/js/runtime_import.cjs | Applies metadata-safe transformations during imports. |
| setup/js/run_evals.cjs | Adds Copilot decisions integration identification. |
| setup/js/report_ast.cjs | Preserves temporary IDs in rendered Markdown. |
| setup/js/replace_label.cjs | Adds Unicode-hardened blocked-label matching. |
| setup/js/reconcile_work_queue_run.cjs | Integrates obsolete work and mirror reconciliation. |
| setup/js/push_to_pull_request_branch.cjs | Renders threat review notices through report ASTs. |
| setup/js/push_repo_memory.cjs | Passes source job results to memory validation. |
| setup/js/prompt_literal_values.cjs | Restores compiler-owned metadata scalars safely. |
| setup/js/pr_review_buffer.cjs | Improves review-comment identity enrichment and draining. |
| setup/js/pr_helpers.cjs | Uses GraphQL branch update-rule inspection. |
| setup/js/pi_subagent_extension.cjs | Simplifies sub-agent tool descriptions. |
| setup/js/pi_subagent_config.cjs | Reads compiler metadata for Pi sub-agents. |
| setup/js/pi_runtime.cjs | Configures durable Pi session directories. |
| setup/js/pi_rpc_driver.cjs | Resumes exact durable Pi sessions. |
| setup/js/pi_models_json.cjs | Supports configured Pi model names and safe logging. |
| setup/js/pi_durable_checkpoint.cjs | Removes the superseded Pi checkpoint implementation. |
| setup/js/pi_agent_core_driver.cjs | Integrates durable sessions into the Pi SDK driver. |
| setup/js/permission_denied_helpers.cjs | Adds workflow-tool permission-denial classification. |
| setup/js/parse_threat_detection_results.cjs | Exports structured threat categories. |
| setup/js/parse_opencode_log.cjs | Captures truncation and multi-session metadata. |
| setup/js/package.json | Removes superseded Pi package dependencies. |
| setup/js/nvx_assets.cjs | Removes obsolete Pi durable runtime assets. |
| setup/js/notify_comment_error.cjs | Renders detection status using report blocks. |
| setup/js/models.json | Adds model catalog entries. |
| setup/js/messages_run_status.cjs | Adds structured detection failure and warning blocks. |
| setup/js/messages_core.cjs | Documents detection message placeholders. |
| setup/js/memory_custom_validation.cjs | Propagates source job results. |
| setup/js/lock_file_headers.cjs | Parses bounded lock-file metadata headers. |
| setup/js/interpolate_prompt.cjs | Restricts prompt transformations to Markdown text. |
| setup/js/install_frontmatter_skills.cjs | Uses configurable runtime state paths. |
| setup/js/harness_retry_record.cjs | Records bounded harness decisions. |
| setup/js/harness_retry_guard.cjs | Detects exhausted AWF invocation budgets. |
| setup/js/harness_prompt_input.cjs | Centralizes prompt-file resolution. |
| setup/js/harness_failure_handling.cjs | Handles classified permission failures. |
| setup/js/harness_error_patterns.cjs | Adds reusable output pattern matchers. |
| setup/js/handle_noop_message.cjs | Distinguishes no-op signals from reported actions. |
| setup/js/handle_detection_runs.cjs | Includes structured detection reason text. |
| setup/js/handle_agent_failure.cjs | Refines incomplete-run categorization. |
| setup/js/generate_safe_outputs_tools.cjs | Uses guarded generated-file writes. |
| setup/js/generate_aw_info.cjs | Loads and records compiler Markdown metadata. |
| setup/js/fuzz_template_substitution_harness.cjs | Applies metadata-safe fuzz transformations. |
| setup/js/extract_inline_skills.cjs | Discards inline skill frontmatter without parsing. |
| setup/js/eslint_factory_native.test_helpers.cjs | Uses compiled worker workflow files in fixtures. |
| setup/js/engine_conformance_portfolio.cjs | Adds Mini SWE Agent to the conformance portfolio. |
| setup/js/empty_output_outcome.cjs | Records the last agent action in diagnostics. |
| setup/js/durable_session.cjs | Includes Pi in durable-session prompts. |
| setup/js/durable_session_record.cjs | Records bounded durable-session metadata. |
| setup/js/durable_files.cjs | Moves durable-session secret checks locally. |
| setup/js/durable_artifact.cjs | Restores durable artifacts and emits session events. |
| setup/js/Dockerfile.safe-outputs-mcp | Pins patched Alpine runtime libraries. |
| setup/js/decisions_client.cjs | Supports Copilot integration headers. |
| setup/js/copilot_sdk_session.cjs | Classifies workflow-tool permission denials. |
| setup/js/compact_unified_session.cjs | Compacts durable and harness-decision events. |
| setup/js/collect_ndjson_output.cjs | Propagates structured-data collapse configuration. |
| setup/js/checkout_dynamic.cjs | Finalizes dynamic checkout actions safely. |
| setup/js/awf_reflect.cjs | Generalizes provider-specific OIDC endpoint checks. |
| setup/js/agent_session.cjs | Normalizes expanded usage aliases. |
| setup/clean.sh | Updated as part of this pull request. |
Review effort: Lite (auto)
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.

Automated sync of actions from gh-aw at
v1.2.2.