CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

jbaruch/nanoclaw-host

Host rules and skills for NanoClaw deployment, image package inventories, private browser access, plugin promotion, staging and upstream updates.

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

scheduled-task-gate.mdrules/

alwaysApply:
No
applyTo:
**/* — when creating or reviewing scheduled tasks, including cadence skills, scheduled_tasks rows and one-shots

Scheduled Task Model and Pre-Gate

Task Declarations

  • Persist an explicit, non-empty agent_model for every newly admitted scheduled task, including ad-hoc tasks and one-shots. Bind it before persistence rather than leaving it to a runtime default. This requirement does not rewrite historical rows.
  • Declare the applicable schedule explicitly. Cadence SKILL.md frontmatter declares cadence and agentModel.
  • Require an explicit, non-empty agentModel in ordinary schedule_task requests.
  • Include the explicit model in the action presented on every new exact owner approval card for scheduling.
  • Declare script when a precheck is required, using a skill-relative path in cadence frontmatter. A registry row may have script=null when no precheck is required.
  • This gate does not relax any explicit requirements for ad-hoc work or idempotency.

Model Omission

  • The Host resolves and persists the destination's effective scheduled model at admission for qualifying model-less requests. Record the model as implicit (agent_model_implicit=1) and not owner-approved (agent_model_approved=0).
  • Narrow exception for verified current Admin model-less requests.
    1. Verify that an existing Admin request path currently submits the request without agentModel.
    2. The caller does not select a model.
  • Allow omission only on that verified Admin path. Every other Admin request supplies agentModel.
  • Narrow exception for Trusted prompt-only cross-folder handoff.
    1. An existing handoff goes from a Trusted, non-main source to a registered destination in another folder.
    2. The request is prompt-only and omits both agentModel and script.
    3. Preserve source Trusted handoff provenance and enforce reachability, capability, confirmation, and egress gates. Scheduling grants no approval for cross-chat side effects.
  • Every other Trusted scheduling request supplies agentModel.
  • Narrow exception for exact replay of an already-issued model-less owner approval card.
    1. The original card was issued without a model.
    2. Use the existing exact-card verification and replay path without rewriting the original card or granting model approval.
  • Every new owner approval card includes the explicit model.

Precheck and Source Coverage

  • Require a precheck when most runs are no-ops, as required by coding-policy: script-delegation, or when a concrete, cheap signal can reliably skip a meaningful share of runs without losing coverage. Follow the shared contract for precheck output and wake decisions.
  • An unconditional wake does not qualify as a precheck. Consult Jev wherever the wake decision needs judgment.
  • When reading the source and verifying coverage is the scheduled work, direct model-led coverage is normal and needs no separate owner approval. A complete empty read fulfills coverage and is not a no-op. Distinguish it from a failed or partial read, which does not establish coverage.
  • When replacing a source cadence, retire any overlapping reader before activating the replacement. Verify after deployment that exactly one cadence owns the source.

Policy Review

  • Block on a missing persisted model at new admission or a missing applicable schedule declaration. Block any new request without agentModel unless it meets the Admin or Trusted handoff preconditions. Before blocking on a missing precheck, show either that most runs do no scheduled work, or name the concrete cheap signal and explain how it can skip a meaningful share of runs without losing coverage. A verified empty source pass is scheduled work.
  • Verify that each required precheck script exists and makes the wake decision. Do not merge or insert a task until the applicable requirements are met.

README.md

tile.json