Not in the top 1,000 by GitHub stars
alexgreensh/outsourcerer
Make your AI agents work as a team. You keep working in 1 session while it orchestrates models via your other subscriptions, local models and more. Run a Software Factory: long plans, proven steps, safe merges. Carries your setup, tracks every cost.
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
plugins/outsourcerer/skills/outsourcerer/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → 0bcb0d9b892f
No earlier version was observed for comparison.
Verified commit 0bcb0d9b892f54666618fcccbb0f7a0c8c224cea
git clone --filter=blob:none --no-checkout https://github.com/alexgreensh/outsourcerer.git .hotskills/alexgreensh-outsourcerer && git -C .hotskills/alexgreensh-outsourcerer checkout --detach 0bcb0d9b892f54666618fcccbb0f7a0c8c224cea
# Copy each selected skill directory from .hotskills/alexgreensh-outsourcerer into .claude/skills/<skill-name>/Heat
6.1- Star growth, last 7 daysNot available
- Star growth, last 24 hoursNot available
- Rank movement, last 7 daysNot available
- Commits, last 30 daysNot available
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekNot available
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
30-day change not yet available: not enough history.
Individual skills in this repository
- outsourcerer
plugins/outsourcerer/skills/outsourcerer
How it works
outsourcerer
When your agent uses it
Delegate coding work to Codex, Cursor, Devin, Gemini, OpenRouter or local models with your skills. Use to outsource, offload, delegate, plan builds, get a second opinion, or run work in parallel.
What it loads into context
Frontmatter
55 tokensAlways available to the agent
SKILL.md
4,131 tokensWhen the skill is activated
Reference documents
51,928 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- You are the orchestrator
- Session start: the handshake
- Conserve on your own (watch the fuel gauge)
- Pick the model with data
- The verbs (verb = permission mode)
- Loops: work that has to be checked, not just done
- Model alias → lane (the alias picks the lane; no `--provider` needed)
- Watch what you launch, and report on a clock
- Operating rules
- Subcommands
- Factory: plans for multi-step work
- References
Scripts executed separately
scripts/anthropic-openai-shim.pyscripts/factory-flow.shscripts/factory-land.shscripts/factory-tasks.shscripts/outsourcerer-winpty-broker.shscripts/outsourcerer.cmdscripts/outsourcerer.ps1scripts/outsourcerer.shscripts/run-or-codex.shscripts/run-or-model.shscripts/tests/conformance.shscripts/tests/fake-bin/clinescripts/tests/test_advise.shscripts/tests/test_advise_dynamic_pool.shscripts/tests/test_advise_task_shape.shscripts/tests/test_agentic_local_cert.pyscripts/tests/test_autodetach.shscripts/tests/test_bearings.shscripts/tests/test_bg_provider_after_verb.shscripts/tests/test_blind_turn_guard.shscripts/tests/test_build_target.shscripts/tests/test_catalog_validation.shscripts/tests/test_cc_devin_selfheal.shscripts/tests/test_cc_model_restore.shscripts/tests/test_claudex.shscripts/tests/test_cline_lane.shscripts/tests/test_cloud_autoisolate.shscripts/tests/test_cloud_gate.shscripts/tests/test_cloud_gate_coverage.shscripts/tests/test_codex_code_mode_host.shscripts/tests/test_codex_windows_sandbox.shscripts/tests/test_conformance_suite_timeout.shscripts/tests/test_copilot.shscripts/tests/test_cost_disclosure.shscripts/tests/test_delegate_attribution.shscripts/tests/test_detection.shscripts/tests/test_devin_alias_resolution.shscripts/tests/test_devin_catalog_free_tier.shscripts/tests/test_devin_edit_note.shscripts/tests/test_devin_free_guard.shscripts/tests/test_devin_grant_lock_share.shscripts/tests/test_devin_liveness.shscripts/tests/test_devin_org_policy_posture.shscripts/tests/test_devin_plan_quota.shscripts/tests/test_devin_plan_quota_probe.shscripts/tests/test_devin_printmode_hang.shscripts/tests/test_devin_tls_diagnostics.shscripts/tests/test_droid_session.shscripts/tests/test_endpoint_mutation_lock.shscripts/tests/test_escalation_classify.shscripts/tests/test_exit_trap_chain.shscripts/tests/test_explain.shscripts/tests/test_external_send_opt_in.shscripts/tests/test_external_sessions.shscripts/tests/test_factory_e2e.shscripts/tests/test_factory_exclude.shscripts/tests/test_factory_flow.shscripts/tests/test_factory_land.shscripts/tests/test_factory_pstack.shscripts/tests/test_factory_tasks.shscripts/tests/test_failover_pick.shscripts/tests/test_fanout_json.shscripts/tests/test_feature_fixes.shscripts/tests/test_fg_guard_forgery.shscripts/tests/test_fleet_cc_peers.shscripts/tests/test_fleet_names.shscripts/tests/test_fleet_states.shscripts/tests/test_gemini_catalog.shscripts/tests/test_gemini_effort_retry.shscripts/tests/test_gemini_lane.shscripts/tests/test_grokbot_lane.shscripts/tests/test_hardening.shscripts/tests/test_harness_isolation.shscripts/tests/test_heartbeat_arm_liveness.shscripts/tests/test_heartbeat_autoarm.shscripts/tests/test_heartbeat_human.shscripts/tests/test_heartbeat_immortal_beacon.shscripts/tests/test_heartbeat_ownership.shscripts/tests/test_heartbeat_rearm_command.shscripts/tests/test_heartbeat_reclaim.shscripts/tests/test_heartbeat_single_instance.shscripts/tests/test_heartbeat_stale_alarm.shscripts/tests/test_heartbeat_wake_push.shscripts/tests/test_interactive_default.shscripts/tests/test_job_lifecycle.shscripts/tests/test_job_meta_lane.shscripts/tests/test_job_rc_guard_leak.shscripts/tests/test_lane_accounting.shscripts/tests/test_lane_down_gate.shscripts/tests/test_lane_down_marker.shscripts/tests/test_lane_fallback.shscripts/tests/test_lane_liveness.shscripts/tests/test_lane_plan_limit.shscripts/tests/test_lifecycle_fix.shscripts/tests/test_limits_freshness.shscripts/tests/test_loop_escalate.shscripts/tests/test_loop_resume.shscripts/tests/test_loops.shscripts/tests/test_managed_send.shscripts/tests/test_marker_forgery.shscripts/tests/test_model_denylist.shscripts/tests/test_model_drift.shscripts/tests/test_model_pin_enforcement.shscripts/tests/test_model_selection_parity.shscripts/tests/test_mutation_state_durability.shscripts/tests/test_no_phantom_jobs.shscripts/tests/test_no_silent_escalation.shscripts/tests/test_noglob_splitting.shscripts/tests/test_nowrite_watchdog.shscripts/tests/test_obligations.shscripts/tests/test_output_truncation.shscripts/tests/test_pane_state.shscripts/tests/test_parity_autoheal.shscripts/tests/test_parity_hermes.shscripts/tests/test_parity_links.shscripts/tests/test_parser_parity.shscripts/tests/test_perm_denial_precision.shscripts/tests/test_pi_lane.shscripts/tests/test_pr10_falsestall_before_quota.shscripts/tests/test_preflight_env_isolation.shscripts/tests/test_preflight_guard_exempt.shscripts/tests/test_quota.shscripts/tests/test_reconcile_launch_grace.shscripts/tests/test_relaunch_bookkeeping.shscripts/tests/test_require_interactive.shscripts/tests/test_resolved_lane.shscripts/tests/test_reverdict_residuals.shscripts/tests/test_second_opinion_agree.shscripts/tests/test_selfcontained_hardening.shscripts/tests/test_session_capabilities.shscripts/tests/test_session_claims.shscripts/tests/test_session_control.shscripts/tests/test_session_effort.shscripts/tests/test_session_exit_liveness.shscripts/tests/test_session_model_pin_guard.shscripts/tests/test_session_probe_sigpipe.shscripts/tests/test_session_registry_end.shscripts/tests/test_session_reply_safety.shscripts/tests/test_session_send_verify.shscripts/tests/test_shim.pyscripts/tests/test_skill_bundle.shscripts/tests/test_state_lock_stale_breaker.shscripts/tests/test_stop_guard.shscripts/tests/test_supervise_pgroup_kill.shscripts/tests/test_tab_empty_ledger.shscripts/tests/test_tap_statusline.shscripts/tests/test_tier_churn.shscripts/tests/test_timeout_capture.shscripts/tests/test_tmux_headless_fallback.shscripts/tests/test_tokenrouter_lane.shscripts/tests/test_tool_bugs_062.shscripts/tests/test_trusted_lanes.shscripts/tests/test_utf8_guard.shscripts/tests/test_value_router.shscripts/tests/test_version_gate.shscripts/tests/test_version_parity.shscripts/tests/test_vocab_hygiene.shscripts/tests/test_wait.shscripts/tests/test_wake_queue.shscripts/tests/test_watch_digest.shscripts/tests/test_watcher.shscripts/tests/test_windows_portability.shscripts/tests/test_with_injection.shscripts/tests/test_wrapper_liveness.sh
Files
../../../../.claude-plugin/marketplace.jsonasset1,007 bytes../../.claude-plugin/plugin.jsonasset845 bytes../../hooks/hooks.jsonasset512 bytesSKILL.mdcore16,067 bytesSKILL.mdcore16,067 bytesevals/evals.jsonasset1,666 bytesreferences/agentic-local.mddoc3,031 bytesreferences/effort-and-tiers.mddoc3,713 bytesreferences/factory-flow-cli.mddoc13,516 bytesreferences/factory-land-cli.mddoc11,380 bytesreferences/factory-tasks-cli.mddoc9,811 bytesreferences/factory.mddoc14,783 bytesreferences/flows/best-of-n.jsonasset1,250 bytesreferences/flows/council-build.jsonasset2,835 bytesreferences/flows/spec-build.jsonasset1,940 bytesreferences/jobs-and-safety.mddoc26,454 bytesreferences/lanes-and-models.mddoc42,335 bytesreferences/loops.mddoc10,022 bytesreferences/mechanism.mddoc23,088 bytesreferences/model-advisory.mddoc12,488 bytesreferences/parallel-and-fanout.mddoc9,029 bytesreferences/second-opinion-and-parity.mddoc9,758 bytesreferences/tab.mddoc2,275 bytesreferences/vocabulary-hygiene.mddoc3,112 bytesscripts/anthropic-openai-shim.pyruns14,367 bytesscripts/factory-flow.shruns99,669 bytesscripts/factory-land.shruns58,800 bytesscripts/factory-tasks.shruns90,814 bytesscripts/outsourcerer-winpty-broker.shruns4,088 bytesscripts/outsourcerer.cmdruns1,270 bytesscripts/outsourcerer.ps1runs1,240 bytesscripts/outsourcerer.shruns1,383,638 bytesscripts/run-or-codex.shruns3,559 bytesscripts/run-or-model.shruns2,011 bytesscripts/tests/conformance.shruns28,900 bytesscripts/tests/fake-bin/clineruns1,153 bytesscripts/tests/fixtures/devin-rc7/README.mddoc1,064 bytesscripts/tests/fixtures/devin-rc7/edit-reject.delegate.txtdoc247 bytesscripts/tests/fixtures/devin-rc7/readonly-review.delegate.txtdoc676 bytesscripts/tests/test_advise.shruns13,158 bytesscripts/tests/test_advise_dynamic_pool.shruns12,246 bytesscripts/tests/test_advise_task_shape.shruns8,695 bytesscripts/tests/test_agentic_local_cert.pyruns8,698 bytesscripts/tests/test_autodetach.shruns24,442 bytesscripts/tests/test_bearings.shruns3,180 bytesscripts/tests/test_bg_provider_after_verb.shruns8,400 bytesscripts/tests/test_blind_turn_guard.shruns27,687 bytesscripts/tests/test_build_target.shruns2,276 bytesscripts/tests/test_catalog_validation.shruns6,774 bytesscripts/tests/test_cc_devin_selfheal.shruns4,597 bytesscripts/tests/test_cc_model_restore.shruns7,174 bytesscripts/tests/test_claudex.shruns3,817 bytesscripts/tests/test_cline_lane.shruns23,441 bytesscripts/tests/test_cloud_autoisolate.shruns11,515 bytesscripts/tests/test_cloud_gate.shruns17,202 bytesscripts/tests/test_cloud_gate_coverage.shruns3,233 bytesscripts/tests/test_codex_code_mode_host.shruns9,746 bytesscripts/tests/test_codex_windows_sandbox.shruns7,714 bytesscripts/tests/test_conformance_suite_timeout.shruns18,097 bytesscripts/tests/test_copilot.shruns6,241 bytesscripts/tests/test_cost_disclosure.shruns4,964 bytesscripts/tests/test_delegate_attribution.shruns6,085 bytesscripts/tests/test_detection.shruns4,933 bytesscripts/tests/test_devin_alias_resolution.shruns2,385 bytesscripts/tests/test_devin_catalog_free_tier.shruns3,801 bytesscripts/tests/test_devin_edit_note.shruns5,060 bytesscripts/tests/test_devin_free_guard.shruns14,434 bytesscripts/tests/test_devin_grant_lock_share.shruns20,495 bytesscripts/tests/test_devin_liveness.shruns10,020 bytesscripts/tests/test_devin_org_policy_posture.shruns4,996 bytesscripts/tests/test_devin_plan_quota.shruns11,852 bytesscripts/tests/test_devin_plan_quota_probe.shruns14,586 bytesscripts/tests/test_devin_printmode_hang.shruns8,188 bytesscripts/tests/test_devin_tls_diagnostics.shruns15,643 bytesscripts/tests/test_droid_session.shruns4,882 bytesscripts/tests/test_endpoint_mutation_lock.shruns6,280 bytesscripts/tests/test_escalation_classify.shruns15,798 bytesscripts/tests/test_exit_trap_chain.shruns6,953 bytesscripts/tests/test_explain.shruns9,490 bytesscripts/tests/test_external_send_opt_in.shruns3,228 bytesscripts/tests/test_external_sessions.shruns1,558 bytesscripts/tests/test_factory_e2e.shruns4,108 bytesscripts/tests/test_factory_exclude.shruns38,365 bytesscripts/tests/test_factory_flow.shruns71,660 bytesscripts/tests/test_factory_land.shruns44,355 bytesscripts/tests/test_factory_pstack.shruns11,837 bytesscripts/tests/test_factory_tasks.shruns57,634 bytesscripts/tests/test_failover_pick.shruns16,217 bytesscripts/tests/test_fanout_json.shruns6,144 bytesscripts/tests/test_feature_fixes.shruns3,941 bytesscripts/tests/test_fg_guard_forgery.shruns3,627 bytesscripts/tests/test_fleet_cc_peers.shruns10,090 bytesscripts/tests/test_fleet_names.shruns10,906 bytesscripts/tests/test_fleet_states.shruns5,632 bytesscripts/tests/test_gemini_catalog.shruns13,111 bytesscripts/tests/test_gemini_effort_retry.shruns6,539 bytesscripts/tests/test_gemini_lane.shruns9,794 bytesscripts/tests/test_grokbot_lane.shruns6,850 bytesscripts/tests/test_hardening.shruns6,972 bytesscripts/tests/test_harness_isolation.shruns15,510 bytesscripts/tests/test_heartbeat_arm_liveness.shruns28,949 bytesscripts/tests/test_heartbeat_autoarm.shruns11,335 bytesscripts/tests/test_heartbeat_human.shruns5,284 bytesscripts/tests/test_heartbeat_immortal_beacon.shruns3,818 bytesscripts/tests/test_heartbeat_ownership.shruns8,729 bytesscripts/tests/test_heartbeat_rearm_command.shruns5,820 bytesscripts/tests/test_heartbeat_reclaim.shruns2,684 bytesscripts/tests/test_heartbeat_single_instance.shruns18,842 bytesscripts/tests/test_heartbeat_stale_alarm.shruns10,985 bytesscripts/tests/test_heartbeat_wake_push.shruns4,460 bytesscripts/tests/test_interactive_default.shruns5,253 bytesscripts/tests/test_job_lifecycle.shruns16,496 bytesscripts/tests/test_job_meta_lane.shruns2,051 bytesscripts/tests/test_job_rc_guard_leak.shruns15,427 bytesscripts/tests/test_lane_accounting.shruns8,497 bytesscripts/tests/test_lane_down_gate.shruns9,408 bytesscripts/tests/test_lane_down_marker.shruns14,795 bytesscripts/tests/test_lane_fallback.shruns5,487 bytesscripts/tests/test_lane_liveness.shruns6,471 bytesscripts/tests/test_lane_plan_limit.shruns21,921 bytesscripts/tests/test_lifecycle_fix.shruns20,571 bytesscripts/tests/test_limits_freshness.shruns4,458 bytesscripts/tests/test_loop_escalate.shruns13,768 bytesscripts/tests/test_loop_resume.shruns6,483 bytesscripts/tests/test_loops.shruns14,045 bytesscripts/tests/test_managed_send.shruns4,538 bytesscripts/tests/test_marker_forgery.shruns3,949 bytesscripts/tests/test_model_denylist.shruns8,799 bytesscripts/tests/test_model_drift.shruns5,891 bytesscripts/tests/test_model_pin_enforcement.shruns4,868 bytesscripts/tests/test_model_selection_parity.shruns4,950 bytesscripts/tests/test_mutation_state_durability.shruns2,761 bytesscripts/tests/test_no_phantom_jobs.shruns5,210 bytesscripts/tests/test_no_silent_escalation.shruns6,971 bytesscripts/tests/test_noglob_splitting.shruns6,908 bytesscripts/tests/test_nowrite_watchdog.shruns7,571 bytesscripts/tests/test_obligations.shruns2,721 bytesscripts/tests/test_output_truncation.shruns11,960 bytesscripts/tests/test_pane_state.shruns6,703 bytesscripts/tests/test_parity_autoheal.shruns11,314 bytesscripts/tests/test_parity_hermes.shruns5,261 bytesscripts/tests/test_parity_links.shruns5,352 bytesscripts/tests/test_parser_parity.shruns4,091 bytesscripts/tests/test_perm_denial_precision.shruns7,223 bytesscripts/tests/test_pi_lane.shruns3,821 bytesscripts/tests/test_pr10_falsestall_before_quota.shruns7,935 bytesscripts/tests/test_preflight_env_isolation.shruns3,870 bytesscripts/tests/test_preflight_guard_exempt.shruns4,042 bytesscripts/tests/test_quota.shruns17,685 bytesscripts/tests/test_reconcile_launch_grace.shruns6,092 bytesscripts/tests/test_relaunch_bookkeeping.shruns5,998 bytesscripts/tests/test_require_interactive.shruns12,187 bytesscripts/tests/test_resolved_lane.shruns6,206 bytesscripts/tests/test_reverdict_residuals.shruns4,917 bytesscripts/tests/test_second_opinion_agree.shruns2,263 bytesscripts/tests/test_selfcontained_hardening.shruns5,065 bytesscripts/tests/test_session_capabilities.shruns6,062 bytesscripts/tests/test_session_claims.shruns3,285 bytesscripts/tests/test_session_control.shruns12,071 bytesscripts/tests/test_session_effort.shruns5,191 bytesscripts/tests/test_session_exit_liveness.shruns7,961 bytesscripts/tests/test_session_model_pin_guard.shruns7,452 bytesscripts/tests/test_session_probe_sigpipe.shruns15,160 bytesscripts/tests/test_session_registry_end.shruns17,045 bytesscripts/tests/test_session_reply_safety.shruns2,553 bytesscripts/tests/test_session_send_verify.shruns28,516 bytesscripts/tests/test_shim.pyruns6,117 bytesscripts/tests/test_skill_bundle.shruns43,076 bytesscripts/tests/test_state_lock_stale_breaker.shruns5,517 bytesscripts/tests/test_stop_guard.shruns6,023 bytesscripts/tests/test_supervise_pgroup_kill.shruns14,790 bytesscripts/tests/test_tab_empty_ledger.shruns3,909 bytesscripts/tests/test_tap_statusline.shruns4,067 bytesscripts/tests/test_tier_churn.shruns4,441 bytesscripts/tests/test_timeout_capture.shruns6,828 bytesscripts/tests/test_tmux_headless_fallback.shruns3,006 bytesscripts/tests/test_tokenrouter_lane.shruns16,842 bytesscripts/tests/test_tool_bugs_062.shruns5,132 bytesscripts/tests/test_trusted_lanes.shruns5,544 bytesscripts/tests/test_utf8_guard.shruns13,995 bytesscripts/tests/test_value_router.shruns5,504 bytesscripts/tests/test_version_gate.shruns7,381 bytesscripts/tests/test_version_parity.shruns1,689 bytesscripts/tests/test_vocab_hygiene.shruns5,627 bytesscripts/tests/test_wait.shruns6,615 bytesscripts/tests/test_wake_queue.shruns5,751 bytesscripts/tests/test_watch_digest.shruns3,239 bytesscripts/tests/test_watcher.shruns6,921 bytesscripts/tests/test_windows_portability.shruns18,188 bytesscripts/tests/test_with_injection.shruns8,779 bytesscripts/tests/test_wrapper_liveness.shruns6,329 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubSkills included
- outsourcerer
Repository facts
- License
- No license detected
- Created
- Jul 10, 2026
- Last pushed
- Nov 5, 2026
- Forks
- 16
- Open issues
- 0
- Project activity
- Active
Before you install
Network or broad shellAutomated signals, not a guarantee
Checked Nov 5, 2026
Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.
Show 3 notes
plugins/outsourcerer/skills/outsourcerer/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedplugins/outsourcerer/skills/outsourcerer/scripts/outsourcerer.sh:1Analysis incomplete: file exceeds text byte budgetplugins/outsourcerer/skills/outsourcerer/scripts/outsourcerer.sh:11024Analysis incomplete: regex work limit reached
- No broad tool permissions
- 608 dangerous shell commandsin 152 files: outsourcerer/scripts/outsourcerer.sh:211 outsourcerer/scripts/tests/test_factory_flow.sh:19 outsourcerer/scripts/tests/test_devin_free_guard.sh:16 and 149 more
- 276 network referencesin 27 files: outsourcerer/scripts/outsourcerer.sh:93 outsourcerer/references/lanes-and-models.md:65 outsourcerer/scripts/tests/test_tokenrouter_lane.sh:5 and 24 more
- No hidden or obfuscated text
- 2 instruction override signalsin 1 file: outsourcerer/references/lanes-and-models.md:207
- 164 executable scriptsin 164 files: outsourcerer/scripts/anthropic-openai-shim.py:1 outsourcerer/scripts/factory-flow.sh:1 outsourcerer/scripts/factory-land.sh:1 and 161 more
- 183 references to secretsin 33 files: outsourcerer/scripts/outsourcerer.sh:44 outsourcerer/scripts/tests/test_hardening.sh:2 outsourcerer/references/lanes-and-models.md:43 and 30 more
- No requests to vote in Hot
Show all 1,233 signals by file
.claude-plugin/marketplace.json
- Network accessline 1
{ "$schema": "https://json.schemastore.org/claude-code-marketplace.json", - Network accessline 2
"$schema": "https://json.schemastore.org/claude-code-marketplace.json", - Network accessline 4
"owner": { "name": "Alex Greenshpun", "url": "https://github.com/alexgreensh" - Network accessline 5
"name": "Alex Greenshpun", "url": "https://github.com/alexgreensh" }, - Network accessline 6
"url": "https://github.com/alexgreensh"
plugins/outsourcerer/.claude-plugin/plugin.json
- Network accessline 1
{ "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json", - Network accessline 2
"$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json", - Network accessline 7
"author": { "name": "Alex Greenshpun", "url": "https://github.com/alexgreensh" - Network accessline 8
"name": "Alex Greenshpun", "url": "https://github.com/alexgreensh" }, - Network accessline 9
"url": "https://github.com/alexgreensh" - Network accessline 10
}, "homepage": "https://github.com/alexgreensh/outsourcerer", "repository": "https://github.com/alexgreensh/outsourcerer", - Network accessline 11
"homepage": "https://github.com/alexgreensh/outsourcerer", - Network accessline 12
"repository": "https://github.com/alexgreensh/outsourcerer",
plugins/outsourcerer/skills/outsourcerer/SKILL.md
plugins/outsourcerer/skills/outsourcerer/references/factory-land-cli.md
- Access to secretsline 45
[Credential-related source omitted]
plugins/outsourcerer/skills/outsourcerer/references/factory-tasks-cli.md
- Dangerous shell operationline 25
| `plan rm <name> [--force]` | Delete a plan's records. Refuses while a task is running or verifying unless `--force`. Never touches git worktrees or branches. |
plugins/outsourcerer/skills/outsourcerer/references/factory.md
plugins/outsourcerer/skills/outsourcerer/references/lanes-and-models.md
- Access to secretsline 43
[Credential-related source omitted] - Network accessline 65
[Credential-related source omitted] - Network accessline 66
[Credential-related source omitted] - Network accessline 67
[Credential-related source omitted] - Network accessline 70
- **Detect-only, by policy.** Outsourcerer never installs or launches the proxy. The user installs and audits it themselves (https://github.com/router-for-me/CLIProxyAPI, then - Network accessline 71
and audits it themselves (https://github.com/router-for-me/CLIProxyAPI, then - Access to secretsline 102
[Credential-related source omitted] - Access to secretsline 103
[Credential-related source omitted] - Network accessline 113
`--provider cline` delegates through the Cline CLI (https://github.com/cline/cline) the user - Network accessline 147
`--provider pi` delegates through Pi (https://github.com/earendil-works/pi), the open-source coding - Network accessline 160
`~/.agents/skills`, but not `~/.claude/skills`. `--with` grants travel in the prompt, as on Cursor. Pi has its own MCP config (`pi mcp add`). - Install: `npm i -g @earendil-works/pi-coding-agent` (or the installer on https://pi.dev), then - Network accessline 161
Pi has its own MCP config (`pi mcp add`). - Install: `npm i -g @earendil-works/pi-coding-agent` (or the installer on https://pi.dev), then run `pi` and `/login` once. `doctor` shows whether it is on PATH. `session start --provider pi` ope - Network accessline 162
- Install: `npm i -g @earendil-works/pi-coding-agent` (or the installer on https://pi.dev), then run - Instruction override signalline 207
in non-TTY environments", fixed), as are print-mode error/exit-code handling and `--sandbox` propagation in `-p`. Tiers map to agy flags: `run`→plain `-p` (read-only), `edit`/`research`→ `--sandbox --dangerously-skip-permissions` (sandboxed - Instruction override signalline 209
`--sandbox --dangerously-skip-permissions` (sandboxed autonomy), `yolo`→`--dangerously-skip-permissions`. - Access to secretsline 211
[Credential-related source omitted] - Access to secretsline 212
[Credential-related source omitted] - Access to secretsline 213
[Credential-related source omitted] - Network accessline 270
- **Vehicle: a direct streaming call to the server's `/v1/chat/completions`** (curl + jq, no extra - Network accessline 271
install, no harness). Universal: works with Ollama, LM Studio, llama.cpp, or any OpenAI-compatible server. `doctor` probes Ollama `:11434`, LM Studio `:1234`, llama.cpp `:8080` and reports what's live; override the endpoint with `OSRC_L - Network accessline 272
server. `doctor` probes Ollama `:11434`, LM Studio `:1234`, llama.cpp `:8080` and reports what's live; override the endpoint with `OSRC_LOCAL_URL=http://host:port/v1` (also honors `OLLAMA_HOST`). - **Streaming** feeds the liveness watchdo - Network accessline 273
live; override the endpoint with `OSRC_LOCAL_URL=http://host:port/v1` (also honors `OLLAMA_HOST`). - Network accessline 288
`--provider tokenrouter` delegates through [TokenRouter](https://www.tokenrouter.com), an - Network accessline 289
[Credential-related source omitted] - Access to secretsline 289
[Credential-related source omitted] - Network accessline 291
streaming call to the gateway's `/v1/chat/completions` (curl + jq, no extra install, no harness). - Network accessline 298
[Credential-related source omitted] - Network accessline 299
[Credential-related source omitted] - Network accessline 300
[Credential-related source omitted] - Network accessline 301
- **It is a CLOUD lane**: the prompt LEAVES the machine, so it flows through the same cloud-consent gate + secret-scan hard-block as every other cloud lane. Override the endpoint with `OSRC_TOKENROUTER_URL` (default `https://api.tokenro - Network accessline 302
gate + secret-scan hard-block as every other cloud lane. Override the endpoint with `OSRC_TOKENROUTER_URL` (default `https://api.tokenrouter.com/v1`). - **It is TEXT delegation** (same contract as the local lane's text path): the model re - Network accessline 303
`OSRC_TOKENROUTER_URL` (default `https://api.tokenrouter.com/v1`). - Network accessline 312
[Credential-related source omitted] - Network accessline 313
[Credential-related source omitted] - Network accessline 314
[Credential-related source omitted] - Access to secretsline 314
[Credential-related source omitted] - Network accessline 332
2. **`nano-banana` / `gemini-2.5-flash-image`, FALLBACK #2.** Used when Codex isn't ready. Needs `GEMINI_API_KEY`/`GOOGLE_API_KEY` in `~/.env`: it calls the Gemini `generateContent` REST API directly (curl + jq). This is the one Gemin - Network accessline 333
[Credential-related source omitted] - Access to secretsline 333
[Credential-related source omitted] - Network accessline 334
directly (curl + jq). This is the one Gemini feature that needs the API key even when your text - Access to secretsline 338
[Credential-related source omitted] - Dangerous shell operationline 389
outsourcerer.sh exclude rm fable # allow it again - Network accessline 540
(OpenRouter via `--provider cc -m glm|deepseek`, or a native lane). If the sibling still answers, the lane stays up and you are told which free model to keep using. The current devin CLI exposes no quota read; the live figure is at http - Network accessline 541
the lane stays up and you are told which free model to keep using. The current devin CLI exposes no quota read; the live figure is at https://app.devin.ai/settings/usage. `brief`/`status` show a proactive meter, "N Devin plan jobs today - Network accessline 542
no quota read; the live figure is at https://app.devin.ai/settings/usage. - Access to secretsline 557
[Credential-related source omitted]
plugins/outsourcerer/skills/outsourcerer/references/mechanism.md
- Network accessline 25
|---|---|---| | **bash** | everything | preinstalled on macOS/Linux (works on macOS's bash 3.2) | | **Devin CLI + login** | `--provider devin` | Follow the [official Devin CLI installation guide](https://docs.devin.ai/cli), then run `! devi - Network accessline 26
| **bash** | everything | preinstalled on macOS/Linux (works on macOS's bash 3.2) | | **Devin CLI + login** | `--provider devin` | Follow the [official Devin CLI installation guide](https://docs.devin.ai/cli), then run `! devin auth login` - Network accessline 27
| **Devin CLI + login** | `--provider devin` | Follow the [official Devin CLI installation guide](https://docs.devin.ai/cli), then run `! devin auth login` (interactive browser flow, run it yourself) | - Access to secretsline 28
[Credential-related source omitted] - Network accessline 29
| **claude CLI** | `--provider cc` | Claude Code (`claude` on PATH) | | **codex CLI + login** | `--provider codex`; also the **PREFERRED, keyless `image` backend** (`gpt-image`) | OpenAI Codex CLI (`codex` on PATH), then `codex login` (inte - Network accessline 30
| **codex CLI + login** | `--provider codex`; also the **PREFERRED, keyless `image` backend** (`gpt-image`) | OpenAI Codex CLI (`codex` on PATH), then `codex login` (interactive, run it yourself) | | **`agy` (Antigravity CLI)**, PRIMARY, ke - Network accessline 31
| **`agy` (Antigravity CLI)**, PRIMARY, keyless | `gemini-pro` / `gemini-flash` / `gemini-flash-lite` text lane | Follow the [official Antigravity CLI installation and authentication guide](https://antigravity.google/docs/cli/install/), the - Network accessline 32
[Credential-related source omitted] - Access to secretsline 32
[Credential-related source omitted] - Access to secretsline 96
[Credential-related source omitted]
plugins/outsourcerer/skills/outsourcerer/references/model-advisory.md
plugins/outsourcerer/skills/outsourcerer/scripts/anthropic-openai-shim.py
- Executable scriptline 1
#!/usr/bin/env python3 - Network accessline 8
Env: OSRC_SHIM_UPSTREAM local OpenAI base, e.g. http://localhost:11434/v1 (required) - Network accessline 9
OSRC_SHIM_UPSTREAM local OpenAI base, e.g. http://localhost:11434/v1 (required) - Access to secretsline 26
[Credential-related source omitted] - Access to secretsline 27
[Credential-related source omitted] - Access to secretsline 28
[Credential-related source omitted] - Access to secretsline 32
[Credential-related source omitted] - Network accessline 253
oreq = anthropic_to_openai(areq) data = json.dumps(oreq).encode() req = urllib.request.Request(UPSTREAM + "/chat/completions", data=data, method="POST", - Network accessline 254
data = json.dumps(oreq).encode() req = urllib.request.Request(UPSTREAM + "/chat/completions", data=data, method="POST", headers={"Content-Type": "application/json", - Network accessline 255
req = urllib.request.Request(UPSTREAM + "/chat/completions", data=data, method="POST", - Network accessline 257
[Credential-related source omitted] - Network accessline 258
try: up = urllib.request.urlopen(req, timeout=int(os.environ.get("OSRC_SHIM_TIMEOUT", "900"))) except Exception as e: - Network accessline 259
[Credential-related source omitted] - Access to secretsline 259
[Credential-related source omitted] - Network accessline 285
def main(): if not UPSTREAM: sys.stderr.write("OSRC_SHIM_UPSTREAM is required (e.g. http://localhost:11434/v1)\n") - Network accessline 286
if not UPSTREAM: sys.stderr.write("OSRC_SHIM_UPSTREAM is required (e.g. http://localhost:11434/v1)\n") sys.exit(2) - Network accessline 287
sys.stderr.write("OSRC_SHIM_UPSTREAM is required (e.g. http://localhost:11434/v1)\n") - Access to secretsline 291
[Credential-related source omitted]
plugins/outsourcerer/skills/outsourcerer/scripts/factory-flow.sh
- Executable scriptline 1
Executable file - Dangerous shell operationline 129
rm -rf "$dir" 2>/dev/null - Dangerous shell operationline 157
rm -rf "$dir.dead.$me" 2>/dev/null - Dangerous shell operationline 174
[ "$owner" = "$_FF_LOCK_OWNER" ] && rm -rf "$_FF_LOCK" 2>/dev/null - Dangerous shell operationline 279
rm -f "$pd/review-transaction.json" - Dangerous shell operationline 1460
if [ "$new" = 1 ] && [ -e "$pd" ]; then rm -f "$OSRC_HOME/.ff-plan-new.$$"; return 2; fi # lost a same-name race - Dangerous shell operationline 1461
cat "$OSRC_HOME/.ff-plan-new.$$" >&2 2>/dev/null; rm -f "$OSRC_HOME/.ff-plan-new.$$" - Dangerous shell operationline 1464
rm -f "$OSRC_HOME/.ff-plan-new.$$" - Dangerous shell operationline 1549
rm -f "$pd/tasks/$t.json" - Dangerous shell operationline 1550
rm -rf "$pd/tasks/$t" - Dangerous shell operationline 1552
rm -f "$pd/flow-expansion.json" - Dangerous shell operationline 1665
rm -f "$pd/flow-expansion.json" || return 1
plugins/outsourcerer/skills/outsourcerer/scripts/factory-land.sh
- Executable scriptline 1
Executable file - Dangerous shell operationline 27
rm -f "$tmp" 2>/dev/null; return 1 - Dangerous shell operationline 37
sh -c 'echo "$PPID"' > "$f" 2>/dev/null; { read -r p < "$f"; } 2>/dev/null; rm -f "$f" 2>/dev/null - Access to secretsline 75
[Credential-related source omitted] - Dangerous shell operationline 231
else rm -f "$rtmp" 2>/dev/null; _FDC_RC=1; _FDC_REASON="could not save the report to $tdir/report.md"; fi - Dangerous shell operationline 303
rm -f "$guard/owner"; rmdir "$guard" 2>/dev/null; return 1 - Dangerous shell operationline 308
rm -f "$1.steal/owner"; rmdir "$1.steal" 2>/dev/null || true - Dangerous shell operationline 320
if [ "$moved" = "$seen" ]; then rm -rf "$corpse"; rc=0 - Dangerous shell operationline 342
rm -f "$lk/owner.tmp"; rmdir "$lk" 2>/dev/null || true - Dangerous shell operationline 403
git -C "$_LAND_ROOT" worktree remove --force "$_LAND_IWT" >/dev/null 2>&1 || rm -rf "$_LAND_IWT" 2>/dev/null - Dangerous shell operationline 405
rm -f "$OSRC_HOME/land/active/${_LAND_IWT##*/}" 2>/dev/null - Dangerous shell operationline 426
git -C "$root" worktree remove --force "$d" >/dev/null 2>&1 || rm -rf "$d" 2>/dev/null - Dangerous shell operationline 427
rm -f "$own" 2>/dev/null - Access to secretsline 459
[Credential-related source omitted] - Dangerous shell operationline 676
rm -rf "$out_dir" 2>/dev/null; mkdir -p "$out_dir" 2>/dev/null || die "land: could not create $out_dir for the dry run" - Dangerous shell operationline 819
git -C "$root" -c "core.hooksPath=$nohooks" worktree add -q --detach "$_LAND_IWT" "$before" >/dev/null 2>&1 || { _LAND_IWT=""; rm -f "$OSRC_HOME/land/active/$lid"; die "land: could not create a scratch worktree to merge in (under $root - Dangerous shell operationline 820
|| { _LAND_IWT=""; rm -f "$OSRC_HOME/land/active/$lid"; die "land: could not create a scratch worktree to merge in (under $root/.outsourcerer/worktrees)"; }
plugins/outsourcerer/skills/outsourcerer/scripts/factory-tasks.sh
- Executable scriptline 1
Executable file - Dangerous shell operationline 90
( umask 077; printf '%s\n' "$json" > "$tmp" ) 2>/dev/null || { rm -f "$tmp" 2>/dev/null; return 1; } - Dangerous shell operationline 91
mv -f "$tmp" "$path" 2>/dev/null || { rm -f "$tmp" 2>/dev/null; return 1; } - Dangerous shell operationline 98
( umask 077; cat > "$tmp" ) 2>/dev/null || { rm -f "$tmp" 2>/dev/null; return 1; } - Dangerous shell operationline 99
mv -f "$tmp" "$path" 2>/dev/null || { rm -f "$tmp" 2>/dev/null; return 1; } - Dangerous shell operationline 125
rm -f "$f" 2>/dev/null - Dangerous shell operationline 160
if [ "$gage" -gt 0 ] && [ $(( $(date +%s) - gage )) -ge 30 ]; then rmdir "$guard" 2>/dev/null || rm -rf "$guard" 2>/dev/null; fi - Dangerous shell operationline 170
rm -rf "$corpse" 2>/dev/null; rc=0 - Dangerous shell operationline 194
rm -f "$lock/owner.$me" 2>/dev/null - Dangerous shell operationline 235
rm -f "$lock/owner" "$lock"/owner.* 2>/dev/null - Access to secretsline 500
[Credential-related source omitted] - Dangerous shell operationline 891
outsourcerer plan rm <name> [--force] - Dangerous shell operationline 898
case "$1" in "$(_plans_root)"/?*) rm -rf "$1" 2>/dev/null ;; esac - Dangerous shell operationline 977
[ -n "$name" ] || die "plan rm needs a plan name." - Dangerous shell operationline 996
[ "$(_plan_current 2>/dev/null)" = "$name" ] && rm -f "$(_plans_root)/current" - Dangerous shell operationline 997
rm -rf "$removed" || die "plan '$name' was removed, but its old files still need cleanup at $removed"
plugins/outsourcerer/skills/outsourcerer/scripts/outsourcerer-winpty-broker.sh
plugins/outsourcerer/skills/outsourcerer/scripts/outsourcerer.cmd
- Executable scriptline 1
Executable file
plugins/outsourcerer/skills/outsourcerer/scripts/outsourcerer.ps1
- Executable scriptline 1
Executable file
plugins/outsourcerer/skills/outsourcerer/scripts/outsourcerer.sh
- Executable scriptline 1
#!/usr/bin/env bash - Access to secretsline 44
[Credential-related source omitted] - Access to secretsline 45
[Credential-related source omitted] - Access to secretsline 61
[Credential-related source omitted] - Access to secretsline 62
[Credential-related source omitted] - Access to secretsline 66
[Credential-related source omitted] - Network accessline 93
# claudex GPT-5.6 Sol/Terra/Luna INSIDE the Claude Code harness via YOUR local # CLIProxyAPI (detect-only; unofficial bridge; Claude-sub models refused). # cline Cline CLI (https://github.com/cl - Network accessline 94
# CLIProxyAPI (detect-only; unofficial bridge; Claude-sub models refused). # cline Cline CLI (https://github.com/cline/cline). Engine lane: -m passes through # verbatim to cline's own pr - Network accessline 95
# cline Cline CLI (https://github.com/cline/cline). Engine lane: -m passes through - Network accessline 99
# Posture is binary: --plan = read-only, default act mode auto-approves all tools # (no OS sandbox, no graded rung); reasoning effort maps to --thinking. # tokenrouter TokenRouter (https://www - Network accessline 100
# (no OS sandbox, no graded rung); reasoning effort maps to --thinking. # tokenrouter TokenRouter (https://www.tokenrouter.com), an OpenAI-compatible model gateway. # Engine lane: -m is REQUIR - Network accessline 101
# tokenrouter TokenRouter (https://www.tokenrouter.com), an OpenAI-compatible model gateway. - Access to secretsline 104
[Credential-related source omitted] - Access to secretsline 118
[Credential-related source omitted] - Access to secretsline 145
[Credential-related source omitted] - Dangerous shell operationline 211
rm -f "$probe" 2>/dev/null || return 1 - Dangerous shell operationline 279
# armed `trap 'rm -rf "$fixture"' EXIT` before sourcing would otherwise lose its cleanup entirely - Dangerous shell operationline 288
rm -f "$OSRC_HOME/with-mcp-$$.json" "$OSRC_HOME/.hdr.$$."* 2>/dev/null - Dangerous shell operationline 294
eval "$_OSRC_CALLER_EXIT" - Dangerous shell operationline 313
trap 'if [ "${BASH_SUBSHELL:-0}" -eq 0 ]; then _devin_skills_lock_release 2>/dev/null; rm -f "$OSRC_HOME/with-mcp-$$.json" "$OSRC_HOME/.hdr.$$."* 2>/dev/null; fi' EXIT - Dangerous shell operationline 337
if ( : > "$OSRC_HOME/.wtest" ) 2>/dev/null; then rm -f "$OSRC_HOME/.wtest" 2>/dev/null; return 0; fi - Dangerous shell operationline 359
[ -L "$OSRC_CONSENT_FILE" ] && rm -f "$OSRC_CONSENT_FILE" 2>/dev/null # never write through a planted symlink - Dangerous shell operationline 363
{ umask 077; printf 'granted-at: %s\nby: %s\nscope: cloud-disclosure ack (secret-scan still runs per delegation)\nrevoke: %s consent revoke\n' "$(date '+%Y-%m-%dT%H:%M:%S%z' 2>/dev/null)" "${USER:-unknown}" "$0" > "$tmp"; } 2>/dev/nu - Dangerous shell operationline 365
&& mv -f "$tmp" "$OSRC_CONSENT_FILE" 2>/dev/null || { rm -f "$tmp" 2>/dev/null; true; } - Dangerous shell operationline 372
revoke) rm -f "$OSRC_CONSENT_FILE" 2>/dev/null; echo "cloud consent: revoked. The next cloud delegation will ask again (interactive) or need --cloud-ack (non-interactive)." ;; - Dangerous shell operationline 395
[ -L "$f" ] && rm -f "$f" 2>/dev/null - Dangerous shell operationline 396
{ umask 077; printf '%s\n' "$3" > "$tmp"; } 2>/dev/null && mv -f "$tmp" "$f" 2>/dev/null || { rm -f "$tmp" 2>/dev/null; return 1; } - Dangerous shell operationline 397
&& mv -f "$tmp" "$f" 2>/dev/null || { rm -f "$tmp" 2>/dev/null; return 1; } - Dangerous shell operationline 406
reset) rm -f "$OSRC_POSTURE_DIR"/*.* 2>/dev/null; echo "lane postures cleared; the next restricted attempt will be re-probed once." ;; - Dangerous shell operationline 479
{ umask 077; printf '%s\n' "$mode" > "$tmp"; } 2>/dev/null || { rm -f "$tmp" 2>/dev/null; die "mode: cannot write $OSRC_MODE_FILE (state home not writable?)"; } - Dangerous shell operationline 480
|| { rm -f "$tmp" 2>/dev/null; die "mode: cannot write $OSRC_MODE_FILE (state home not writable?)"; } - Dangerous shell operationline 481
mv -f "$tmp" "$OSRC_MODE_FILE" 2>/dev/null || { rm -f "$tmp" 2>/dev/null; die "mode: cannot replace $OSRC_MODE_FILE"; } - Dangerous shell operationline 482
|| { rm -f "$tmp" 2>/dev/null; die "mode: cannot replace $OSRC_MODE_FILE"; } - Dangerous shell operationline 495
reset) rm -f "$OSRC_MODE_FILE" 2>/dev/null; printf 'driving mode: reset (the session-start menu shows again next time).\n' ;; - Network accessline 627
need_devin() { have devin || die "devin CLI not on PATH (~/.local/bin). Install it using the official guide: https://docs.devin.ai/cli" - Network accessline 628
have devin || die "devin CLI not on PATH (~/.local/bin). Install it using the official guide: https://docs.devin.ai/cli" - Dangerous shell operationline 705
rm -f "$out_file" "$expired_file" 2>/dev/null || true - Network accessline 1395
_pq_reset="Devin says it $_pq_reset (that is $(_epoch_local $(( $(date +%s) + _pq_secs )) ) local)." elif [ -n "$_pq_reset" ]; then _pq_reset="Devin says it $_pq_reset — I could not parse that into a time, so the lane-down window belo - Network accessline 1396
elif [ -n "$_pq_reset" ]; then _pq_reset="Devin says it $_pq_reset — I could not parse that into a time, so the lane-down window below is an estimate; the live figure is at https://app.devin.ai/settings/usage." else - Network accessline 1397
_pq_reset="Devin says it $_pq_reset — I could not parse that into a time, so the lane-down window below is an estimate; the live figure is at https://app.devin.ai/settings/usage." - Network accessline 1398
else _pq_reset="Devin gave no reset time in this refusal; the live figure is at https://app.devin.ai/settings/usage." fi - Network accessline 1399
_pq_reset="Devin gave no reset time in this refusal; the live figure is at https://app.devin.ai/settings/usage." - Dangerous shell operationline 1434
rm -f "$(_lane_probe_file dv)" 2>/dev/null # consumed: quoted above; no per-PID litter in $OSRC_HOME - Dangerous shell operationline 1663
rm -f "$(_lane_probe_file "$lane")" 2>/dev/null - Access to secretsline 1961
[Credential-related source omitted] - Network accessline 1962
[Credential-related source omitted] - Access to secretsline 1962
[Credential-related source omitted] - Network accessline 1963
[Credential-related source omitted] - Access to secretsline 1963
[Credential-related source omitted] - Network accessline 1964
[ -n "$_gk" ] && have curl || return 1 - Network accessline 1965
raw="$(_timeout "${OSRC_CATALOG_FETCH_TIMEOUT:-10}" _curl_with_gemini_key "$_gk" -fsS 'https://generativelanguage.googleapis.com/v1beta/models?pageSize=500' 2>/dev/null)" - Network accessline 1966
'https://generativelanguage.googleapis.com/v1beta/models?pageSize=500' 2>/dev/null)" - Dangerous shell operationline 1988
printf '%s' "$norm" > "$tmp" && mv -f "$tmp" "$f" || { rm -f "$tmp" 2>/dev/null; return 1; } - Dangerous shell operationline 1994
printf '%s' "$raw" > "$rtmp" && mv -f "$rtmp" "$rawf" 2>/dev/null || rm -f "$rtmp" 2>/dev/null - Network accessline 2074
# Re-check after a forced fetch (the contains check above may have run against a stale/empty cache). - Dangerous shell operationline 2096
- Force a fresh catalog fetch: rm -f $(_catalog_path "$lane") (it re-fetches on the next run)." - Dangerous shell operationline 2313
eval "$_v=\"\$(_utf8_guard \"\$_val\"; printf X)\"" # sentinel: keep a trailing newline - Dangerous shell operationline 2314
eval "$_v=\"\${$_v%X}\"" - Dangerous shell operationline 2355
_BASHPID=""; { read -r _BASHPID < "$_tf"; } 2>/dev/null; rm -f "$_tf" 2>/dev/null - Dangerous shell operationline 2396
if _devin_lock_debris "$dead"; then rm -rf "$dead" 2>/dev/null - Dangerous shell operationline 2397
elif [ ! -e "$mx" ]; then mv "$dead" "$mx" 2>/dev/null || rm -rf "$dead" 2>/dev/null - Dangerous shell operationline 2398
else rm -rf "$dead" 2>/dev/null; fi - Dangerous shell operationline 2409
_devin_lock_mutex_release() { rm -rf "$1.mx" 2>/dev/null; } - Dangerous shell operationline 2419
case "$p" in ''|*[!0-9]*) rm -f "$h" 2>/dev/null; continue ;; esac - Dangerous shell operationline 2420
if kill -0 "$p" 2>/dev/null; then live=1; else rm -f "$h" 2>/dev/null; fi - Dangerous shell operationline 2450
[ "$others" = "0" ] && rm -f "$lock/grants" 2>/dev/null - Dangerous shell operationline 2472
rm -rf "$lock" 2>/dev/null # stale: every holder died without releasing - Dangerous shell operationline 2474
# A dir that survived the rm was lost to a race; take the bounded wait below rather than - Dangerous shell operationline 2489
else rm -f "$qp" 2>/dev/null; fi - Dangerous shell operationline 2520
[ -n "$lw" ] && rm -f "$lw" 2>/dev/null - Dangerous shell operationline 2521
rm -f "$lock.pending/$me" 2>/dev/null - Dangerous shell operationline 2526
rm -f "$lock.pending/$me" 2>/dev/null - Dangerous shell operationline 2527
[ -n "$lw" ] && rm -f "$lw" 2>/dev/null - Dangerous shell operationline 2535
_devin_grants_canon "${1-}" > "$t" 2>/dev/null && mv -f "$t" "$_DEVIN_LOCK_DIR/grants" 2>/dev/null || rm -f "$t" 2>/dev/null - Dangerous shell operationline 2545
rm -f "$lock/holders/$_BASHPID" 2>/dev/null - Dangerous shell operationline 2546
[ "$(cat "$lock/pid" 2>/dev/null)" = "$_BASHPID" ] && rm -f "$lock/pid" 2>/dev/null - Dangerous shell operationline 2547
_devin_lock_stale "$lock" && rm -rf "$lock" 2>/dev/null # last holder out removes it - Dangerous shell operationline 2550
rm -f "$lock/holders/$_BASHPID" 2>/dev/null # a later stale check reaps the rest - Dangerous shell operationline 2580
rm -f "$marker" 2>/dev/null || die "--with: $marker is a symlink and cannot be removed - refusing to dispatch (possible planted-symlink attack)." - Dangerous shell operationline 2598
[ -L "$dst/$prev" ] && rm -f "$dst/$prev" - Dangerous shell operationline 2608
[ -n "$mtmp" ] && rm -f "$mtmp" 2>/dev/null - Network accessline 2773
printf '>>> [free-tier BLOCKED-IN-ERROR] Devin refused free-tier "%s" citing a paid ACU/quota/billing limit — that balance does NOT gate a plan-included model, so this is a Devin-side mis-gate, not a real limit here. %s Check Devin'\''s pla - Network accessline 2775
[ -n "$_qline" ] && printf '>>> [free-tier] Devin'\''s exact wording (for tightening this detector): %s\n' "$_qline" >&2 elif [ -z "$_dverr" ]; then printf '>>> [free-tier] if that was a plan/quota refusal, note "%s" is free-tier - Network accessline 2776
elif [ -z "$_dverr" ]; then printf '>>> [free-tier] if that was a plan/quota refusal, note "%s" is free-tier and should not be gated by a paid balance — unless Devin said the DAILY/WEEKLY plan quota is exhausted, which may block every - Network accessline 2777
printf '>>> [free-tier] if that was a plan/quota refusal, note "%s" is free-tier and should not be gated by a paid balance — unless Devin said the DAILY/WEEKLY plan quota is exhausted, which may block every plan-included model (verify with - Dangerous shell operationline 2797
[ -n "$_dverr" ] && rm -f "$_dverr" 2>/dev/null - Access to secretsline 2842
[Credential-related source omitted] - Access to secretsline 2844
[Credential-related source omitted] - Access to secretsline 2846
[Credential-related source omitted] - Access to secretsline 2857
[Credential-related source omitted] - Access to secretsline 2858
[Credential-related source omitted] - Access to secretsline 2859
[Credential-related source omitted] - Access to secretsline 2860
[Credential-related source omitted] - Access to secretsline 2866
[Credential-related source omitted] - Access to secretsline 2867
[Credential-related source omitted] - Access to secretsline 2868
[Credential-related source omitted] - Access to secretsline 2869
[Credential-related source omitted] - Network accessline 2870
[Credential-related source omitted] - Access to secretsline 2870
[Credential-related source omitted] - Network accessline 2871
fi [ -n "$GEMINI_API_KEY" ] || die "GEMINI_API_KEY (or GOOGLE_API_KEY) not found in ~/.env (needed for gemini-pro/gemini-flash/nano-banana). Get a key: https://aistudio.google.com/apikey" export GEMINI_API_KEY - Network accessline 2872
[Credential-related source omitted] - Access to secretsline 2872
[Credential-related source omitted] - Access to secretsline 2873
[Credential-related source omitted] - Network accessline 2876
# ---- TokenRouter lane key (OpenAI-compatible gateway, https://api.tokenrouter.com/v1) ---- - Access to secretsline 2879
[Credential-related source omitted] - Access to secretsline 2880
[Credential-related source omitted] - Network accessline 2881
[Credential-related source omitted] - Access to secretsline 2881
[Credential-related source omitted] - Network accessline 2882
[Credential-related source omitted] - Access to secretsline 2882
[Credential-related source omitted] - Access to secretsline 2883
[Credential-related source omitted] - Network accessline 2886
# ---- Secure curl header helper: pass API keys via temp file, not process args (ps table) ---- - Network accessline 2887
# Usage: _curl_with_key <header_value> <curl args...> - Network accessline 2888
# Writes the header to a 0600 temp file and uses curl -H @file to avoid exposing the key in ps. - Network accessline 2893
[Credential-related source omitted] - Network accessline 2894
[Credential-related source omitted] - Network accessline 2895
curl -H @"$_curl_hdr_tmp" "$@" - Dangerous shell operationline 2897
rm -f "$_curl_hdr_tmp" 2>/dev/null; _curl_hdr_tmp="" - Network accessline 2903
[Credential-related source omitted] - Network accessline 2904
[Credential-related source omitted] - Network accessline 2905
curl -H @"$_curl_hdr_tmp" "$@" - Dangerous shell operationline 2907
rm -f "$_curl_hdr_tmp" 2>/dev/null; _curl_hdr_tmp="" - Network accessline 3400
printf '%s\n' "name=droid" "providers=droid" "provider_is_lane=yes" "owns_catalog=yes" "cli=droid" "cli_missing_hint=droid CLI not on PATH (Factory Droid lane). Install it using the official guide: https://docs - Network accessline 3404
"owns_catalog=yes" \ "cli=droid" \ "cli_missing_hint=droid CLI not on PATH (Factory Droid lane). Install it using the official guide: https://docs.factory.ai/cli. Then run 'droid' once to log in." \ - Network accessline 3405
"cli=droid" \ "cli_missing_hint=droid CLI not on PATH (Factory Droid lane). Install it using the official guide: https://docs.factory.ai/cli. Then run 'droid' once to log in." \ "ready_fn=_ready_probe_droid" \ - Network accessline 3406
"cli_missing_hint=droid CLI not on PATH (Factory Droid lane). Install it using the official guide: https://docs.factory.ai/cli. Then run 'droid' once to log in." \ - Network accessline 3486
[Credential-related source omitted] - Access to secretsline 3486
[Credential-related source omitted] - Network accessline 3490
"owns_catalog=yes" \ "cli=cursor-agent agent" \ "cli_missing_hint=cursor-agent CLI not on PATH (Cursor lane). Install it using the official guide: https://cursor.com/docs/cli/installation. Then run 'cursor-agent login' once (or set - Network accessline 3491
"cli=cursor-agent agent" \ "cli_missing_hint=cursor-agent CLI not on PATH (Cursor lane). Install it using the official guide: https://cursor.com/docs/cli/installation. Then run 'cursor-agent login' once (or set CURSOR_API_KEY)." \ " - Network accessline 3492
[Credential-related source omitted] - Access to secretsline 3492
[Credential-related source omitted] - Network accessline 3541
printf '%s\n' "name=hermes" "providers=hermes" "provider_is_lane=yes" "owns_catalog=yes" "cli=hermes" "cli_missing_hint=hermes CLI not on PATH (Hermes agent lane). Install: https://github.com/NousResearch/herme - Network accessline 3545
"owns_catalog=yes" \ "cli=hermes" \ "cli_missing_hint=hermes CLI not on PATH (Hermes agent lane). Install: https://github.com/NousResearch/hermes-agent (then run 'hermes' once to configure). -m passes through verbatim; model catalo - Network accessline 3546
"cli=hermes" \ "cli_missing_hint=hermes CLI not on PATH (Hermes agent lane). Install: https://github.com/NousResearch/hermes-agent (then run 'hermes' once to configure). -m passes through verbatim; model catalog is yours to configure." - Network accessline 3547
"cli_missing_hint=hermes CLI not on PATH (Hermes agent lane). Install: https://github.com/NousResearch/hermes-agent (then run 'hermes' once to configure). -m passes through verbatim; model catalog is yours to configure." \ - Network accessline 3609
printf '%s\n' "name=cline" "providers=cline" "provider_is_lane=yes" "owns_catalog=yes" "cli=cline" "cli_missing_hint=cline CLI not on PATH (Cline lane). Install: npm i -g cline (or see https://github.com/cline - Network accessline 3613
"owns_catalog=yes" \ "cli=cline" \ "cli_missing_hint=cline CLI not on PATH (Cline lane). Install: npm i -g cline (or see https://github.com/cline/cline), then set up cline: sign in to ClinePass (~\$9.99/mo for discounted open-weigh - Network accessline 3614
"cli=cline" \ "cli_missing_hint=cline CLI not on PATH (Cline lane). Install: npm i -g cline (or see https://github.com/cline/cline), then set up cline: sign in to ClinePass (~\$9.99/mo for discounted open-weight models) or configure yo - Network accessline 3615
"cli_missing_hint=cline CLI not on PATH (Cline lane). Install: npm i -g cline (or see https://github.com/cline/cline), then set up cline: sign in to ClinePass (~\$9.99/mo for discounted open-weight models) or configure your own keys in ~/. - Network accessline 3659
# ---- pi (Pi coding agent — whatever Pi is signed in to) --------------------- # Pi (https://github.com/earendil-works/pi) is an engine lane: -m passes through verbatim to Pi's own - Network accessline 3660
# Pi (https://github.com/earendil-works/pi) is an engine lane: -m passes through verbatim to Pi's own - Network accessline 3664
printf '%s\n' "name=pi" "providers=pi" "provider_is_lane=yes" "owns_catalog=yes" "cli=pi" "cli_missing_hint=pi CLI not on PATH (Pi lane). Install: npm i -g @earendil-works/pi-coding-agent (or see https://pi.de - Network accessline 3668
"owns_catalog=yes" \ "cli=pi" \ "cli_missing_hint=pi CLI not on PATH (Pi lane). Install: npm i -g @earendil-works/pi-coding-agent (or see https://pi.dev for the official installer), then run 'pi' and /login once (Claude, ChatGPT, C - Network accessline 3669
"cli=pi" \ "cli_missing_hint=pi CLI not on PATH (Pi lane). Install: npm i -g @earendil-works/pi-coding-agent (or see https://pi.dev for the official installer), then run 'pi' and /login once (Claude, ChatGPT, Copilot and more), or set - Network accessline 3670
"cli_missing_hint=pi CLI not on PATH (Pi lane). Install: npm i -g @earendil-works/pi-coding-agent (or see https://pi.dev for the official installer), then run 'pi' and /login once (Claude, ChatGPT, Copilot and more), or set a provider API - Access to secretsline 3730
[Credential-related source omitted] - Access to secretsline 3731
[Credential-related source omitted] - Access to secretsline 3758
[Credential-related source omitted] - Access to secretsline 3833
[Credential-related source omitted] - Access to secretsline 3839
[Credential-related source omitted] - Network accessline 3986
have claude || die "claudex lane needs the claude CLI on PATH." [ -n "${OSRC_JOB_DIR:-}" ] || _claudex_up || die "claudex lane: no CLIProxyAPI answering at $(_claudex_url) (or no api-key found). This lane rides a proxy YOU install and l - Network accessline 3987
[ -n "${OSRC_JOB_DIR:-}" ] || _claudex_up || die "claudex lane: no CLIProxyAPI answering at $(_claudex_url) (or no api-key found). This lane rides a proxy YOU install and log into: https://github.com/router-for-me/CLIProxyAPI (then cli-prox - Access to secretsline 4134
[Credential-related source omitted] - Access to secretsline 4137
[Credential-related source omitted] - Network accessline 4138
# or_credits already caps curl via OSRC_CURL_TIMEOUT; tighten it for the interactive brief probe. - Access to secretsline 4149
[Credential-related source omitted] - Dangerous shell operationline 4665
rm -rf "$tmp" "$old" 2>/dev/null - Dangerous shell operationline 4677
_skill_tree_names_safe "$dir" || { rm -rf "$tmp"; die "skill bundle: skill '$name' contains file/dir names with control characters (CR/LF/TAB) - the line-oriented manifest cannot represent them, so the grant is refused. Rename the offending - Dangerous shell operationline 4704
[ -z "$badl" ] || { rm -rf "$tmp"; die "skill bundle: skill '$name' ships symlink(s) that are absolute, escape the skill directory, or dangle:$badl - staging them would hand the delegate a live path OUTSIDE the bundle, so the grant is refus - Dangerous shell operationline 4709
[ -z "$special" ] || { rm -rf "$tmp"; die "skill bundle: skill '$name' contains non-regular file(s) (fifo/socket/device):$(printf '%s' "$special" | tr '\n' ' ') - refusing to stage (every transferred entry must be manifest-accounted). Remov - Dangerous shell operationline 4712
[ "$total" -le "$cap" ] || { rm -rf "$tmp"; die "skill bundle would exceed OSRC_BUNDLE_MAX_BYTES=${cap} bytes when adding skill '$name' (skills are copied whole so the delegate gets the real tree). Raise the cap or grant fewer skills."; } - Dangerous shell operationline 4713
mkdir -p "$tmp/$name" || { rm -rf "$tmp"; die "skill bundle: cannot create $tmp/$name"; } - Dangerous shell operationline 4715
(cd "$dir" && tar --exclude='./.git' -cf - .) | (cd "$tmp/$name" && tar -xf -) || { rm -rf "$tmp"; die "skill bundle: failed to copy skill '$name' from $dir"; } - Dangerous shell operationline 4716
|| { rm -rf "$tmp"; die "skill bundle: failed to copy skill '$name' from $dir"; } - Dangerous shell operationline 4737
rm -rf "$old" 2>/dev/null - Dangerous shell operationline 4740
find "${OSRC_JOB_DIR:-$OSRC_HOME}" -maxdepth 1 -type d -name 'skill-bundle.*' -mtime +2 -exec rm -rf {} + 2>/dev/null || true - Dangerous shell operationline 4771
rm -rf "$root" 2>/dev/null - Dangerous shell operationline 5031
rm -f "$cfg" - Access to secretsline 5201
[Credential-related source omitted] - Access to secretsline 5205
[Credential-related source omitted] - Access to secretsline 5206
[Credential-related source omitted] - Access to secretsline 5214
[Credential-related source omitted] - Access to secretsline 5216
[Credential-related source omitted] - Network accessline 5255
_quota_countable() { # <verb> -> rc0 if this ledger verb counts toward the daily cap local v="${1:-}" nc for nc in $OSRC_QUOTA_NONCOUNT_VERBS; do [ "$v" = "$nc" ] && return 1; done - Network accessline 5256
local v="${1:-}" nc for nc in $OSRC_QUOTA_NONCOUNT_VERBS; do [ "$v" = "$nc" ] && return 1; done return 0 - Network accessline 5257
for nc in $OSRC_QUOTA_NONCOUNT_VERBS; do [ "$v" = "$nc" ] && return 1; done - Network accessline 5334
--arg noncount "$OSRC_QUOTA_NONCOUNT_VERBS" ' ($noncount | split(" ")) as $nc | [ inputs | fromjson? // empty - Network accessline 5335
($noncount | split(" ")) as $nc | [ inputs | fromjson? // empty | objects - Network accessline 5338
| select(.model == $model) | select( ((.lane // .provider) | if . == "gi" then "gm" else . end) == $lane ) | select((.verb // "") as $v | ($nc | index($v)) | not) - Network accessline 5339
| select( ((.lane // .provider) | if . == "gi" then "gm" else . end) == $lane ) | select((.verb // "") as $v | ($nc | index($v)) | not) | select( ((.epoch | numbers) // null) as $e - Network accessline 5340
| select((.verb // "") as $v | ($nc | index($v)) | not) - Network accessline 5363
done < <(jq -Rrn --argjson start "$start" --arg today "$today" --arg noncount "$OSRC_QUOTA_NONCOUNT_VERBS" ' ($noncount | split(" ")) as $nc | [ inputs | fromjson? // empty - Network accessline 5364
($noncount | split(" ")) as $nc | [ inputs | fromjson? // empty | objects - Network accessline 5366
| objects | select( (((.lane // .provider) // "") | tostring) as $l | ($l == "dv" or $l == "devin") ) | select((.verb // "") as $v | ($nc | index($v)) | not) - Network accessline 5367
| select( (((.lane // .provider) // "") | tostring) as $l | ($l == "dv" or $l == "devin") ) | select((.verb // "") as $v | ($nc | index($v)) | not) | select( ((.epoch | numbers) // null) as $e - Network accessline 5368
| select((.verb // "") as $v | ($nc | index($v)) | not) - Network accessline 5384
line="devin plan : $n Devin plan job$([ "$n" = "1" ] || printf s) today (UTC quota day; glm/swe/kimi/deepseek share ONE daily bucket)" if [ "$down" = "1" ]; then line="$line — dv lane DOWN ($(_lane_down_reason dv)) for another $(_lan - Network accessline 5385
if [ "$down" = "1" ]; then line="$line — dv lane DOWN ($(_lane_down_reason dv)) for another $(_lane_down_remaining dv); dispatch + fallback skip Devin until then. Live figure: https://app.devin.ai/settings/usage" fi - Network accessline 5386
line="$line — dv lane DOWN ($(_lane_down_reason dv)) for another $(_lane_down_remaining dv); dispatch + fallback skip Devin until then. Live figure: https://app.devin.ai/settings/usage" - Network accessline 5410
local start today; start="$(_quota_day_start utc)"; today="$(date +%Y-%m-%d)" n="$(jq -Rn --argjson start "$start" --arg today "$today" --arg toks "$toks" --arg noncount "$OSRC_QUOTA_NONCOUNT_VERBS" ' ($noncount | split(" ")) as $n - Network accessline 5411
n="$(jq -Rn --argjson start "$start" --arg today "$today" --arg toks "$toks" --arg noncount "$OSRC_QUOTA_NONCOUNT_VERBS" ' ($noncount | split(" ")) as $nc | ($toks | split(" ") | map(select(length > 0))) as $tk | [ inputs | fr - Network accessline 5412
($noncount | split(" ")) as $nc | ($toks | split(" ") | map(select(length > 0))) as $tk - Network accessline 5414
| objects | select( (((.lane // .provider) // "") | tostring) as $l | ($tk | index($l)) != null ) | select((.verb // "") as $v | ($nc | index($v)) | not) - Network accessline 5415
| select( (((.lane // .provider) // "") | tostring) as $l | ($tk | index($l)) != null ) | select((.verb // "") as $v | ($nc | index($v)) | not) | select( ((.epoch | numbers) // null) as $e - Network accessline 5416
| select((.verb // "") as $v | ($nc | index($v)) | not) - Dangerous shell operationline 5462
[ "$cur" = "$v" ] && rm -f "$OSRC_POSTURE_DIR/$1.quota-$slug" 2>/dev/null - Dangerous shell operationline 5568
else rm -f "$OSRC_POSTURE_DIR/$lane.down-reason" 2>/dev/null; fi - Dangerous shell operationline 5570
else rm -f "$OSRC_POSTURE_DIR/$lane.down-evidence" 2>/dev/null; fi - Dangerous shell operationline 5617
# in the microsecond between the value-match re-read and the rm can still be unlinked -- losing - Dangerous shell operationline 5623
[ "$cur" = "$2" ] && rm -f "$OSRC_POSTURE_DIR/$1.down" 2>/dev/null - Dangerous shell operationline 5628
[ -f "$OSRC_POSTURE_DIR/$1.down" ] || rm -f "$OSRC_POSTURE_DIR/$1.down-reason" "$OSRC_POSTURE_DIR/$1.down-evidence" 2>/dev/null - Dangerous shell operationline 5636
rm -f "$OSRC_POSTURE_DIR/$lane.down" "$OSRC_POSTURE_DIR/$lane.down-reason" "$OSRC_POSTURE_DIR/$lane.down-evidence" 2>/dev/null - Dangerous shell operationline 5756
printf ">>> [exclude] the entry '%s' is not a valid model name, so every model counts as excluded until it is fixed (fail closed). Fix: %s exclude rm '%s', or correct OSRC_EXCLUDE_MODELS.\n" "$b" "$0" "$b" >&2 - Dangerous shell operationline 5761
# _exclude_saved_entries / _exclude_env_entries -> each source on its own (for ls and rm notes). - Network accessline 5813
} function cmatch(e, c, ea, ca, ne, nc, i, j, ok, nx) { ne = split(e, ea, " "); nc = split(c, ca, " ") - Network accessline 5814
function cmatch(e, c, ea, ca, ne, nc, i, j, ok, nx) { ne = split(e, ea, " "); nc = split(c, ca, " ") if (ne == 0 || ne > nc) return 0 - Network accessline 5815
ne = split(e, ea, " "); nc = split(c, ca, " ") - Dangerous shell operationline 5990
die "${label:+$label: }you excluded '$m' (exclude list entry: $EXCL_HIT${EXCL_WHY:+; $EXCL_WHY}). Pick another model with -m, or allow it again with: $0 exclude rm $EXCL_HIT" - Dangerous shell operationline 6005
die "${label:+$label: }'$req' resolves to $res, which you excluded (exclude list entry: $EXCL_HIT), so it will not run. Pick another model with -m, or allow it again with: $0 exclude rm $EXCL_HIT" - Dangerous shell operationline 6007
die "${label:+$label: }you excluded '$res' (exclude list entry: $EXCL_HIT), so it will not run. Pick another model with -m, or allow it again with: $0 exclude rm $EXCL_HIT" - Dangerous shell operationline 6045
printf 'excluded : EVERY MODEL (unparsable entry: %s; fix it with: %s exclude rm <entry>)%s\n' "$b" "$0" "${list:+; also listed: $list}" - Dangerous shell operationline 6049
printf 'excluded : %s (never chosen, never a fallback, -m refused; change with: %s exclude rm <model>)\n' "$list" "$0" - Dangerous shell operationline 6075
if [ -z "$(printf '%s' "${1:-}" | tr -d '[:space:]')" ]; then rm -f "$OSRC_EXCLUDE_FILE" 2>/dev/null; return 0; fi - Dangerous shell operationline 6077
rm -f "$tmp" 2>/dev/null - Dangerous shell operationline 6158
printf ' %s (NOT A VALID MODEL NAME: every model counts as excluded until you fix it: %s exclude rm '"'"'%s'"'"')\n' "$e" "$0" "$e" - Dangerous shell operationline 6190
[ "$#" -ge 1 ] || die "exclude rm needs a model or family, e.g.: $0 exclude rm fable" - Dangerous shell operationline 6225
rm -f "$OSRC_EXCLUDE_FILE" 2>/dev/null - Access to secretsline 6302
[Credential-related source omitted] - Dangerous shell operationline 6327
local tmp="$OSRC_QUOTA_FILE.tmp.$$"; [ -L "$tmp" ] && rm -f "$tmp" 2>/dev/null # symlink-guard parity with _posture_set - Dangerous shell operationline 6329
chmod 600 "$tmp" 2>/dev/null; mv -f "$tmp" "$OSRC_QUOTA_FILE" || { rm -f "$tmp"; die "limits set: could not update $OSRC_QUOTA_FILE"; } - Dangerous shell operationline 6330
else rm -f "$tmp"; die "limits set: jq failed (is $OSRC_QUOTA_FILE valid JSON?)"; fi - Dangerous shell operationline 6353
local tmp="$OSRC_QUOTA_FILE.tmp.$$"; [ -L "$tmp" ] && rm -f "$tmp" 2>/dev/null # symlink-guard parity with _posture_set - Dangerous shell operationline 6355
chmod 600 "$tmp" 2>/dev/null; mv -f "$tmp" "$OSRC_QUOTA_FILE" || { rm -f "$tmp"; die "limits clear: could not update $OSRC_QUOTA_FILE"; } - Dangerous shell operationline 6356
else rm -f "$tmp"; die "limits clear: jq failed"; fi - Dangerous shell operationline 6403
mv -f "$_otmp" "$owner" 2>/dev/null || rm -f "$_otmp" 2>/dev/null - Dangerous shell operationline 6429
mv "$lock" "$corpse" 2>/dev/null && rm -rf "$corpse" 2>/dev/null - Dangerous shell operationline 6443
mv "$lock" "$corpse" 2>/dev/null && rm -rf "$corpse" 2>/dev/null - Dangerous shell operationline 6455
mkdir) rm -f "$1.lock/owner" 2>/dev/null; rmdir "$1.lock" 2>/dev/null || true ;; - Access to secretsline 6755
[Credential-related source omitted] - Access to secretsline 6761
[Credential-related source omitted] - Dangerous shell operationline 6787
rm -f "$dir/owner.json" 2>/dev/null || true; rmdir "$dir" 2>/dev/null || true - Dangerous shell operationline 6800
rm -f "$tmp" 2>/dev/null || true - Access to secretsline 6804
[Credential-related source omitted] - Dangerous shell operationline 6817
rm -f "$dir/owner.json" 2>/dev/null || return 1 - Dangerous shell operationline 6953
[ -n "${_OBLIGATION_GUARD_EXIT:-}" ] && eval "$_OBLIGATION_GUARD_EXIT" - Dangerous shell operationline 6954
[ -n "${_OBLIGATION_GUARD_INT:-}" ] && eval "$_OBLIGATION_GUARD_INT" - Dangerous shell operationline 6955
[ -n "${_OBLIGATION_GUARD_TERM:-}" ] && eval "$_OBLIGATION_GUARD_TERM" - Access to secretsline 7067
[Credential-related source omitted] - Access to secretsline 7071
[Credential-related source omitted] - Access to secretsline 7073
[Credential-related source omitted] - Dangerous shell operationline 7218
rm -f "$out_file" 2>/dev/null || true - Dangerous shell operationline 7223
rm -f "$out_file" 2>/dev/null || true - Access to secretsline 7375
[Credential-related source omitted] - Dangerous shell operationline 7637
_state_sync "$tmp" || { rm -f "$tmp"; return 1; } - Dangerous shell operationline 7638
mv "$tmp" "$OSRC_FLEET_SNAPSHOT" || { rm -f "$tmp"; return 1; } - Dangerous shell operationline 7958
rm -rf -- "$tree" - Dangerous shell operationline 7985
_state_sync "$tmp" || { rm -f "$tmp"; rmdir "$pending" 2>/dev/null || true; return 1; } - Dangerous shell operationline 8035
rm -f "$owner" 2>/dev/null || return 1 - Dangerous shell operationline 8117
_state_sync "$tmp" || { rm -f "$tmp"; return 1; } - Dangerous shell operationline 8118
mv "$tmp" "$file" || { rm -f "$tmp"; return 1; } - Access to secretsline 8359
[Credential-related source omitted] - Access to secretsline 8365
[Credential-related source omitted] - Access to secretsline 8603
[Credential-related source omitted] - Access to secretsline 8712
[Credential-related source omitted] - Access to secretsline 9145
[Credential-related source omitted] - Network accessline 9339
refresh_models() { _mkdir_private "$OSRC_HOME" || true have curl || { echo "curl needed to refresh the model catalog" >&2; return 1; } - Network accessline 9340
_mkdir_private "$OSRC_HOME" || true have curl || { echo "curl needed to refresh the model catalog" >&2; return 1; } local _tmp; _tmp="$(mktemp "$OSRC_HOME/.models.XXXXXX" 2>/dev/null || mktemp)" - Network accessline 9341
have curl || { echo "curl needed to refresh the model catalog" >&2; return 1; } - Network accessline 9342
local _tmp; _tmp="$(mktemp "$OSRC_HOME/.models.XXXXXX" 2>/dev/null || mktemp)" if curl -fsS -m "${OSRC_CURL_TIMEOUT:-30}" "https://openrouter.ai/api/v1/models" -o "$_tmp" 2>/dev/null; then jq -e '.data' "$_tmp" >/dev/null 2>&1 && mv - - Network accessline 9343
if curl -fsS -m "${OSRC_CURL_TIMEOUT:-30}" "https://openrouter.ai/api/v1/models" -o "$_tmp" 2>/dev/null; then - Dangerous shell operationline 9344
jq -e '.data' "$_tmp" >/dev/null 2>&1 && mv -f "$_tmp" "$OSRC_MODELS_JSON" && echo "refreshed $OSRC_MODELS_JSON" || { rm -f "$_tmp"; echo "refresh failed: invalid JSON" >&2; return 1; } - Dangerous shell operationline 9346
rm -f "$OSRC_MODELS_JSON.tmp"; echo "model refresh failed (offline?)" >&2; return 1 - Network accessline 9350
or_credits() { # best-effort OpenRouter credit line; never fatal have curl && have jq || return 0 - Network accessline 9351
have curl && have jq || return 0 - Network accessline 9352
_or_load_key 2>/dev/null || return 0 _curl_with_auth "$OPENROUTER_API_KEY" -fsS -m "${OSRC_CURL_TIMEOUT:-30}" "https://openrouter.ai/api/v1/key" 2>/dev/null \ | jq -r '.data | "limit=\(.limit // "n/a") usage=\(.usage // 0) remaining=\ - Network accessline 9353
[Credential-related source omitted] - Access to secretsline 9353
[Credential-related source omitted] - Network accessline 9371
_or_gen_cost() { local gid="$1"; [ -n "$gid" ] || return 0 have curl && have jq || return 0 - Network accessline 9372
local gid="$1"; [ -n "$gid" ] || return 0 have curl && have jq || return 0 _or_load_key 2>/dev/null || return 0 - Network accessline 9373
have curl && have jq || return 0 - Network accessline 9376
for i in 1 2 3 4 5; do c="$(_curl_with_auth "$OPENROUTER_API_KEY" -fsS -m "${OSRC_CURL_TIMEOUT:-30}" \ "https://openrouter.ai/api/v1/generation?id=$gid" 2>/dev/null \ - Network accessline 9377
[Credential-related source omitted] - Access to secretsline 9377
[Credential-related source omitted] - Network accessline 9378
"https://openrouter.ai/api/v1/generation?id=$gid" 2>/dev/null \ - Dangerous shell operationline 10072
if mv -f "$tmp" "$f" 2>/dev/null; then rewritten=$((rewritten+1)); else rm -f "$tmp" 2>/dev/null; failed=$((failed+1)); echo " (rename failed for $f — left unchanged)" >&2; fi - Dangerous shell operationline 10074
rm -f "$tmp" 2>/dev/null; failed=$((failed+1)); echo " (could not rewrite $f — left unchanged)" >&2 - Dangerous shell operationline 10105
rm -f "$OSRC_HOME/.rl.tmp.$$" 2>/dev/null - Dangerous shell operationline 10135
jq --arg cmd "$(_tap_statusline_cmd)" '.statusLine = {type:"command", command:$cmd}' "$settings" > "$settings.tmp.$$" 2>/dev/null && mv -f "$settings.tmp.$$" "$settings" || { rm -f "$settings.tmp.$$"; die "tap: could not update $se - Dangerous shell operationline 10136
&& mv -f "$settings.tmp.$$" "$settings" || { rm -f "$settings.tmp.$$"; die "tap: could not update $settings"; } - Dangerous shell operationline 10147
[ -s "$settings.tmp.$$" ] && mv -f "$settings.tmp.$$" "$settings" || { rm -f "$settings.tmp.$$"; die "tap: could not update $settings"; } - Dangerous shell operationline 10148
rm -f "$stash" "$OSRC_HOME/tap-original-statusline" "$OSRC_HOME/rate-limits.json" 2>/dev/null # drop the frozen capture so it can't shadow a fresh source - Access to secretsline 10276
[Credential-related source omitted] - Network accessline 10277
refresh_benchmarks() { _mkdir_private "$OSRC_HOME" || true have curl || { echo "curl needed to refresh benchmarks" >&2; return 1; } - Network accessline 10278
_mkdir_private "$OSRC_HOME" || true have curl || { echo "curl needed to refresh benchmarks" >&2; return 1; } have jq || { echo "jq needed to refresh benchmarks" >&2; return 1; } - Network accessline 10279
have curl || { echo "curl needed to refresh benchmarks" >&2; return 1; } - Access to secretsline 10282
[Credential-related source omitted] - Access to secretsline 10283
[Credential-related source omitted] - Network accessline 10286
[Credential-related source omitted] - Dangerous shell operationline 10287
local _tmp; _tmp="$(mktemp "$OSRC_HOME/.bench.XXXXXX" 2>/dev/null)" || { rm -f "$_hdr"; echo "cannot create temp file" >&2; return 1; } - Network accessline 10287
local _tmp; _tmp="$(mktemp "$OSRC_HOME/.bench.XXXXXX" 2>/dev/null)" || { rm -f "$_hdr"; echo "cannot create temp file" >&2; return 1; } if curl -fsS -m "${OSRC_CURL_TIMEOUT:-30}" -H @"$_hdr" \ "https://openrouter.ai/api/v1/benchmarks? - Network accessline 10288
if curl -fsS -m "${OSRC_CURL_TIMEOUT:-30}" -H @"$_hdr" \ - Network accessline 10289
"https://openrouter.ai/api/v1/benchmarks?source=artificial-analysis&task_type=intelligence&max_results=100" \ - Dangerous shell operationline 10293
mv -f "$_tmp" "$OSRC_BENCH_JSON" || { rm -f "$_tmp" "$_hdr"; echo "failed to write benchmark cache" >&2; return 1; } - Dangerous shell operationline 10296
rm -f "$_tmp" - Dangerous shell operationline 10297
echo "benchmark refresh failed (response was not valid JSON with .data array)" >&2; rm -f "$_hdr"; return 1 - Dangerous shell operationline 10300
rm -f "$_tmp" - Dangerous shell operationline 10301
echo "benchmark refresh failed (offline? no OR key?)" >&2; rm -f "$_hdr"; return 1 - Dangerous shell operationline 10303
rm -f "$_hdr"
plugins/outsourcerer/skills/outsourcerer/scripts/run-or-codex.sh
- Executable scriptline 1
#!/bin/bash - Access to secretsline 12
[Credential-related source omitted] - Access to secretsline 32
[Credential-related source omitted] - Access to secretsline 33
[Credential-related source omitted] - Access to secretsline 34
[Credential-related source omitted] - Access to secretsline 35
[Credential-related source omitted] - Access to secretsline 36
[Credential-related source omitted] - Network accessline 48
-c model_provider=openrouter -c 'model_providers.openrouter.name="OpenRouter"' -c 'model_providers.openrouter.base_url="https://openrouter.ai/api/v1"' - Network accessline 49
-c 'model_providers.openrouter.name="OpenRouter"' -c 'model_providers.openrouter.base_url="https://openrouter.ai/api/v1"' -c 'model_providers.openrouter.env_key="OPENROUTER_API_KEY"' - Network accessline 50
-c 'model_providers.openrouter.base_url="https://openrouter.ai/api/v1"' - Access to secretsline 51
[Credential-related source omitted]
plugins/outsourcerer/skills/outsourcerer/scripts/run-or-model.sh
- Executable scriptline 1
#!/bin/bash - Access to secretsline 9
[Credential-related source omitted] - Access to secretsline 20
[Credential-related source omitted] - Access to secretsline 21
[Credential-related source omitted] - Access to secretsline 22
[Credential-related source omitted] - Access to secretsline 23
[Credential-related source omitted] - Access to secretsline 24
[Credential-related source omitted] - Network accessline 28
export ANTHROPIC_BASE_URL="https://openrouter.ai/api" - Access to secretsline 29
[Credential-related source omitted] - Access to secretsline 32
[Credential-related source omitted] - Network accessline 34
cd "$WORKDIR" || exit 1 echo "==> Claude Code on OpenRouter model: $MODEL" echo "==> Endpoint: $ANTHROPIC_BASE_URL/v1/messages cwd: $WORKDIR" - Network accessline 35
echo "==> Claude Code on OpenRouter model: $MODEL" echo "==> Endpoint: $ANTHROPIC_BASE_URL/v1/messages cwd: $WORKDIR" exec claude - Network accessline 36
echo "==> Endpoint: $ANTHROPIC_BASE_URL/v1/messages cwd: $WORKDIR"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/conformance.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 24
find "$SCRIPT_DIR" -maxdepth 1 -type d \( -name '.test-*' -o -name '.conformance-run-*' \) -exec rm -rf {} + 2>/dev/null - Dangerous shell operationline 189
_home="$(mktemp -d)" || { rm -f "$out_file" 2>/dev/null; _suite_rc=127; return 127; } - Dangerous shell operationline 259
rm -f "$out_file" "$pid_file" "$expired" 2>/dev/null - Dangerous shell operationline 260
rm -rf "$_home" 2>/dev/null - Dangerous shell operationline 306
rm -rf "$_conf_tmux_dir" - Dangerous shell operationline 344
trap '_par_sweep; _conf_tmux_end; rm -rf "$_par_dir"; exit 130' INT - Dangerous shell operationline 392
rm -rf "$_par_dir" - Dangerous shell operationline 448
FIX="$(mktemp -d)"; trap 'rm -rf "$FIX"' EXIT - Access to secretsline 468
[Credential-related source omitted] - Access to secretsline 470
[Credential-related source omitted]
plugins/outsourcerer/skills/outsourcerer/scripts/tests/fake-bin/cline
- Executable scriptline 1
#!/usr/bin/env bash
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_advise.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_advise_dynamic_pool.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 19
T="$(mktemp -d)"; export OSRC_HOME="$T"; trap 'rm -rf "$T"' EXIT - Dangerous shell operationline 112
rm -f "$T/catalogs/dv.raw.json" - Dangerous shell operationline 141
rm -f "$OSRC_MODELS_JSON" "$OSRC_BENCH_JSON" - Dangerous shell operationline 166
rm -rf "$fb" "$marker"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_advise_task_shape.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_agentic_local_cert.py
- Executable scriptline 1
#!/usr/bin/env python3 - Access to secretsline 64
[Credential-related source omitted] - Network accessline 81
def _free_port(): import socket s = socket.socket(); s.bind(("127.0.0.1", 0)); p = s.getsockname()[1]; s.close(); return p - Network accessline 83
s = socket.socket(); s.bind(("127.0.0.1", 0)); p = s.getsockname()[1]; s.close(); return p - Access to secretsline 95
[Credential-related source omitted] - Network accessline 100
[Credential-related source omitted] - Access to secretsline 100
[Credential-related source omitted] - Network accessline 101
OSRC_SHIM_UPSTREAM="http://127.0.0.1:%d/v1" % mock_port, - Network accessline 108
for _ in range(40): try: urllib.request.urlopen("http://127.0.0.1:%d/health" % shim_port, timeout=1); ok = True; break - Network accessline 109
try: urllib.request.urlopen("http://127.0.0.1:%d/health" % shim_port, timeout=1); ok = True; break except Exception: - Network accessline 110
urllib.request.urlopen("http://127.0.0.1:%d/health" % shim_port, timeout=1); ok = True; break - Access to secretsline 117
[Credential-related source omitted] - Access to secretsline 119
[Credential-related source omitted] - Network accessline 124
cenv.update(ANTHROPIC_BASE_URL="http://127.0.0.1:%d" % shim_port, - Access to secretsline 125
[Credential-related source omitted]
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_autodetach.sh
- Executable scriptline 1
#!/bin/bash - Dangerous shell operationline 24
trap 'rm -rf "$TMPDIR_AD" 2>/dev/null' EXIT - Dangerous shell operationline 49
local rc; rc="$(cat "$_rcf" 2>/dev/null || echo 1)"; rm -f "$_rcf" - Dangerous shell operationline 76
local rc; rc="$(cat "$_rcf" 2>/dev/null || echo "SKIP-TTY")"; rm -f "$_rcf"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_bearings.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_bg_provider_after_verb.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_blind_turn_guard.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 23
trap 'kill "${live_pid:-}" 2>/dev/null || true; rm -rf "$FIXTURE"' EXIT - Dangerous shell operationline 152
rm -rf "$OSRC_JOBS/term-pb" - Dangerous shell operationline 166
rm -rf "$OSRC_JOBS/term-blk" - Dangerous shell operationline 177
rm -rf "$OSRC_JOBS/term-done" - Dangerous shell operationline 192
kill "$live_pid" 2>/dev/null; live_pid=""; rm -rf "$OSRC_JOBS/live-blk" - Dangerous shell operationline 212
rm -rf "$OSRC_JOBS/loc-c-new" - Dangerous shell operationline 221
rm -rf "$OSRC_JOBS/loc-fr-old" - Dangerous shell operationline 229
rm -rf "$OSRC_JOBS/loc-fr-new" - Dangerous shell operationline 241
rm -rf "$OSRC_JOBS/loc-recycled" - Dangerous shell operationline 254
rm -rf "$OSRC_JOBS/unproven-blk" - Dangerous shell operationline 272
rm -rf "$OSRC_JOBS/corrupt-$shape" - Dangerous shell operationline 293
kill "$live_pid" 2>/dev/null; live_pid=""; rm -rf "$OSRC_JOBS/recycled-pid" - Dangerous shell operationline 304
rm -rf "$OSRC_JOBS/crlf-status" - Dangerous shell operationline 307
rm -f "$SNAP"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_build_target.sh
- Executable scriptline 1
#!/usr/bin/env bash
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_catalog_validation.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_cc_devin_selfheal.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 24
eval "$(sed -n '/^_devin_model_for() {/,/^}/p' "$SRC")" - Dangerous shell operationline 25
eval "$(sed -n '/^_is_transport_failure() {/,/^}/p' "$SRC")" - Network accessline 30
real_402='API Error: 402 This request requires more credits, or fewer max_tokens. You requested up to 32000 tokens, but can only afford 9090. To increase, visit https://openrouter.ai/settings/credits and upgrade to a paid account' - Network accessline 31
_is_transport_failure "$real_402" 1 && ok "_is_transport_failure classifies the real OpenRouter 402 string" || bad "real 402 string not classified as transport failure"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_cc_model_restore.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_claudex.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_cline_lane.sh
- Executable scriptline 1
#!/usr/bin/env bash - Network accessline 4
# version-gate the --plan read-only guarantee, and dispatch correctly through a behavioral test. # # Cline (https://github.com/cline/cline) is an engine lane like droid/cursor/hermes/warp: - Network accessline 5
# # Cline (https://github.com/cline/cline) is an engine lane like droid/cursor/hermes/warp: # -m passes through VERBATIM (cline owns its provider/model catalog); billing is the user's ClinePass - Network accessline 6
# Cline (https://github.com/cline/cline) is an engine lane like droid/cursor/hermes/warp: - Dangerous shell operationline 27
trap 'rm -rf "$TMP"' EXIT - Dangerous shell operationline 172
rm -f "$CAPTURE" - Dangerous shell operationline 215
rm -f "$CAPTURE" - Dangerous shell operationline 225
rm -f "$CAPTURE" - Dangerous shell operationline 245
rm -f "$CAPTURE" - Dangerous shell operationline 271
rm -f "$CAPTURE" - Dangerous shell operationline 281
rm -f "$CAPTURE" - Dangerous shell operationline 291
rm -f "$CAPTURE" - Dangerous shell operationline 303
rm -f "$CAPTURE"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_cloud_autoisolate.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 19
trap 'rm -rf "$TMP"' EXIT - Access to secretsline 83
[Credential-related source omitted] - Access to secretsline 84
[Credential-related source omitted] - Access to secretsline 86
[Credential-related source omitted] - Dangerous shell operationline 104
rm -f "$XDG_CONFIG_HOME/outsourcerer/trusted-lanes.json"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_cloud_gate.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 30
cleanup() { rm -rf "$TMP" "$OSRC_HOME"; } - Dangerous shell operationline 38
out="$( ( cd "$TMP"; unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; _cloud_disclose "local" "llama3" "do thing" ) 2>&1 )" - Dangerous shell operationline 43
out="$( ( cd "$TMP"; unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; _cloud_disclose "ccor" "gpt-4o" "summarize repo" ) </dev/null 2>&1 )"; rc=$? - Access to secretsline 53
[Credential-related source omitted] - Access to secretsline 55
[Credential-related source omitted] - Dangerous shell operationline 56
out="$( ( cd "$TMP/envscope"; unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; OSRC_CLOUD_ACK=1; _cloud_disclose "ccor" "gpt-4o" "task" ) 2>&1 )"; rc=$? - Access to secretsline 57
[Credential-related source omitted] - Access to secretsline 58
[Credential-related source omitted] - Access to secretsline 62
[Credential-related source omitted] - Dangerous shell operationline 63
out="$( ( cd "$TMP/deepscope"; unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; OSRC_CLOUD_ACK=1; _cloud_disclose "ccor" "gpt-4o" "task" ) 2>&1 )"; rc=$? - Access to secretsline 64
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted] - Dangerous shell operationline 72
rm -rf "$TMP/envscope" "$TMP/deepscope" - Access to secretsline 107
[Credential-related source omitted] - Dangerous shell operationline 124
( unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; _bg_cloud_preack run -m glm "task" </dev/null >/dev/null 2>&1 ) - Dangerous shell operationline 128
( unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; PROVIDER=local; _bg_cloud_preack run -m ollama:llama3 "task" </dev/null >/dev/null 2>&1 ) - Dangerous shell operationline 137
rm -f "$TMP/launched" - Dangerous shell operationline 138
( cd "$TMP"; unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; cmd_bg run -m glm "task" </dev/null >/dev/null 2>&1 ); rc=$? - Dangerous shell operationline 141
rm -f "$TMP/launched" - Dangerous shell operationline 142
out="$( cd "$TMP"; unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; cmd_bg run --cloud-ack -m glm "task" </dev/null 2>/dev/null )"; rc=$? - Dangerous shell operationline 148
( unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; _bg_cloud_preack run -m glm --cloud-ack "task" </dev/null >/dev/null 2>&1 ) - Dangerous shell operationline 150
( unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; _bg_cloud_preack run -m glm -- --cloud-ack </dev/null >/dev/null 2>&1 ) - Dangerous shell operationline 153
( unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; _bg_cloud_preack run -m glm "just do the thing" </dev/null >/dev/null 2>&1 ) - Access to secretsline 165
[Credential-related source omitted] - Dangerous shell operationline 166
out="$( ( cd "$TMP/bogusdepth"; unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; OSRC_CLOUD_ACK=1 OSRC_SECRET_SCAN_DEPTH=bogus _cloud_disclose "ccor" "gpt-4o" "task" ) 2>&1 )"; rc=$? - Access to secretsline 167
[Credential-related source omitted] - Dangerous shell operationline 168
rm -rf "$TMP/bogusdepth" - Dangerous shell operationline 173
( cd "$TMP/permnoise"; unset OSRC_CLOUD_ACK OSRC_CLOUD_ACKED; rm -f "$OSRC_HOME/cloud-consent"; OSRC_CLOUD_ACK=1 _cloud_disclose "ccor" "gpt-4o" "task" ) >/dev/null 2>&1; rc=$? - Dangerous shell operationline 176
rm -rf "$TMP/permnoise" - Dangerous shell operationline 185
rm -f "$OSRC_HOME/cloud-consent" - Access to secretsline 190
[Credential-related source omitted] - Dangerous shell operationline 193
rm -f "$OSRC_HOME/cloud-consent" - Dangerous shell operationline 196
rm -f "$OSRC_HOME/cloud-consent"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_cloud_gate_coverage.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_codex_code_mode_host.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_codex_windows_sandbox.sh
- Executable scriptline 1
#!/bin/bash - Dangerous shell operationline 23
cleanup() { rm -rf "$TMP"; } - Dangerous shell operationline 49
cfg $'[windows]\nsandbox = "elevated; rm -rf /"\n' - Network accessline 56
cfg $'[windows]\nsandbox_private_desktop = true\n' eq "sandbox_private_desktop is not sandbox" "$(read1)" "" cfg $'[mcp_servers.x]\ncommand = "evil"\n[model_providers.p]\nbase_url = "http://x"\n[windows]\nsandbox = "elevated"\n' - Network accessline 57
eq "sandbox_private_desktop is not sandbox" "$(read1)" "" cfg $'[mcp_servers.x]\ncommand = "evil"\n[model_providers.p]\nbase_url = "http://x"\n[windows]\nsandbox = "elevated"\n' eq "nothing else re-imported" "$(read1)" "sandbox=elevated" - Network accessline 58
cfg $'[mcp_servers.x]\ncommand = "evil"\n[model_providers.p]\nbase_url = "http://x"\n[windows]\nsandbox = "elevated"\n' - Dangerous shell operationline 74
rm -f "$CH/config.toml" - Dangerous shell operationline 82
rm -rf "$HOME/.codex"; mkdir -p "$TMP/up/.codex"; printf '[windows]\nsandbox = "elevated"\n' > "$TMP/up/.codex/config.toml" - Dangerous shell operationline 94
rm -f "$CH/config.toml"; _codex_win_sandbox_args
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_conformance_suite_timeout.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 25
eval "$(sed -n '/^'"${fn}"'() {/,/^}/p' "$CONF")" - Dangerous shell operationline 32
cleanup() { rm -rf "$TMP"; } - Dangerous shell operationline 40
case "$KTBODY" in _suite_kill_tree_impl*) eval "$KTBODY" ;; *) echo "FAIL: could not rename _suite_kill_tree for recording"; exit 1 ;; esac - Dangerous shell operationline 69
rm -f "$TMP/rep" - Dangerous shell operationline 328
rm -f "$TMP/mk-ran"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_copilot.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_cost_disclosure.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_delegate_attribution.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_detection.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_devin_alias_resolution.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_devin_catalog_free_tier.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_devin_edit_note.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_devin_free_guard.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 16
trap 'rm -rf "$TEST_ROOT"' EXIT - Dangerous shell operationline 25
eval "$(sed -n '/^_mtime() {/,/^}/p' "$SRC")" - Dangerous shell operationline 26
eval "$(sed -n '/^_timeout() {/,/^}/p' "$SRC")" - Dangerous shell operationline 27
eval "$(sed -n '/^_devin_elapsed_secs() {/,/^}/p' "$SRC")" - Dangerous shell operationline 28
eval "$(sed -n '/^_devin_pid_descends_from() {/,/^}/p' "$SRC")" - Dangerous shell operationline 29
eval "$(sed -n '/^_devin_pid_owned_by_live_job() {/,/^}/p' "$SRC")" - Dangerous shell operationline 30
eval "$(sed -n '/^_pid_start_valid() {/,/^}/p' "$SRC")" - Dangerous shell operationline 31
eval "$(sed -n '/^_pid_start_identity() {/,/^}/p' "$SRC")" - Dangerous shell operationline 32
eval "$(sed -n '/^_pid_start_projection() {/,/^}/p' "$SRC")" - Dangerous shell operationline 33
eval "$(sed -n '/^_pid_start_file_match() {/,/^}/p' "$SRC")" - Dangerous shell operationline 34
eval "$(sed -n '/^_devin_pid_owned_by_dead_job() {/,/^}/p' "$SRC")" - Dangerous shell operationline 35
eval "$(sed -n '/^_devin_process_rows() {/,/^}/p' "$SRC")" - Dangerous shell operationline 36
eval "$(sed -n '/^_devin_orphan_pids() {/,/^}/p' "$SRC")" - Dangerous shell operationline 37
eval "$(sed -n '/^_devin_zombie_preflight() {/,/^}/p' "$SRC")" - Dangerous shell operationline 38
eval "$(sed -n '/^_devin_is_free_model() {/,/^}/p' "$SRC")" - Dangerous shell operationline 39
eval "$(sed -n '/^_devin_free_own_quota() {/,/^}/p' "$SRC")" - Dangerous shell operationline 40
eval "$(sed -n '/^_devin_probe_classify() {/,/^}/p' "$SRC")" - Dangerous shell operationline 41
eval "$(sed -n '/^_devin_probe_pick() {/,/^}/p' "$SRC")" - Dangerous shell operationline 42
eval "$(sed -n '/^_devin_free_probe() {/,/^}/p' "$SRC")" - Dangerous shell operationline 113
rm -rf "$OSRC_JOBS/live-job" - Dangerous shell operationline 151
eval "$(sed -n '/^_pid_start_file_match() {/,/^}/p' "$SRC")" - Dangerous shell operationline 241
rm -rf "$OSRC_JOBS/ow-fr" - Dangerous shell operationline 252
rm -rf "$OSRC_JOBS/ow-c" - Dangerous shell operationline 260
rm -rf "$OSRC_JOBS/ow-rec"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_devin_grant_lock_share.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 32
TD="$(mktemp -d "${TMPDIR:-/tmp}/osrc-glock.XXXXXX")" || { echo "FAIL: mktemp"; exit 1; }; trap 'rm -rf "$TD"' EXIT - Dangerous shell operationline 59
rm -rf "$SKH"; rm -f "$TD"/held-* "$TD"/release-* - Dangerous shell operationline 85
rm -f "$TD"/held-* "$TD"/release-* - Dangerous shell operationline 102
rm -rf "$SKH"; mkdir -p "$LOCK/holders" - Dangerous shell operationline 111
rm -rf "$SKH"; mkdir -p "$LOCK/holders" - Dangerous shell operationline 119
rm -rf "$SKH" "$LOCK.mx"; mkdir -p "$SKH" "$LOCK.mx" - Dangerous shell operationline 123
rm -rf "$SKH"; mkdir -p "$LOCK"; touch -t 202601010000 "$LOCK" - Dangerous shell operationline 126
rm -rf "$SKH"; mkdir -p "$LOCK" - Dangerous shell operationline 130
rm -rf "$SKH" - Dangerous shell operationline 133
rm -rf "$SKH"; rm -f "$TD"/held-* "$TD"/release-* - Dangerous shell operationline 154
QUEUED='touch "$1/lockwait"; sleep 6; rm -f "$1/lockwait"; echo "hello from the model"; sleep 1; echo "OSRC::DONE"' - Dangerous shell operationline 167
rm -rf "$SKH"; rm -f "$TD"/held-* "$TD"/release-* - Dangerous shell operationline 184
rm -rf "$SKH"; mkdir -p "$LOCK" - Dangerous shell operationline 196
rm -rf "$SKH"; rm -f "$TD"/held-* "$TD"/release-* "$TD"/reenter - Dangerous shell operationline 223
rm -rf "$SKH" - Dangerous shell operationline 244
rm -rf "$SKH" - Dangerous shell operationline 268
rm -rf "$SKH"; mkdir -p "$TD/err"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_devin_liveness.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_devin_org_policy_posture.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_devin_plan_quota.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 18
cleanup() { rm -rf "$TMP"; }; trap cleanup EXIT - Network accessline 25
FX="$TMP/fx"; mkdir -p "$FX" printf 'Error: Your daily usage quota has been exhausted. It resets in 11h26m. See https://app.devin.ai/settings/usage\n' > "$FX/daily" - Network accessline 26
printf 'Error: Your daily usage quota has been exhausted. It resets in 11h26m. See https://app.devin.ai/settings/usage\n' > "$FX/daily" - Network accessline 136
printf '%s' "$_adv" | grep -qE 'swe-1-7|kimi-k3|-m swe|-m kimi' && bad "structure: plan-quota advice names a Devin plan model" || ok "structure: plan-quota advice names no Devin plan model" grep -q 'Check Devin.*own plan with: devin usage' - Network accessline 138
grep -q 'https://app.devin.ai/settings/usage' "$SRC" && ok "hint: dashboard URL is the pointer" || bad "hint: dashboard URL missing"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_devin_plan_quota_probe.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 20
cleanup() { rm -rf "$TMP"; }; trap cleanup EXIT - Network accessline 39
[ -n "${FAKE_DEVIN_SLEEP:-}" ] && sleep "$FAKE_DEVIN_SLEEP" if [ -f "$FAKE_DEVIN_REFUSE" ] && grep -qx -- "$m" "$FAKE_DEVIN_REFUSE"; then printf 'Error: Your daily usage quota has been exhausted. It resets in 11h26m. See https://app.devin - Network accessline 40
if [ -f "$FAKE_DEVIN_REFUSE" ] && grep -qx -- "$m" "$FAKE_DEVIN_REFUSE"; then printf 'Error: Your daily usage quota has been exhausted. It resets in 11h26m. See https://app.devin.ai/settings/usage\n' >&2 exit 1 - Network accessline 41
printf 'Error: Your daily usage quota has been exhausted. It resets in 11h26m. See https://app.devin.ai/settings/usage\n' >&2 - Network accessline 57
FX="$TMP/fx"; mkdir -p "$FX" printf 'Error: Your daily usage quota has been exhausted. It resets in 11h26m. See https://app.devin.ai/settings/usage\n' > "$FX/daily" - Network accessline 58
printf 'Error: Your daily usage quota has been exhausted. It resets in 11h26m. See https://app.devin.ai/settings/usage\n' > "$FX/daily"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_devin_printmode_hang.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_devin_tls_diagnostics.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 18
cleanup() { rm -rf "$TMP"; } - Dangerous shell operationline 103
rm -f "$HOME/.local/share/devin/cli/logs"/devin_*.log - Dangerous shell operationline 110
rm -rf "$HOME/.local/share/devin" - Dangerous shell operationline 155
rm -f "$HOME/.local/share/devin/cli/logs"/devin_*.log - Dangerous shell operationline 175
sig_err="$(cat /tmp/rr_sig 2>/dev/null)"; rm -f /tmp/rr_sig - Dangerous shell operationline 179
sig_logs_err="$(cat /tmp/rl_sig 2>/dev/null)"; rm -f /tmp/rl_sig
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_droid_session.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_endpoint_mutation_lock.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_escalation_classify.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 15
cleanup() { rm -rf "$TMP"; } - Access to secretsline 55
[Credential-related source omitted] - Access to secretsline 56
[Credential-related source omitted] - Network accessline 67
'context length exceeded' 'connection timed out' 'error sending request for url (https://openrouter.ai/api/v1/responses)' - Network accessline 68
'connection timed out' 'error sending request for url (https://openrouter.ai/api/v1/responses)' 'stream disconnected before completion' - Network accessline 69
'error sending request for url (https://openrouter.ai/api/v1/responses)' - Network accessline 121
'code 503 must remain an application-level response' 'operation timed out regression test failed' # not 'operation timed out after' / no curl 'socket hang up test failed' # not line-anchored ' - Network accessline 122
'operation timed out regression test failed' # not 'operation timed out after' / no curl 'socket hang up test failed' # not line-anchored 'socket hang up$' 'could not resolve host test case mu - Dangerous shell operationline 144
rm -f "$HOME/.claude_call_count"; export CLAU_ERR_1='HTTP 429 rate limit' CLAU_RC_1=1 - Dangerous shell operationline 153
rm -f "$HOME/.claude_call_count"; export CLAU_ERR_1='npm test failed' CLAU_RC_1=1 - Dangerous shell operationline 162
rm -f "$HOME/.claude_call_count"; export CLAU_ERR_1='Authentication required: 401' CLAU_RC_1=1 - Dangerous shell operationline 171
rm -f "$HOME/.claude_call_count"; export CLAU_ERR_1='model_not_found: unknown model' CLAU_RC_1=1 - Dangerous shell operationline 181
rm -f "$HOME/.claude_call_count"; export CLAU_ERR_1='' CLAU_RC_1=1 - Dangerous shell operationline 190
rm -f "$HOME/.claude_call_count"; export CLAU_ERR_1='' CLAU_RC_1=1 - Dangerous shell operationline 199
rm -f "$HOME/.codex_call_count"; export CODEX_ERR_1='HTTP 429 rate limit' CODEX_RC_1=1 - Dangerous shell operationline 208
rm -f "$HOME/.codex_call_count"; export CODEX_ERR_1='npm test failed' CODEX_RC_1=1 - Dangerous shell operationline 218
rm -f "$HOME/.codex_call_count"; export CODEX_ERR_1='HTTP 403 Forbidden' CODEX_RC_1=1 - Dangerous shell operationline 227
rm -f "$HOME/.codex_call_count"; export CODEX_ERR_1='model_not_found: no such model' CODEX_RC_1=1 - Dangerous shell operationline 236
rm -f "$HOME/.codex_call_count"; export CODEX_ERR_1='' CODEX_RC_1=1 - Access to secretsline 247
[Credential-related source omitted]
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_exit_trap_chain.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 3
# A caller that arms `trap 'rm -rf "$fixture"' EXIT` before sourcing outsourcerer.sh must - Dangerous shell operationline 22
trap 'rm -rf "$BASE"' EXIT - Dangerous shell operationline 38
*) trap "rm -rf \"$sb/fx\"; echo fired >> \"$sb/count\"" EXIT ;; - Dangerous shell operationline 60
fx_gone "$SB" && ok "chain: caller's rm -rf fixture fired" || bad "chain: fixture leaked at $SB/fx" - Dangerous shell operationline 77
exp='trap -- '"'"'if [ "${BASH_SUBSHELL:-0}" -eq 0 ]; then _devin_skills_lock_release 2>/dev/null; rm -f "$OSRC_HOME/with-mcp-$$.json" "$OSRC_HOME/.hdr.$$."* 2>/dev/null; fi'"'"' EXIT'
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_explain.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_external_send_opt_in.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_external_sessions.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_factory_e2e.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_factory_exclude.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 14
trap 'rm -rf "$TMP"' EXIT - Dangerous shell operationline 31
lib() { OSRC_SOURCED=1 bash -c 'src="$1"; code="$2"; set --; . "$src" >/dev/null 2>&1; eval "$code"' bash "$SRC" "$1"; } - Dangerous shell operationline 33
# ---------------------------------------------------------------- CLI: add / ls / rm / clear - Dangerous shell operationline 48
out="$(run exclude rm OPUS 2>&1)" - Dangerous shell operationline 49
grep -qx opus "$OSRC_HOME/exclude" && bad "rm left the entry: $out" || { grep -qx fable "$OSRC_HOME/exclude" && ok "exclude rm removes one entry (case-insensitive) and keeps the rest" || bad "rm dropped other entries"; } - Dangerous shell operationline 50
out="$(OSRC_EXCLUDE_MODELS=sol run exclude rm sol 2>&1)" - Dangerous shell operationline 51
printf '%s' "$out" | grep -q 'still excluded by the OSRC_EXCLUDE_MODELS' && ok "exclude rm warns when the env var still excludes it" || bad "rm env note: $out" - Dangerous shell operationline 90
if [ "$rc" != 0 ] && printf '%s' "$o" | grep -q "you excluded" && printf '%s' "$o" | grep -q 'exclude rm fable' && [ ! -s "$CALLS" ]; then - Dangerous shell operationline 191
xh() { local d="$TMP/xh-$1"; rm -rf "$d"; mkdir -p "$d"; printf '%s' "$d"; } - Dangerous shell operationline 296
sx() { OSRC_SOURCED=1 bash -c '. "$1" >/dev/null 2>&1; eval "$2"' bash "$SRC" "$1" 2>&1; }
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_factory_flow.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 19
trap 'for p in $SLEEPERS; do kill "$p" 2>/dev/null; done; rm -rf "$TMP"' EXIT - Dangerous shell operationline 218
rm -f "$TMP/landed"; _ff_reconcile pendingland >/dev/null - Dangerous shell operationline 340
rm -f "$TMP/landed" "$TMP/landargs" "$TMP/donechecks" - Dangerous shell operationline 382
rm -f "$TMP/donefail-t2" - Dangerous shell operationline 385
rm -f "$TMP"/outcomes/* - Dangerous shell operationline 418
rm -f "$TMP/dispatch-refuse-t1" - Dangerous shell operationline 425
rm -f "$TMP"/outcomes/* "$TMP/landed" - Dangerous shell operationline 477
rm -f "$TMP"/outcomes/* - Dangerous shell operationline 488
rm -f "$TMP/landed" - Dangerous shell operationline 533
rm -f "$TMP"/outcomes/* "$TMP/landed" "$TMP/launches" - Dangerous shell operationline 544
rm -f "$TMP/slow-c1-t1" - Dangerous shell operationline 580
for j in $(_task_list l1 | jq -r '.[] | .job | select(. != "")'); do echo done > "$OSRC_JOBS/$j/status"; done; rm -f "$TMP/outcomes/t1" - Dangerous shell operationline 603
rm -f "$TMP/landed" - Dangerous shell operationline 608
rm -f "$TMP/landed" - Dangerous shell operationline 616
rm -f "$TMP/landed" - Dangerous shell operationline 629
rm -f "$TMP/landed" - Dangerous shell operationline 637
rm -f "$TMP/lasttxt-t5"; setlt v2 t5 "VERDICT: PASS" 3 - Dangerous shell operationline 647
( cmd_task done t5 --force --plan v3 >/dev/null 2>&1 ); rm -f "$TMP/landed" - Dangerous shell operationline 671
( cmd_plan_run vd11 --interval 1 >/dev/null 2>&1 ); rm -f "$TMP/nolast-t1" - Dangerous shell operationline 714
rm -f "$TMP/outcomes/t1" - Dangerous shell operationline 719
unset -f _model_excluded; rm -f "$TMP/outcomes/t1" - Dangerous shell operationline 724
rm -f "$TMP/landfail-t1" - Dangerous shell operationline 732
_task_update ls1 t6 '.state = "running" | .land_attempts = 1' >/dev/null; rm -f "$TMP/landed" - Dangerous shell operationline 742
touch "$TMP/landfail-t4"; rm -f "$TMP/landed" - Dangerous shell operationline 746
rm -f "$TMP/landfail-t4"; ( cmd_task release t6 --plan ls3 --answer "land again" >/dev/null 2>&1 ) - Dangerous shell operationline 758
mkplan tc 't1||scout|1'; rm -f "$TMP/count-tc-t1" - Dangerous shell operationline 775
out="$( cmd_plan_run mg --interval 1 2>&1 )"; rm -f "$TMP/outcomes/t1" - Dangerous shell operationline 794
for j in $(_task_list gt1 | jq -r '.[] | .job | select(. != "")'); do echo done > "$OSRC_JOBS/$j/status"; done; rm -f "$TMP/outcomes/t3" - Dangerous shell operationline 804
: > "$TMP/donechecks"; rm -f "$TMP/landed" - Dangerous shell operationline 826
rm -f "$TMP/landargs" - Dangerous shell operationline 831
rm -f "$TMP/landargs"; mkplan su2 't1||ship|1' - Dangerous shell operationline 834
unset -f _land_usage; rm -f "$TMP/landargs"; mkplan su3 't1||ship|1'
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_factory_land.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 20
trap 'rm -rf "$TMP"' EXIT - Network accessline 254
#!/usr/bin/env bash printf '%s\n' "\$*" > "$TMP/gh.args" echo "https://github.com/example/repo/pull/7" - Network accessline 255
printf '%s\n' "\$*" > "$TMP/gh.args" echo "https://github.com/example/repo/pull/7" EOF - Network accessline 256
echo "https://github.com/example/repo/pull/7" - Network accessline 262
[ "$rc" = 0 ] && [ "$(git -C "$TMP/origin.git" rev-parse refs/heads/outsourcerer/j-t16 2>/dev/null)" = "$h16" ] \ && grep -q -- '--base main' "$TMP/gh.args" && grep -q -- '--head outsourcerer/j-t16' "$TMP/gh.args" \ && [ "$(tfield t16 . - Network accessline 263
&& grep -q -- '--base main' "$TMP/gh.args" && grep -q -- '--head outsourcerer/j-t16' "$TMP/gh.args" \ && [ "$(tfield t16 .pr)" = "https://github.com/example/repo/pull/7" ] && [ "$(git -C "$REPO" rev-parse main)" = "$m" ] \ && [ "$(efiel - Network accessline 264
&& [ "$(tfield t16 .pr)" = "https://github.com/example/repo/pull/7" ] && [ "$(git -C "$REPO" rev-parse main)" = "$m" ] \ - Dangerous shell operationline 326
rm -rf "$REPO/local.cfg" "$REPO/notes" - Access to secretsline 360
[Credential-related source omitted] - Dangerous shell operationline 365
mk_task t29 ship "" "remove leak"; git -C "$(wt_of t29)" rm -q leak.txt; git -C "$(wt_of t29)" commit -qm "remove leaked key" - Dangerous shell operationline 380
[Credential-related source omitted] - Access to secretsline 382
[Credential-related source omitted] - Dangerous shell operationline 448
[Credential-related source omitted] - Dangerous shell operationline 477
[Credential-related source omitted] - Network accessline 502
[Credential-related source omitted] - Network accessline 503
[Credential-related source omitted] - Network accessline 504
[Credential-related source omitted] - Dangerous shell operationline 511
[Credential-related source omitted]
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_factory_pstack.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_factory_tasks.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 21
trap 'rm -rf "$TMP"' EXIT - Dangerous shell operationline 28
check() { if eval "$2"; then ok "$1"; else bad "$1"; fi; } - Network accessline 255
check "a done check that writes the task itself (track C style) does not deadlock and is honored" \ "[ $rc -eq 0 ] && [ \"\$(jq -r '.state + \"|\" + .evidence + \"|\" + .head_sha' \"$OSRC_HOME/plans/alpha/tasks/$t5.json\")\" = 'done|/x/ev - Network accessline 256
"[ $rc -eq 0 ] && [ \"\$(jq -r '.state + \"|\" + .evidence + \"|\" + .head_sha' \"$OSRC_HOME/plans/alpha/tasks/$t5.json\")\" = 'done|/x/evidence.json|feed' ]" L "_task_update alpha $t5 '.state = \"running\" | .landed = true | .landed_into = - Network accessline 257
L "_task_update alpha $t5 '.state = \"running\" | .landed = true | .landed_into = \"main\" | .landed_sha = \"0123456789abcdef\" | .pr = \"https://example.invalid/pr/1\"'" - Network accessline 258
out="$(O task show "$t5" 2>&1)" check "task show displays landed status and PR when track C set them" \ "printf '%s' \"\$out\" | grep -q 'landed: yes into main at 0123456789ab' && printf '%s' \"\$out\" | grep -q 'pr: https://examp - Network accessline 259
check "task show displays landed status and PR when track C set them" "printf '%s' \"\$out\" | grep -q 'landed: yes into main at 0123456789ab' && printf '%s' \"\$out\" | grep -q 'pr: https://example.invalid/pr/1'" - Network accessline 260
"printf '%s' \"\$out\" | grep -q 'landed: yes into main at 0123456789ab' && printf '%s' \"\$out\" | grep -q 'pr: https://example.invalid/pr/1'" - Dangerous shell operationline 297
# ---- plan rm / plan run delegation - Dangerous shell operationline 299
out="$(O plan rm alpha 2>&1)"; rc=$? - Dangerous shell operationline 300
check "plan rm refuses while work is underway" "[ $rc -ne 0 ] && printf '%s' \"\$out\" | grep -q 'still has work underway'" - Dangerous shell operationline 301
O plan rm beta >/dev/null 2>&1 - Dangerous shell operationline 302
check "plan rm removes an idle plan" "[ ! -d \"$OSRC_HOME/plans/beta\" ]" - Dangerous shell operationline 347
rm -rf "$NOGIT" - Dangerous shell operationline 431
rm -rf "$LK" - Network accessline 606
local b r; b="$(_task_new r3 '{"title":"build","shape":"ship"}')" _task_update r3 "$b" '.state="done" | .head_sha="feedface"' || exit 1 r="$(_task_new r3 "$(jq -nc --arg b "$b" '{title:"review",deps:[$b]}')")" - Network accessline 607
_task_update r3 "$b" '.state="done" | .head_sha="feedface"' || exit 1 r="$(_task_new r3 "$(jq -nc --arg b "$b" '{title:"review",deps:[$b]}')")" _task_update r3 "$r" '.state="running" | .require_verdict=true' || exit 1 - Network accessline 608
r="$(_task_new r3 "$(jq -nc --arg b "$b" '{title:"review",deps:[$b]}')")" - Dangerous shell operationline 705
OSRC_PLAN_LOCK_TRIES=1 O plan rm locked-rm >/dev/null 2>&1 - Dangerous shell operationline 834
command rm "$@" - Dangerous shell operationline 836
(cmd_plan rm remove-atomic) >/dev/null 2>&1 || exit 1
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_failover_pick.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 21
cleanup() { rm -rf "$TMP"; }; trap cleanup EXIT - Dangerous shell operationline 32
rmc() { for c in "$@"; do rm -f "$FB/$c"; done; hash -r; } # hash -r: bash caches lookups, a removed fake would still read as present - Access to secretsline 33
[Credential-related source omitted] - Access to secretsline 54
[Credential-related source omitted] - Access to secretsline 131
[Credential-related source omitted]
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_fanout_json.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_feature_fixes.sh
- Executable scriptline 1
#!/usr/bin/env bash - Access to secretsline 4
[Credential-related source omitted] - Dangerous shell operationline 12
TMP="$(mktemp -d "${TMPDIR:-/tmp}/osrc-fixes.XXXXXX")"; trap 'rm -rf "$TMP"' EXIT - Network accessline 46
[Credential-related source omitted] - Access to secretsline 46
[Credential-related source omitted] - Network accessline 47
[Credential-related source omitted] - Network accessline 48
check_redacted "HTTP Basic-Auth URL" "db at https://admin:hunter2pw@h.example/x" "admin:hunter2pw" - Network accessline 58
[Credential-related source omitted] - Access to secretsline 58
[Credential-related source omitted]
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_fg_guard_forgery.sh
- Executable scriptline 1
#!/usr/bin/env bash
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_fleet_cc_peers.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 7
trap 'rm -rf "$FIXTURE"' EXIT - Dangerous shell operationline 44
rm -f "$OSRC_CLAUDE_SESSIONS_DIR"/*.json - Access to secretsline 49
[Credential-related source omitted] - Dangerous shell operationline 55
rm -f "$OSRC_CLAUDE_SESSIONS_DIR"/*.json - Dangerous shell operationline 63
eval "$saved_pid_start_identity" - Access to secretsline 64
[Credential-related source omitted] - Access to secretsline 66
[Credential-related source omitted] - Dangerous shell operationline 68
rm -f "$OSRC_CLAUDE_SESSIONS_DIR"/*.json - Dangerous shell operationline 152
rm -f "$FIXTURE/claude-called" - Network accessline 190
candidates="$(jq -nc 'range(0;25) | {session_id:("candidate-" + tostring),state:"idle"}' | _fleet_show_candidates)"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_fleet_names.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 41
trap 'kill "${live_pid:-}" 2>/dev/null || true; rm -rf "$FIXTURE"' EXIT - Dangerous shell operationline 65
eval "$saved_have" - Dangerous shell operationline 120
rm -f "$model_marker" - Dangerous shell operationline 166
rm -f "$model_marker" - Dangerous shell operationline 185
eval "$real_fleet_name_model" - Dangerous shell operationline 193
eval "$saved_have"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_fleet_states.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_gemini_catalog.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 27
TMP="$(mktemp -d)"; trap 'rm -rf "$TMP"' EXIT - Dangerous shell operationline 105
rm -f "$OSRC_HOME/models.local" - Dangerous shell operationline 128
grep -q 'rm -f "$(_catalog_path gm)"' "$SRC" && ok "a refused model drops the cached catalog so the next run re-reads agy models" || bad "refused model does not invalidate the gm cache"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_gemini_effort_retry.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_gemini_lane.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_grokbot_lane.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 13
trap '[ -n "$SRV" ] && kill "$SRV" 2>/dev/null; rm -rf "$TMP"' EXIT - Dangerous shell operationline 55
start_bot() { rm -f "$TMP/port"; python3 "$TMP/bot.py" "$TMP" "$1" "$2" 2>"$TMP/bot.err" & SRV=$! - Network accessline 58
stop_bot() { kill "$SRV" 2>/dev/null; wait "$SRV" 2>/dev/null; SRV=""; } gb() { ( cd "$TMP/work" && OSRC_CLOUD_ACK=1 OSRC_NO_AUTODETACH=1 OSRC_GROKBOT_POLL=1 OSRC_GROKBOT_TIMEOUT="${TO:-30}" \ GROKBOT_WEBHOOK_URL="http://127.0.0.1: - Network accessline 59
gb() { ( cd "$TMP/work" && OSRC_CLOUD_ACK=1 OSRC_NO_AUTODETACH=1 OSRC_GROKBOT_POLL=1 OSRC_GROKBOT_TIMEOUT="${TO:-30}" GROKBOT_WEBHOOK_URL="http://127.0.0.1:$(cat "$TMP/port")/hook" GROKBOT_WEBHOOK_KEY="${KEYUSE:-crsr_test}" - Network accessline 60
GROKBOT_WEBHOOK_URL="http://127.0.0.1:$(cat "$TMP/port")/hook" GROKBOT_WEBHOOK_KEY="${KEYUSE:-crsr_test}" \ - Network accessline 95
out="$( cd "$TMP/work" && OSRC_CLOUD_ACK=1 OSRC_NO_AUTODETACH=1 GROKBOT_WEBHOOK_URL= GROKBOT_WEBHOOK_KEY= "$SRC" --provider grokbot run "x" 2>&1 )"; rc=$? [ "$rc" -ne 0 ] && printf '%s' "$out" | grep -q "GROKBOT_WEBHOOK_URL" && ok "missing - Network accessline 96
[ "$rc" -ne 0 ] && printf '%s' "$out" | grep -q "GROKBOT_WEBHOOK_URL" && ok "missing setup names the two settings" || no "missing setup rc=$rc" out="$( cd "$TMP/work" && OSRC_CLOUD_ACK=1 OSRC_NO_AUTODETACH=1 GROKBOT_WEBHOOK_URL=http://examp - Network accessline 97
out="$( cd "$TMP/work" && OSRC_CLOUD_ACK=1 OSRC_NO_AUTODETACH=1 GROKBOT_WEBHOOK_URL=http://example.com/h GROKBOT_WEBHOOK_KEY=k "$SRC" --provider grokbot run "x" 2>&1 )"; rc=$?
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_hardening.sh
- Executable scriptline 1
#!/usr/bin/env bash - Access to secretsline 2
[Credential-related source omitted] - Dangerous shell operationline 18
cleanup() { rm -rf "$TMP"; } - Dangerous shell operationline 33
rm -f "$PWNED" - Access to secretsline 38
[Credential-related source omitted] - Access to secretsline 42
[Credential-related source omitted] - Access to secretsline 43
[Credential-related source omitted] - Access to secretsline 46
[Credential-related source omitted] - Access to secretsline 47
[Credential-related source omitted] - Access to secretsline 51
[Credential-related source omitted] - Access to secretsline 52
[Credential-related source omitted] - Access to secretsline 53
[Credential-related source omitted] - Access to secretsline 55
[Credential-related source omitted] - Access to secretsline 58
[Credential-related source omitted] - Access to secretsline 59
[Credential-related source omitted] - Access to secretsline 63
[Credential-related source omitted] - Access to secretsline 64
[Credential-related source omitted] - Access to secretsline 65
[Credential-related source omitted] - Dangerous shell operationline 71
if grep -q 'with-mcp-.*\$\$' "$SRC" && grep -q 'rm -f .*with-mcp' "$SRC" && grep -qE 'trap .*rm -f .*with-mcp.* EXIT|trap .*_osrc_engine_exit.* EXIT' "$SRC"; then ok "mcp temp file has an EXIT trap rm"; else bad "mcp temp file missing EXIT
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_harness_isolation.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_heartbeat_arm_liveness.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 43
trap 'rm -rf "$TMP"' EXIT - Access to secretsline 68
[Credential-related source omitted] - Dangerous shell operationline 184
rm -rf "$OSRC_HEARTBEAT/leader" 2>/dev/null || true # clean slate: no claim from earlier blocks - Dangerous shell operationline 225
rm -rf "$OSRC_HEARTBEAT/leader" 2>/dev/null || true # no leader claim may leak in from earlier blocks - Dangerous shell operationline 306
rm -rf "$OSRC_HEARTBEAT/leader" 2>/dev/null || true - Dangerous shell operationline 337
rm -rf "$OSRC_HEARTBEAT/leader" 2>/dev/null || true - Dangerous shell operationline 386
rm -rf "$OSRC_HEARTBEAT/leader" 2>/dev/null || true - Access to secretsline 400
[Credential-related source omitted] - Dangerous shell operationline 405
rm -rf "$OSRC_HEARTBEAT/leader" 2>/dev/null || true - Dangerous shell operationline 439
rm -rf "$OSRC_HEARTBEAT/leader" 2>/dev/null || true - Dangerous shell operationline 462
rm -rf "$OSRC_HEARTBEAT/leader" 2>/dev/null || true - Dangerous shell operationline 479
rm -rf "$OSRC_HEARTBEAT/leader" 2>/dev/null || true
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_heartbeat_autoarm.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_heartbeat_human.sh
- Executable scriptline 1
#!/usr/bin/env bash
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_heartbeat_immortal_beacon.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_heartbeat_ownership.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 11
trap 'rm -rf "$TEST_TMP"' EXIT - Dangerous shell operationline 67
rm -rf "$OSRC_HEARTBEAT/leader" "$OSRC_HEARTBEAT/.election" - Dangerous shell operationline 76
rm -rf "$OSRC_HEARTBEAT/leader" "$OSRC_HEARTBEAT/.election" - Dangerous shell operationline 102
rm -rf "$OSRC_HEARTBEAT/leader" "$OSRC_HEARTBEAT/.election" - Access to secretsline 108
[Credential-related source omitted] - Access to secretsline 109
[Credential-related source omitted] - Access to secretsline 113
[Credential-related source omitted] - Dangerous shell operationline 122
rm -rf "$OSRC_HEARTBEAT/leader" "$OSRC_HEARTBEAT/.election" - Dangerous shell operationline 148
rm -rf "$OSRC_HEARTBEAT/leader" "$OSRC_HEARTBEAT/.election"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_heartbeat_rearm_command.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_heartbeat_reclaim.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_heartbeat_single_instance.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 24
trap 'rm -rf "$TMP"' EXIT - Dangerous shell operationline 80
rm -rf "$OSRC_HEARTBEAT/leader" 2>/dev/null || true - Dangerous shell operationline 92
rm -f "$HB_FORK_MARKER" - Dangerous shell operationline 154
rm -f "$TMP/jq-count" - Dangerous shell operationline 184
rm -rf "$OSRC_JOBS" 2>/dev/null || true - Dangerous shell operationline 236
rm -rf "$OSRC_HEARTBEAT/leader" 2>/dev/null || true - Access to secretsline 275
[Credential-related source omitted] - Access to secretsline 307
[Credential-related source omitted]
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_heartbeat_stale_alarm.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_heartbeat_wake_push.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_interactive_default.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_job_lifecycle.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_job_meta_lane.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_job_rc_guard_leak.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_lane_accounting.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 13
trap 'rm -f "$TMP"' EXIT - Dangerous shell operationline 76
LED="$(mktemp "${TMPDIR:-/tmp}/osrc_led.XXXXXX")"; trap 'rm -f "$TMP" "$LED"' EXIT - Dangerous shell operationline 103
rm -f "$LED2" - Dangerous shell operationline 118
rm -f "$LED3"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_lane_down_gate.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_lane_down_marker.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_lane_fallback.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 15
eval "$(sed -n '/^parse_model() {/,/^}/p' "$SRC")" - Dangerous shell operationline 18
eval "$(sed -n '/^_words_noglob() {/,/^}/p' "$SRC")" - Dangerous shell operationline 19
eval "$(sed -n '/^_validate_with_token() {/,/^}/p' "$SRC")" - Dangerous shell operationline 20
eval "$(sed -n '/^_devin_model_for() {/,/^}/p' "$SRC")" - Dangerous shell operationline 23
eval "$(sed -n '/^_deepseek_effort_suffix() {/,/^}/p' "$SRC")"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_lane_liveness.sh
- Executable scriptline 1
#!/usr/bin/env bash
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_lane_plan_limit.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 23
cleanup() { rm -rf "$TMP"; }; trap cleanup EXIT - Network accessline 56
printf 'Task completed. 3 files edited.\n' > "$FX/cline-no2" printf 'Error: Connection error\nexhausted all retry attempts\nrate: 3 files/s, limit: none, quota: n/a\n' > "$FX/unrelat - Network accessline 57
printf 'Error: Connection error\nexhausted all retry attempts\nrate: 3 files/s, limit: none, quota: n/a\n' > "$FX/unrelated" printf 'Error: Your daily usage quota has been exhausted. It resets in 11h26m. See https://app.devin.ai/settings/us - Network accessline 58
printf 'Error: Your daily usage quota has been exhausted. It resets in 11h26m. See https://app.devin.ai/settings/usage\n' > "$FX/dv-daily"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_lifecycle_fix.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_limits_freshness.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_loop_escalate.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_loop_resume.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_loops.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_managed_send.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_marker_forgery.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_model_denylist.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_model_drift.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_model_pin_enforcement.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_model_selection_parity.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_mutation_state_durability.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_no_phantom_jobs.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_no_silent_escalation.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_noglob_splitting.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_nowrite_watchdog.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_obligations.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_output_truncation.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_pane_state.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 8
TMP="$(mktemp -d "$PWD/.test-pane-state.XXXXXX")"; trap 'rm -rf "$TMP"' EXIT - Dangerous shell operationline 115
codex_one='Running: rm -rf target/ - Dangerous shell operationline 118
[ "$(state_of "$codex_one")" = "waiting-approval" ] && ok "single-option Codex approval -> waiting-approval" || bad "single-option Codex approval misclassified"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_parity_autoheal.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_parity_hermes.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_parity_links.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 30
TMP="$(mktemp -d)"; trap 'rm -rf "$TMP"' EXIT - Dangerous shell operationline 36
rm -rf "$TMP/cache/plug/1.0.0" # the upgrade removes the old version dir - Dangerous shell operationline 50
[ -L "$dst/ce-debug" ] && rm -f "$dst/ce-debug" - Dangerous shell operationline 60
for l in "$dst"/*; do [ -L "$l" ] || continue; [ -e "$l" ] && continue; rm -f "$l"; stale=$((stale+1)); done
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_parser_parity.sh
- Executable scriptline 1
#!/usr/bin/env bash
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_perm_denial_precision.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_pi_lane.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_pr10_falsestall_before_quota.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 14
trap 'rm -rf "$TMP"' EXIT - Dangerous shell operationline 72
rm -f "$JOBS/wedge-nowork/.startmark" - Dangerous shell operationline 87
rm -f "$JOBS/wedge-devin/.startmark" - Dangerous shell operationline 100
rm -f "$JOBS/wedge-credit/.startmark" - Dangerous shell operationline 135
rm -f "$JOBS/deliverable-wins/.startmark" # no in-window writes/commits -> deliverable signal decides
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_preflight_env_isolation.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_preflight_guard_exempt.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_quota.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_reconcile_launch_grace.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_relaunch_bookkeeping.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_require_interactive.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_resolved_lane.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_reverdict_residuals.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 5
TMP="$(mktemp -d "$PWD/.test-reverdict.XXXXXX")"; TEST_TMP="$TMP"; trap 'rm -rf "$TEST_TMP"' EXIT - Dangerous shell operationline 22
rm -f "$OSRC_HEARTBEAT/leader/owner.json"; rmdir "$OSRC_HEARTBEAT/leader" 2>/dev/null || true - Dangerous shell operationline 26
rm -f "$OSRC_HEARTBEAT/leader/owner.json"; rmdir "$OSRC_HEARTBEAT/leader" 2>/dev/null || true
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_second_opinion_agree.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_selfcontained_hardening.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_session_capabilities.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_session_claims.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_session_control.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_session_effort.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_session_exit_liveness.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_session_model_pin_guard.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_session_probe_sigpipe.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_session_registry_end.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_session_reply_safety.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_session_send_verify.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_shim.py
- Executable scriptline 1
#!/usr/bin/env python3 - Network accessline 61
def post_messages(body, stream=False): data = json.dumps(body).encode() req = urllib.request.Request("http://127.0.0.1:%d/v1/messages" % SHIM_PORT, data=data, - Network accessline 62
data = json.dumps(body).encode() req = urllib.request.Request("http://127.0.0.1:%d/v1/messages" % SHIM_PORT, data=data, method="POST", headers={"Content-Type": "application/json"}) - Network accessline 63
req = urllib.request.Request("http://127.0.0.1:%d/v1/messages" % SHIM_PORT, data=data, - Network accessline 64
method="POST", headers={"Content-Type": "application/json"}) r = urllib.request.urlopen(req, timeout=10) if stream: - Network accessline 65
r = urllib.request.urlopen(req, timeout=10) - Network accessline 72
mock = ThreadingHTTPServer(("127.0.0.1", MOCK_PORT), Mock) Thread(target=mock.serve_forever, daemon=True).start() env = dict(os.environ, OSRC_SHIM_UPSTREAM="http://127.0.0.1:%d/v1" % MOCK_PORT, - Network accessline 73
Thread(target=mock.serve_forever, daemon=True).start() env = dict(os.environ, OSRC_SHIM_UPSTREAM="http://127.0.0.1:%d/v1" % MOCK_PORT, OSRC_SHIM_PORT=str(SHIM_PORT)) - Network accessline 74
[Credential-related source omitted] - Access to secretsline 74
[Credential-related source omitted] - Network accessline 80
for _ in range(40): try: if json.loads(urllib.request.urlopen("http://127.0.0.1:%d/health" % SHIM_PORT, timeout=1).read()).get("ok"): - Network accessline 81
try: if json.loads(urllib.request.urlopen("http://127.0.0.1:%d/health" % SHIM_PORT, timeout=1).read()).get("ok"): break - Network accessline 82
if json.loads(urllib.request.urlopen("http://127.0.0.1:%d/health" % SHIM_PORT, timeout=1).read()).get("ok"): - Network accessline 93
check("health ok", json.loads(urllib.request.urlopen("http://127.0.0.1:%d/health" % SHIM_PORT).read()).get("ok"))
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_skill_bundle.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 20
TMP="$(mktemp -d)"; trap 'rm -rf "$TMP"' EXIT - Dangerous shell operationline 230
rm -f "$CAPTURE" - Dangerous shell operationline 244
rm -f "$CAPTURE" - Dangerous shell operationline 334
rm -rf "$TMP/home/.config/devin/skills" - Dangerous shell operationline 370
rm -rf "$TMP/home/.config/devin/skills" - Dangerous shell operationline 379
rm -rf "$TMP/home/.config/devin/skills"; mkdir -p "$TMP/home/.config/devin/skills" - Dangerous shell operationline 402
rm -rf "$TMP/home/.config/devin/skills"; mkdir -p "$TMP/home/.config/devin/skills" - Dangerous shell operationline 436
rm -rf "$TMP/home/.config/devin/skills" - Dangerous shell operationline 449
rm -rf "$TMP/home/.config/devin/skills" - Dangerous shell operationline 458
rm -rf "$TMP/home/.config/devin/skills/.outsourcerer-grants.lock.d" - Dangerous shell operationline 461
rm -rf "$TMP/home/.config/devin/skills" - Dangerous shell operationline 489
rm -rf "$TMP/home/.config/devin/skills"; rm -f "$TMP/releaseA" - Dangerous shell operationline 514
rm -rf "$TMP/home/.config/devin/skills" "$TMP/home/.config/victim-target" "$TMP/home/.config/victim-link" - Dangerous shell operationline 552
EH="$TMP/emptyhome"; rm -rf "$EH"; mkdir -p "$EH" - Dangerous shell operationline 585
ASK="$TMP/home/.claude/skills/absskill"; rm -rf "$ASK"; mkdir -p "$ASK/references" - Dangerous shell operationline 598
RSK="$TMP/home/.claude/skills/relskill"; rm -rf "$RSK"; mkdir -p "$RSK/references/sub"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_state_lock_stale_breaker.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 20
trap 'rm -rf "$TMP"' EXIT - Dangerous shell operationline 50
rm -rf "$lock"; mkdir "$lock"; printf '%s %s\n' 999999 'Thu Jan 1 00:00:00 2020' > "$lock/owner" - Dangerous shell operationline 69
rm -rf "$lock"; mkdir "$lock"; printf '%s %s\n' "$$" "$(_pid_start_identity "$$" 2>/dev/null)" > "$lock/owner" - Dangerous shell operationline 76
rm -rf "$lock" - Dangerous shell operationline 80
rm -rf "$lock"; mkdir "$lock" # a lock dir with NO owner file inside - Dangerous shell operationline 86
rm -rf "$lock"; mkdir "$lock" # brand-new, age ~0, no owner yet - Dangerous shell operationline 93
rm -rf "$lock"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_stop_guard.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_supervise_pgroup_kill.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_tab_empty_ledger.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_tap_statusline.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_tier_churn.sh
- Executable scriptline 1
#!/usr/bin/env bash
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_timeout_capture.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_tmux_headless_fallback.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_tokenrouter_lane.sh
- Executable scriptline 1
#!/usr/bin/env bash - Network accessline 5
# router seam (the dead-on-dispatch defect that bit the Cline lane must not recur here). # # TokenRouter (https://www.tokenrouter.com) is an OpenAI-compatible model gateway. The lane is a CLOUD - Network accessline 6
# # TokenRouter (https://www.tokenrouter.com) is an OpenAI-compatible model gateway. The lane is a CLOUD # lane (the prompt leaves the machine), so it flows through the same _cloud_disclose choke point + - Network accessline 7
# TokenRouter (https://www.tokenrouter.com) is an OpenAI-compatible model gateway. The lane is a CLOUD - Dangerous shell operationline 31
trap 'rm -rf "$TMP"; [ -n "${FAKE_PID:-}" ] && kill "$FAKE_PID" 2>/dev/null || true' EXIT - Access to secretsline 48
[Credential-related source omitted] - Access to secretsline 49
[Credential-related source omitted] - Network accessline 50
# The delegate must NOT inline the key as a curl -H argument (that lands it in the ps table). - Network accessline 51
[Credential-related source omitted] - Access to secretsline 51
[Credential-related source omitted] - Network accessline 52
[Credential-related source omitted] - Access to secretsline 52
[Credential-related source omitted] - Network accessline 53
else ok "delegate never inlines the key in a curl -H argument" fi - Network accessline 54
ok "delegate never inlines the key in a curl -H argument" - Access to secretsline 99
[Credential-related source omitted] - Access to secretsline 103
[Credential-related source omitted] - Network accessline 122
grep -q 'TokenRouter lane' "$SRC" && ok "doctor has a TokenRouter lane section" || bad "doctor has no TokenRouter section" grep -q 'https://www.tokenrouter.com' "$SRC" && ok "doctor points at the TokenRouter console for a key" || bad "docto - Network accessline 123
grep -q 'https://www.tokenrouter.com' "$SRC" && ok "doctor points at the TokenRouter console for a key" || bad "doctor missing the key-source pointer" - Network accessline 193
export OSRC_TOKENROUTER_URL="http://127.0.0.1:$GW_PORT/v1" - Access to secretsline 194
[Credential-related source omitted] - Access to secretsline 233
[Credential-related source omitted] - Access to secretsline 236
[Credential-related source omitted] - Access to secretsline 237
[Credential-related source omitted] - Access to secretsline 238
[Credential-related source omitted] - Network accessline 265
# --- partial-stream honesty (torture regression) --- # curl's exit code is captured after the stream loop; a mid-stream failure that still delivered SOME # tokens must NOT be reported as a clean success. Assert the lane warns on a non-zero - Network accessline 266
# curl's exit code is captured after the stream loop; a mid-stream failure that still delivered SOME # tokens must NOT be reported as a clean success. Assert the lane warns on a non-zero curl rc after # partial output instead of silently re - Network accessline 267
# tokens must NOT be reported as a clean success. Assert the lane warns on a non-zero curl rc after - Network accessline 269
if grep -q 'rc.*-ne 0' <<<"$(awk '/^delegate_tokenrouter\(\)/,/^}/' "$SRC")" \ && grep -qi 'TRUNCATED' <<<"$(awk '/^delegate_tokenrouter\(\)/,/^}/' "$SRC")"; then ok "a truncated stream (non-zero curl rc after partial output) is flagge - Network accessline 270
&& grep -qi 'TRUNCATED' <<<"$(awk '/^delegate_tokenrouter\(\)/,/^}/' "$SRC")"; then ok "a truncated stream (non-zero curl rc after partial output) is flagged, not silently succeeded" else - Network accessline 271
ok "a truncated stream (non-zero curl rc after partial output) is flagged, not silently succeeded"
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_tool_bugs_062.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_trusted_lanes.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_utf8_guard.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_value_router.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_version_gate.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_version_parity.sh
- Executable scriptline 1
#!/usr/bin/env bash
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_vocab_hygiene.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_wait.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_wake_queue.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_watch_digest.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_watcher.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_windows_portability.sh
plugins/outsourcerer/skills/outsourcerer/scripts/tests/test_with_injection.sh
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
Some files could not be read; the facts below still hold.
Declared and executed: 2 facts
- Contacts openrouter.ai, which SKILL.md, the README and the plugin manifest do not mentionoutsourcerer/scripts/run-or-codex.sh:50High confidence
- Contacts openrouter.ai, which SKILL.md, the README and the plugin manifest do not mentionoutsourcerer/scripts/run-or-model.sh:28High confidence
Signal confidence: 498 facts
- Network access in prose of the SKILL.mdoutsourcerer/SKILL.md:8Low confidence
- Access to secrets in prose of the SKILL.mdoutsourcerer/SKILL.md:94Low confidence
- Access to secrets in prose of documentation: a variable, placeholder or call, not a stored valueoutsourcerer/references/factory-land-cli.md:45Low confidence
- Dangerous shell operation in prose of documentationoutsourcerer/references/factory-tasks-cli.md:25Low confidence
- Dangerous shell operation in prose of documentationoutsourcerer/references/factory.md:46Low confidence
- Dangerous shell operation in code of documentationoutsourcerer/references/factory.md:239Low confidence
- Access to secrets in prose of documentation: a variable, placeholder or call, not a stored valueoutsourcerer/references/lanes-and-models.md:43Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:65Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:66Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:67Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:70Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:71Low confidence
- Access to secrets in prose of documentation: a variable, placeholder or call, not a stored valueoutsourcerer/references/lanes-and-models.md:102Low confidence
- Access to secrets in prose of documentationoutsourcerer/references/lanes-and-models.md:103Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:113Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:147Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:160Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:161Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:162Low confidence
- Instruction override signal in prose of documentationoutsourcerer/references/lanes-and-models.md:207Low confidence
- Instruction override signal in prose of documentationoutsourcerer/references/lanes-and-models.md:209Low confidence
- Access to secrets in prose of documentation: a variable, placeholder or call, not a stored valueoutsourcerer/references/lanes-and-models.md:211Low confidence
- Access to secrets in prose of documentationoutsourcerer/references/lanes-and-models.md:212Low confidence
- Access to secrets in prose of documentationoutsourcerer/references/lanes-and-models.md:213Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:270Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:271Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:272Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:273Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:288Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:289Low confidence
- Access to secrets in prose of documentationoutsourcerer/references/lanes-and-models.md:289Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:291Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:298Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:299Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:300Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:301Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:302Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:303Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:312Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:313Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:314Low confidence
- Access to secrets in prose of documentationoutsourcerer/references/lanes-and-models.md:314Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:332Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:333Low confidence
- Access to secrets in prose of documentationoutsourcerer/references/lanes-and-models.md:333Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:334Low confidence
- Access to secrets in prose of documentationoutsourcerer/references/lanes-and-models.md:338Low confidence
- Dangerous shell operation in code of documentationoutsourcerer/references/lanes-and-models.md:389Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:540Low confidence
- Network access in prose of documentationoutsourcerer/references/lanes-and-models.md:541Low confidence
and 448 more
Only the first 500 facts are listed.
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Native | Manifest .claude-plugin/marketplace.json | .claude/skills/<skill-name>/ |
| Codex | Compatible | Standard SKILL.md plugins/outsourcerer/skills/outsourcerer/SKILL.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md plugins/outsourcerer/skills/outsourcerer/SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Compatible | Standard SKILL.md plugins/outsourcerer/skills/outsourcerer/SKILL.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Compatible | Standard SKILL.md plugins/outsourcerer/skills/outsourcerer/SKILL.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md plugins/outsourcerer/skills/outsourcerer/SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.