Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18f3d6fee5 | ||
|
|
341eb9f8a0 |
No files matched your search
@@ -122,7 +122,7 @@ skill.py loop: observe -> act -> observe -> assess; the body is a single
|
||||
act (pre_act), collects it, and re-runs the full path
|
||||
engine.py SemIfEngine -> semif_phase1.llamacpp_backend (lazy import)
|
||||
codegen.py CodegenClient (OpenAI-compatible) writes real-integration skill
|
||||
bodies against SKILL.md (real actions via stdlib transports,
|
||||
bodies against CODEGEN.md (real actions via stdlib transports,
|
||||
data from the runner via ctx.config, never embedded; bodies
|
||||
declare INTEGRATION service/transport/config_vars, and declare
|
||||
their own flat `CONTRACT` {var: description});
|
||||
@@ -132,7 +132,7 @@ codegen.py CodegenClient (OpenAI-compatible) writes real-integration skill
|
||||
(describe_bridges()) is injected into the body, retry, regen,
|
||||
elicitation, and testgen prompts — it is the single source of
|
||||
bridge specifics (service, base-URL var, auth header/token var,
|
||||
config-var docs, endpoints with error shapes), while SKILL.md/
|
||||
config-var docs, endpoints with error shapes), while CODEGEN.md/
|
||||
TESTGEN.md carry only the generic pattern; the advisory
|
||||
elicitation integration hint rides on every body/retry/regen
|
||||
prompt; elicitation questions
|
||||
@@ -254,7 +254,7 @@ CLI, unit tests (24) + integration tests (2).
|
||||
merged into the running tree as a leaf. Since Sep 2026 the leaf also gets a
|
||||
real runnable body via the async authoring pipeline: a larger
|
||||
OpenAI-compatible model (`codegen`, your configured code-capable model) writes an `act`-only
|
||||
body plus its own flat `CONTRACT` against `SKILL.md`, then a test
|
||||
body plus its own flat `CONTRACT` against `CODEGEN.md`, then a test
|
||||
(against `TESTGEN.md`) is generated and auto-run before the leaf
|
||||
is declared ready — all persisted to a folder in `data/skills/` and
|
||||
hot-loaded. Authoring is **asynchronous**: the draft is authored by a
|
||||
@@ -564,7 +564,7 @@ CLI, unit tests (24) + integration tests (2).
|
||||
gitignored), loaded back at startup via `importlib`, so
|
||||
skills stay runnable and configurable across restarts. The **old single-file
|
||||
layout** (`data/skills/<category>/<name>.py`) is **not read** — clean switch,
|
||||
no compat shim. `SKILL.md` at the repo root is the contract the codegen model
|
||||
no compat shim. `CODEGEN.md` at the repo root is the contract the codegen model
|
||||
is prompted with — change it only with intent, it shapes every generated body.
|
||||
Bodies declare `INTEGRATION` (service/transport/config_vars) and must perform
|
||||
the real action via stdlib transports with values from `ctx.config`.
|
||||
@@ -583,15 +583,15 @@ CLI, unit tests (24) + integration tests (2).
|
||||
forwarding bridge) and `simplex.connect_link` (show/create the forwarding
|
||||
bot's contact link) are the messenger seeds; `tests/test_seed_skills.py` keeps
|
||||
them honest.
|
||||
- **Contract provenance.** Each authored body records the SKILL.md revision it
|
||||
- **Contract provenance.** Each authored body records the CODEGEN.md revision it
|
||||
was written against. `skill_contract_ref()` (`codegen.py`) returns
|
||||
`{"ref", "dirty"}`: `ref` is the short git commit sha the contract was read
|
||||
under (revive with `git show <ref>:SKILL.md`) and `dirty` records whether the
|
||||
under (revive with `git show <ref>:CODEGEN.md`) and `dirty` records whether the
|
||||
working-tree contract differed from that commit; both degrade to `None`
|
||||
outside a git checkout. Recorded as `contract_ref`/`contract_dirty` on the
|
||||
`skill_writing` trace event; the dashboard shows `SKILL.md @ <ref>` with a `*`
|
||||
`skill_writing` trace event; the dashboard shows `CODEGEN.md @ <ref>` with a `*`
|
||||
when dirty. **Deferred:** this pointer covers only the generic pattern now that
|
||||
bridge specifics live in the runtime catalog, not SKILL.md — recording a
|
||||
bridge specifics live in the runtime catalog, not CODEGEN.md — recording a
|
||||
catalog revision on the trace is future work.
|
||||
- **Trust boundary**: generated skill code is executed locally (it is imported
|
||||
as a module and its `act` runs in-process; `skill.test.py` runs as a
|
||||
@@ -609,7 +609,7 @@ CLI, unit tests (24) + integration tests (2).
|
||||
time, waiting `codegen.elicitation.answer_timeout` seconds for each (the
|
||||
clock resets on every answer submit; a timeout stops the sequence).
|
||||
2. **codegen body** (`generate_skill_body` / `regenerate_skill_body` on
|
||||
repair): SKILL.md + request + tree + requirements answers; the body is a
|
||||
repair): CODEGEN.md + request + tree + requirements answers; the body is a
|
||||
single `act(ctx, request)`, reads every operational value from `ctx.config`,
|
||||
performs the real action, and declares `INTEGRATION` and its own flat
|
||||
`CONTRACT` (every contract key must be read from `ctx.config`, enforced by
|
||||
@@ -867,7 +867,7 @@ CLI, unit tests (24) + integration tests (2).
|
||||
with one-line docs, auth header + token config var, and endpoints with
|
||||
request/response/error shapes) is injected into every codegen prompt
|
||||
(body/retry/regen/elicitation/testgen) via `describe_bridges()` and is the
|
||||
single source of bridge specifics — SKILL.md/TESTGEN.md carry only the generic
|
||||
single source of bridge specifics — CODEGEN.md/TESTGEN.md carry only the generic
|
||||
pattern. The bridge's optional shared secret is mirrored to the top-level
|
||||
`simplex_bridge_token` config var (bootstrap syncs it) so bodies can send the
|
||||
`X-Semif-Token` header.
|
||||
|
||||
+136
-41
@@ -1,9 +1,7 @@
|
||||
# SKILL.md — the contract for new skills
|
||||
# CODEGEN.md — the contract for new skills
|
||||
|
||||
This file is the authoritative spec for what a new skill is and how its code
|
||||
body must be written. It is fed verbatim to the code-generation model so every
|
||||
generated skill is consistent, and it is read by humans who want to know what a
|
||||
good skill looks like.
|
||||
body must be written.
|
||||
|
||||
The mocking/testing side of a skill is NOT specified here — it has its own
|
||||
contract, `TESTGEN.md`. This file is about the runnable body only.
|
||||
@@ -11,12 +9,7 @@ contract, `TESTGEN.md`. This file is about the runnable body only.
|
||||
## What a skill is
|
||||
|
||||
Semif-agent is an end-user application: an everyday person asks it to do a task,
|
||||
and it does that task for real against their actual service. A skill is the
|
||||
thing that does it.
|
||||
|
||||
A skill is a **leaf** in the agent's skill tree, reached by a chain of SemIf
|
||||
decisions (category -> skill). It is one specific, single-purpose action the
|
||||
agent can take — never a broad bucket (that is a category's job).
|
||||
and it does that task using a combination of user-provided data and a catalog of basic services known as bridges. A skill is the thing that performs one of those tasks: it is the leaf in the skill tree that the agent navigates to when it has resolved a request to a single, concrete action.
|
||||
|
||||
A skill is three things:
|
||||
|
||||
@@ -94,6 +87,51 @@ CONTRACT = {
|
||||
`CONTRACT`; the body implements whatever type safety it needs. It is for the
|
||||
human and SemIf only.
|
||||
|
||||
### Turning the request into arguments
|
||||
|
||||
`request.text` is the user's query — the thing the human actually asked for. A
|
||||
skill that turns queries into outputs must **read `request.text`** and derive
|
||||
from it the action's **per-request arguments**: the recipient, the subject or
|
||||
message body, the date or time range, the search terms, the target, the filter,
|
||||
the filename. Do not ignore the query and do a fixed thing.
|
||||
|
||||
There are exactly two lanes of values, and they must not blur:
|
||||
|
||||
- **Per-request arguments** come from `request.text`. They change on every
|
||||
request. Never declare them in `CONTRACT`, never ask the human for them, and
|
||||
never embed them as constants.
|
||||
- **Operational values** — endpoints, accounts, credentials, CLI paths, and
|
||||
stable defaults — come from `CONTRACT` -> `ctx.config`. See "Data contract".
|
||||
|
||||
When the query names a target that maps onto a set the service exposes
|
||||
(contacts, calendars, folders, files), resolve it with a SemIf sub-decision over
|
||||
the real candidate set, not by hand — see "Candidate selection". When a required
|
||||
argument is missing or genuinely ambiguous and no candidate set can resolve it,
|
||||
return `needs_input` (below); do not invent a value.
|
||||
|
||||
```python
|
||||
# The recipient is a per-request argument: read it from the query, then resolve
|
||||
# it against the real contact list with a SemIf sub-decision.
|
||||
matches = [c for c in contacts if c["display_name"].lower() in request.text.lower()]
|
||||
if len(matches) == 1:
|
||||
recipient = matches[0]["id"]
|
||||
elif matches:
|
||||
decision = DecisionRequest(
|
||||
state=request.text,
|
||||
question="Which contact should the message go to?",
|
||||
options=[Option(c["id"], c["display_name"]) for c in matches],
|
||||
)
|
||||
result = ctx.engine.call(decision)
|
||||
decisions.append((decision, result))
|
||||
recipient = result.selected
|
||||
else:
|
||||
return ActionResult(
|
||||
action_log="no contact matched the request",
|
||||
new_state=request.text,
|
||||
needs_input="Which contact should I message?",
|
||||
)
|
||||
```
|
||||
|
||||
### Integration declaration
|
||||
|
||||
Every body defines a module-level `INTEGRATION` dict: the real system this
|
||||
@@ -146,6 +184,33 @@ return ActionResult(..., decisions=[(decision, result)])
|
||||
- Include any configured default (a value read from `ctx.config`) as one of the
|
||||
options, so the request can override the stored default.
|
||||
|
||||
### Producing the result (output)
|
||||
|
||||
A skill exists to turn the query into an **output the human wants**. Both
|
||||
strings on `ActionResult` carry that output and must reflect what really
|
||||
happened:
|
||||
|
||||
- `action_log` is the human-readable record of the run. The `assess:outcome`
|
||||
SemIf decision judges the run from it (together with the goal and the resolved
|
||||
inputs), and the deterministic run summary is built from it. Write what the
|
||||
service actually returned: the message that was read, the id/reference of the
|
||||
thing that was created, the status code and error text of a failure.
|
||||
- `new_state` is the run's resulting observation — the state the agent carries
|
||||
forward. For a read/query skill it is the retrieved data itself (the message
|
||||
body, the event, the value); for an action skill it is a short report of what
|
||||
was done (recipient, id, timestamp).
|
||||
|
||||
Rules:
|
||||
|
||||
- **Return the real result.** A read/query skill returns the data it fetched; an
|
||||
action skill reports the service's real response. A generic "done" that omits
|
||||
the result is a broken output.
|
||||
- **Never an empty or placeholder output.** If there is genuinely nothing (empty
|
||||
inbox, no matching event), say so explicitly — that is a real result.
|
||||
- **Never claim success you did not observe.** If the action failed, put the
|
||||
real failure in `action_log` and set `new_state` back to `request.text` (see
|
||||
the hard requirements).
|
||||
|
||||
### Rules (hard requirements)
|
||||
|
||||
- **Perform the real action.** If the skill's purpose involves an external
|
||||
@@ -191,6 +256,14 @@ return ActionResult(..., decisions=[(decision, result)])
|
||||
- **Write files under configured data dirs only** (e.g. the directory named by
|
||||
a config variable such as `ctx.config["output_dir"]`), never anywhere else on
|
||||
disk.
|
||||
- **No work at import time.** The module is imported when the skill loads and
|
||||
again by its test; keep module scope to constants and function definitions. Do
|
||||
not call the network, read files, or touch `ctx` at import.
|
||||
- **`act` is single-phase and re-runs from the top.** After a `needs_input`
|
||||
pause the human's answer arrives on `request.user_input` and `act` is invoked
|
||||
again from the beginning — re-derive the query and config, consume
|
||||
`request.user_input`, and do not re-ask a question you already have an answer
|
||||
for.
|
||||
- **Fail fast on budget.** Keep the work small; do not loop or retry in code.
|
||||
- **Names match the manifest.** The module is imported as its manifest name;
|
||||
the function is `act` exactly.
|
||||
@@ -269,67 +342,89 @@ A generated skill is accepted only if:
|
||||
3. Its body imports nothing outside the stdlib and the agent package.
|
||||
4. It uses `ctx.engine` (never mocks) and returns proper `ActionResult` types.
|
||||
5. It is single-purpose and does not duplicate an existing category leaf.
|
||||
6. `CONTRACT` is present, flat, and every key is read from `ctx.config`;
|
||||
optional values are read with `.get`.
|
||||
7. Every required operational value it needs is declared in `CONTRACT` — nothing
|
||||
6. It derives its per-request arguments from `request.text` — resolving a target
|
||||
against a real candidate set with a SemIf sub-decision when one exists —
|
||||
rather than ignoring the query or hardcoding values.
|
||||
7. `CONTRACT` is present, flat, and every key is read from `ctx.config`;
|
||||
optional values are read with `.get`. No per-request argument is a contract
|
||||
key.
|
||||
8. Every required operational value it needs is declared in `CONTRACT` — nothing
|
||||
is embedded, fabricated, or asked of the human.
|
||||
8. If its purpose is an external action, `act` performs the real operation via
|
||||
the configured service/transport (no simulated success, no draft-by-default)
|
||||
and reports real failures honestly.
|
||||
9. `INTEGRATION` is present, flat, string-valued, uses the transport vocabulary,
|
||||
and is consistent with the body's `ctx.config` reads and behavior.
|
||||
10. If it is a messaging skill, it uses a bridge service over HTTP (never a
|
||||
9. It returns the real result in `new_state` (and a truthful `action_log`) — the
|
||||
fetched data or the service's real response, never an empty or placeholder
|
||||
output.
|
||||
10. If its purpose is an external action, `act` performs the real operation via
|
||||
the configured service/transport (no simulated success, no draft-by-default)
|
||||
and reports real failures honestly.
|
||||
11. `INTEGRATION` is present, flat, string-valued, uses the transport vocabulary,
|
||||
and is consistent with the body's `ctx.config` reads and behavior.
|
||||
12. It does no network, file, or engine work at import time.
|
||||
13. If it is a messaging skill, it uses a bridge service over HTTP (never a
|
||||
service's native protocol), resolves recipients with a SemIf sub-decision,
|
||||
and sends only on explicit user intent.
|
||||
|
||||
## Worked example
|
||||
|
||||
A skill that checks a service's health over HTTP — for real, with the endpoint
|
||||
and token supplied by the runner:
|
||||
A skill that tracks a parcel over HTTP — for real. It reads the tracking number
|
||||
out of the query (a per-request argument), uses the endpoint and token supplied
|
||||
by the runner, performs the real lookup, and returns the service's real result:
|
||||
|
||||
```python
|
||||
import json
|
||||
import re
|
||||
import urllib.error
|
||||
import urllib.request
|
||||
|
||||
from semif_agent.skills import ActionResult
|
||||
|
||||
INTEGRATION = {
|
||||
"service": "status_page",
|
||||
"service": "parcel_tracking",
|
||||
"transport": "http",
|
||||
"config_vars": ["service_url", "service_token"],
|
||||
"config_vars": ["tracking_api_url", "tracking_api_token"],
|
||||
}
|
||||
|
||||
CONTRACT = {
|
||||
"service_url": "URL of the service status endpoint to check.",
|
||||
"service_token": "Bearer token for the status endpoint, if it requires one.",
|
||||
"tracking_api_url": "Base URL of the parcel-tracking API, e.g. https://api.example.org.",
|
||||
"tracking_api_token": "Bearer token for the tracking API, if it requires one.",
|
||||
}
|
||||
|
||||
|
||||
def act(ctx, request):
|
||||
url = ctx.config["service_url"]
|
||||
token = ctx.config.get("service_token", "")
|
||||
headers = {"Authorization": f"Bearer {token}"} if token else {}
|
||||
req = urllib.request.Request(url, headers=headers)
|
||||
try:
|
||||
with urllib.request.urlopen(req, timeout=15) as response:
|
||||
status = response.status
|
||||
payload = json.loads(response.read().decode("utf-8"))
|
||||
# A per-request argument: the tracking number comes from the query, not config.
|
||||
match = re.search(r"\b[A-Z]{2}\d{9}[A-Z]{2}\b", request.text or "")
|
||||
if match is None:
|
||||
return ActionResult(
|
||||
action_log=f"status_page: {url} is {payload.get('status', 'unknown')} (HTTP {status}).",
|
||||
new_state=f"{url} status: {payload.get('status', 'unknown')}",
|
||||
action_log="parcel_tracking: no tracking number found in the request",
|
||||
new_state=request.text,
|
||||
needs_input="What is the tracking number?",
|
||||
)
|
||||
tracking_id = match.group(0)
|
||||
base = ctx.config["tracking_api_url"].rstrip("/")
|
||||
token = ctx.config.get("tracking_api_token", "")
|
||||
headers = {"Authorization": f"Bearer {token}"} if token else {}
|
||||
url = f"{base}/track/{tracking_id}"
|
||||
try:
|
||||
req = urllib.request.Request(url, headers=headers)
|
||||
with urllib.request.urlopen(req, timeout=15) as response:
|
||||
payload = json.loads(response.read().decode("utf-8"))
|
||||
except urllib.error.HTTPError as exc:
|
||||
return ActionResult(
|
||||
action_log=f"status_page: {url} returned HTTP {exc.code}: {exc.reason}.",
|
||||
new_state=f"status check failed: HTTP {exc.code}",
|
||||
action_log=f"parcel_tracking: {tracking_id} lookup returned HTTP {exc.code}: {exc.reason}",
|
||||
new_state=request.text,
|
||||
)
|
||||
except (urllib.error.URLError, TimeoutError, ValueError) as exc:
|
||||
return ActionResult(
|
||||
action_log=f"status_page: could not reach {url}: {exc}.",
|
||||
action_log=f"parcel_tracking: could not reach {url}: {exc}",
|
||||
new_state=request.text,
|
||||
)
|
||||
status = payload.get("status", "unknown")
|
||||
report = f"Parcel {tracking_id}: {status}"
|
||||
if payload.get("location"):
|
||||
report += f" ({payload['location']})"
|
||||
return ActionResult(action_log=report, new_state=report)
|
||||
```
|
||||
|
||||
Write skill bodies in this shape: declare `INTEGRATION` and `CONTRACT`, perform
|
||||
the real operation in `act`, keep both stdlib-only, read data from `ctx.config`,
|
||||
SemIf any candidate set, and return the proper types.
|
||||
Write skill bodies in this shape: read the request and derive the action's
|
||||
arguments, declare `INTEGRATION` and `CONTRACT`, perform the real operation in
|
||||
`act`, keep both stdlib-only, read operational data from `ctx.config`, SemIf any
|
||||
candidate set, and return the real result in `action_log` / `new_state`.
|
||||
@@ -176,7 +176,7 @@ worker. It is **asynchronous**, so the gate stays free while either model thinks
|
||||
gateway) defers to a question queue and the worker waits
|
||||
(`codegen.elicitation.wait_timeout`).
|
||||
3. **Codegen body** (`generate_skill_body`): a larger OpenAI-compatible model
|
||||
(`codegen`, your configured code-capable model) writes a single `act` against `SKILL.md`,
|
||||
(`codegen`, your configured code-capable model) writes a single `act` against `CODEGEN.md`,
|
||||
reading every operational value from `ctx.config` and declaring `INTEGRATION`
|
||||
(service / transport / config_vars) plus its own flat `CONTRACT`
|
||||
(variable → description; every key must be read from `ctx.config`).
|
||||
@@ -220,7 +220,7 @@ A **generative call** (`llm` for titles/descriptions, `codegen` for bodies and
|
||||
tests) is a built OpenAI-style `messages` list. Its context is assembled from
|
||||
the request, the tree, the elicitation answers, the runtime **bridge catalog**
|
||||
(`describe_bridges()`), and — for bodies and tests — the contract files
|
||||
(`SKILL.md`, `TESTGEN.md`).
|
||||
(`CODEGEN.md`, `TESTGEN.md`).
|
||||
|
||||
#### SemIf decisions
|
||||
|
||||
@@ -249,17 +249,17 @@ the request, the tree, the elicitation answers, the runtime **bridge catalog**
|
||||
| --- | --- | --- | --- | --- |
|
||||
| `generate_category` | `llm` | authoring instruction: propose one broad category, JSON-only | request text + full tree summary | `skills.py:896` |
|
||||
| `generate_skill` | `llm` | authoring instruction: propose one specific skill, JSON-only | request + category + existing skill names | `skills.py:947` |
|
||||
| `generate_skill_body` | `codegen` | full **SKILL.md** | request, category, name, description, existing skills + tree summary, elicitation answers, integration hint, **bridge catalog**, `BODY_DIRECTIVES` | `codegen.py:156` |
|
||||
| body retry | `codegen` | full **SKILL.md** | rejection reason, request, category, name, description, elicitation answers, integration hint, **bridge catalog**, `BODY_DIRECTIVES` | `codegen.py:474` |
|
||||
| `generate_skill_body` | `codegen` | full **CODEGEN.md** | request, category, name, description, existing skills + tree summary, elicitation answers, integration hint, **bridge catalog**, `BODY_DIRECTIVES` | `codegen.py:156` |
|
||||
| body retry | `codegen` | full **CODEGEN.md** | rejection reason, request, category, name, description, elicitation answers, integration hint, **bridge catalog**, `BODY_DIRECTIVES` | `codegen.py:474` |
|
||||
| `generate_elicitation` | `codegen` | elicitation instructions + example questions + anti-patterns + `max_questions` | request, category, name, description, existing skills + tree summary, **bridge catalog** | `codegen.py:580` |
|
||||
| `generate_data_contract` | `codegen` | full **TESTGEN.md** | skill, request, full body code, **bridge catalog** + the contract ask | `codegen.py:833` |
|
||||
| `generate_skill_tests` | `codegen` | full **TESTGEN.md** | skill, request, full body code, **bridge catalog**; continued with the accepted **contract JSON** as an assistant turn + the test-gen ask | `codegen.py:942` |
|
||||
| `regenerate_skill_body` | `codegen` | full **SKILL.md** | correction header, request, description, **raw evidence bundle** (rendered verbatim), previous body, integration hint, **bridge catalog**, `BODY_DIRECTIVES` | `codegen.py:1046` |
|
||||
| `regenerate_skill_body` | `codegen` | full **CODEGEN.md** | correction header, request, description, **raw evidence bundle** (rendered verbatim), previous body, integration hint, **bridge catalog**, `BODY_DIRECTIVES` | `codegen.py:1046` |
|
||||
|
||||
The **bridge catalog** is `describe_bridges()` (`bridges/registry.py:33`): each
|
||||
known bridge's name, service, description, base-URL config var, auth header +
|
||||
token var, documented config vars, and endpoints. It is the single runtime
|
||||
source of bridge specifics — `SKILL.md` and `TESTGEN.md` carry only the generic
|
||||
source of bridge specifics — `CODEGEN.md` and `TESTGEN.md` carry only the generic
|
||||
pattern — so a bridge can be added without touching either contract file.
|
||||
|
||||
The **raw evidence bundle** handed to a corrective regen carries the request,
|
||||
@@ -293,7 +293,7 @@ data/skills/<category>/<name>/
|
||||
config.json # recorded values (secrets live here, gitignored)
|
||||
```
|
||||
|
||||
Each body also records the `SKILL.md` revision it was written against
|
||||
Each body also records the `CODEGEN.md` revision it was written against
|
||||
(`contract_ref` / `contract_dirty` on the `skill_writing` trace).
|
||||
|
||||
### Repairing a failed run
|
||||
@@ -381,7 +381,7 @@ seeds/ committed starter skills (calendar, simplex)
|
||||
scripts/ bootstrap.sh, simplex-address.py, systemd/*.in
|
||||
requirements/ staging.txt — the pinned engine deps
|
||||
tests/ stdlib unit tests + tests/integration (real engine + LLM)
|
||||
SKILL.md the contract fed to the skill-body codegen model
|
||||
CODEGEN.md the contract fed to the skill-body codegen model
|
||||
TESTGEN.md the contract fed to the test/contract codegen model
|
||||
AGENTS.md the operational guide (read this before touching code)
|
||||
config.example.json per-machine config template (seeded to config.json once)
|
||||
@@ -639,7 +639,7 @@ navigation. It is three things:
|
||||
3. an **`INTEGRATION` declaration** (service / transport / config_vars) and a
|
||||
flat **`CONTRACT`** (the operational values the runner must provide).
|
||||
|
||||
`SKILL.md` is the authoritative body contract and is fed verbatim to the codegen
|
||||
`CODEGEN.md` is the authoritative body contract and is fed verbatim to the codegen
|
||||
model. It requires: perform the real action; stdlib transports only
|
||||
(`urllib`/`http.client`, `imaplib`/`smtplib`/`poplib`, `subprocess`, file I/O);
|
||||
no mocking; data from `ctx.config` (never embedded or fabricated); request
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
This file is the authoritative spec for the **testing** side of a skill. It is
|
||||
fed verbatim (alongside the finished `skill.py`) to the model that produces the
|
||||
test artifact. The runnable body contract lives in `SKILL.md`; this file is
|
||||
test artifact. The runnable body contract lives in `CODEGEN.md`; this file is
|
||||
deliberately separate so the body writer never embeds test data and the test
|
||||
writer never worries about body semantics.
|
||||
|
||||
@@ -33,7 +33,7 @@ each value is a plain-language, semantic description of the expected values for
|
||||
that variable (what it is, what good values look like).
|
||||
|
||||
The body declares this itself as a module-level `CONTRACT` constant (see
|
||||
`SKILL.md`); `contract.json` is a persisted mirror of it, provided to the test
|
||||
`CODEGEN.md`); `contract.json` is a persisted mirror of it, provided to the test
|
||||
writer as context. The test writer does not author or change the contract.
|
||||
|
||||
This contract exists for exactly two consumers:
|
||||
|
||||
@@ -96,4 +96,4 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAAAfcABMAAAAAENQAAAdzAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGx4cKD9NVkFSgQQGYD9TVEFUgWInLgBUL3QRCAqDIIMLCw4AMIV2ATYCJAMUBCAFjXYHTgwHG2MPSI7UVnlAcpP/PG76574XKIQgNQ9aMWYOzJzOnNE6+ESr23eT2sQ1RNFtdi+PQgg0oMcgECuU/O/3a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y1gsZrjgxNWXzDhUHGDrtVyh9PkTSJXTwmOOKaKUC1vAGyM5QoST71NBbZatdtImLzhfDZmNr/uaktFxS3VYLKggKCo0DRpuF9c7arT+g3tnMXvz+AfJeulnNNA/eigcqN2katYjfxJh3Dz8pptSODrWvQf7MUjBYWsFgmfrzenXgaRzbCSf0P8xGkiguqczHOhW1xMjaByoqxQtVqrhbhlyvkENaoQBPN+/5ViVgvxqxCpor8IgzSq9EGZy6kBcGLESSBVQjxQ63S6nWn2E8on0tNX4uR5oz4hpf0d4U4AAAA=") format("woff2-variations"); unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
|
||||
@font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAAC98ABQAAAAAckwAAC8MAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGnUbh2wcKD9NVkFSgQQGYD9TVEFUgWInLgCDAC90EQgKxVy+FwuCHAAw6w4BNgIkA4QkBCAFjXYHilcMBxsPbCXs2Eu4HUBQUm2iiIrVrkZUkiIm//8lQY64LdyqxwUoEfFu9YzNaLwD6TZ2ztHaAWFzikR5Xi6076tcblFCgSgoqF/G54g+NvH2HKUdx3BKkns+Jt0QAZc+7CS+BWwZfEVglBik+hP91k9GW3FD9t4jNPZJ7g+0uX+XcHccHHAcNTJHLora3AarNlZGz8gZf8rMqT9S/RmlPyL8qT0IyjFyL8kDl1kBCsMOyBGwAgLX8cRCtcJVdTzJDOhWBs7hzXz7nyticzuapbqZjG9W6neOBA5N8KghySGB4IEiuu3FmkCQJa9BABJw5s3S2nYlkDL5TQ2Vq7Whm0ikdKLRZ0gkjW+OaG78vH+v533AkadUDDxM7Zat4Nb1/cC4jyGxV8PmvKVJiB0q1KnfzJAjnZZmZ0GA5iPi9j5F8wgtgeVHhO4A0YkVkCKwFoXJbIAd/X9v0yrt37+fbZlWGi0MkLzbs9ag7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d+jx8AhTLu5b2q+v37D9SXDXBWeeOFF114waxGLGzFUBEjIRuDGIOUMJ0PNhLdBEGJKeKmsAf/bQp1SP1YWWrd7Pdn1a1aFU+nV8TrVs96b3Zi3Yqyrd+VWFoOdiWLYhX94dhg7aeuc88s65qh89f3lbgHE+l7pqAXb2ryhr/r+77T8/7f72sWS+QiaoGYNAjKsutff6O4WMSyHFV7+8b1LXLODSGSZUVoSK5A0Z4777qzpyCRvM6h8ZKLL85qIzZ/IKN9V13rSxy4olkb1tJKWv3E9N57V1emPpso7rV3zXS37/HcmIq3GkAb/r1FdXsrTwcXHewQPeQ8+psPN+9mkcvZdJHiGxgNQ7bH0PfLh0oH40PXrXY7T48PjvVXDOcYobuL9fy8SEe0K9YVaZ/LchMpWHuiM9Yd64l0gXZT+65FzIl1bvatadesxvIRfZXW57RbOHw+3nVLfCC6KhcXlRkS502cl+S9UWvLqKe4r/515+P7E8l/jvsd6epyA6n/ZSgFZazJNAerh/S15bZZafh+oSmZSpqUPfO7eQlKoBJKTpFdBIFjvOfm7/XOHidnMXPRXS+XGnsCt0toBY0pobbcyPojDYpPVKnZfHAs5qkVUuWxfmOgPMP7wnXmOYEiayZ/kcOazDjFS3ipN5PxF+374on7BAiqY3M8VcM9Kcwewc2cmVPOGSFZMiLUz4tut7X0987t11/t+GJ9VhOzLxIukkhUYhSTF2KGdlcM6I+a2kvnpO19PzQL4FOHW4y7DLnAxmT58HBJJWBMlQ+9TzLF5U1BVy64ynGgO7beUt4ccjb5Vrm2dkfXwcWL8YgND862ORaXdAY0f07X3NugvWrLSae1Tq0wBvoH/OYaE63sL9mlbu9UncZlEGf1s8CG99x5Z7eIZUHFEpe7itoqbyi7KrK/8WhLzE5pBA4jOkUOidKhtD513zrLYHB79OLYpUIKpyjqIfGoMxFaE9ngW2TK5vQLine truncated
|
||||
@font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAAMcoABQAAAACIVg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SrxTDeaD/o9sKh6PPFdqTTEcFkDLOrhmYpH635szFCIg4KKwMZUmlF+tGrRem9SuXr3VR3031hzN1Txt0kpdx6zbTtp5u2xPHKIYykQt3X4iK6/KuwIvyIIuuEJFaAk9YTWgCUwOzA8kB3ICZXKFXC3Xy63y95+HKnrSZxSIAlcEFFFFQpFW5BR5894ZDRLOBHBZRaPDztp0Rm/0QV+1aY6pAHfCJ+AL8wDqKOPxychL8pbACZKgCY5QFppCV5gPhAfiA9MCiwKZgUK5XK66m/YGjOaPKOIKQpFtq9nzIvyE/a0PZPhgoQDQwsib87fnob5YX6Tfps/S1+oDP3f5GL3qz9cAiPjNmy/0AHz5/+7bnnc+TzyPM07kefh58Hnguf/5GIBA7iTPk/PTqfYrqZQKVaxSVeiSrnPXRc+oW6d14clkenVV13VTt3VXffqmC5ZDBCYxhVmsN8x6OPwtQ6IEG5BsxGErLtvw2I7PjpeX/xlcmy2G2kiLine truncated
|
||||
@font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAANo0ABQAAAABw5wAANnAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoNJG+NQHJFiP01WQVKBBAZgP1NUQVSBYicuAIUuL3QRCAqClRSB7QQLhEwAMIPENgE2AiQDiRAEIAWNdgeLCAwHW+GrcUA2xSrj8Xqzqt7vcDOutoLdMgy1E/ncqmGr3EUHco+DocGCzf//OUmHDA24BYDSav30gpTm5oLukVWFEcnonETmsMyRwaxVlcU6uxC9iCZsnT5P+qBoOkFJiqiJxWuPNWT7PHCRw81p1qChF3rCbO9Tu7fKOEyVB/700RQcsJ+gQiqTRi2ocJv6bJMhDPbujiO3awaKVPgtloNHC3ypGDWXlJT8TCcDP38oPBpOaRPPvYUR27Ml25a6QKxwENkIP/a69v/FRGp+aQ7XI8XziaUuA2OXQYk21onIvMPT3P69d7HtlowxR4Zz4BwVR6VBW2SMlChRwmzEbMxGP1b9j1EBH3DbD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0bjOKtKFH8M7IQBlH8Ei8ULine truncated
|
||||
@font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAANo0ABQAAAABw5wAANnAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoNJG+NQHJFiP01WQVKBBAZgP1NUQVSBYicuAIUuL3QRCAqClRSB7QQLhEwAMIPENgE2AiQDiRAEIAWNdgeLCAwHW+GrcUA2xSrj8Xqzqt7vcDOutoLdMgy1E/ncqmGr3EUHco+DocGCzf//OUmHDA24BYDSav30gpTm5oLukVWFEcnonETmsMyRwaxVlcU6uxC9iCZsnT5P+qBoOkFJiqiJxWuPNWT7PHCRw81p1qChF3rCbO9Tu7fKOEyVB/700RQcsJ+gQiqTRi2ocJv6bJMhDPbujiO3awaKVPgtloNHC3ypGDWXlJT8TCcDP38oPBpOaRPPvYUR27Ml25a6QKxwENkIP/a69v/FRGp+aQ7XI8XziaUuA2OXQYk21onIvMPT3P69d7HtlowxR4Zz4BwVR6VBW2SMlChRwmzEbMxGP1b9j1EBH3DbDdCcdsQEon7JRfwSB2JOgISEoFrXAasoq9ikuqrMWEV/62jp5u1E+1v/V5m3nf1UU7+qXlFXNUotNMcB/IgeADjNAt72urO3lVp2YBGuBJyZT+j874Adx5a4m6t4+H87sPv+xERJd6LbnJR0C9XSut7hn/pD3nP3/VCsEWY8IKVyL0BRbPrJwpkALvSfe/ntnpvXkl+oTdlum8K2LiSDUyiDU4xHZ6hWWmURJHAkUCRwVVYWcFc1qyW2TDDkPQCUy/ISPQnRMEiSLBlE0Gqe0tm/u7JkGT8STP/bEDVVzrq7D1ilTqbPpASCR+Q7gyzJwiWc/zr//9vnfT/qQEpcRgoKK0nFOCd9V1qjXj3ukTmFPIN8B77N7El80zWp+LXb3t1TsS//NOl0e2JW0WxECQkSbGAYYRgxQQcLGfht9f844fRGn+hkZjZuva6/iAQxMBsTRBRsREHF6MneytsxPPxzr75PAd4cWpYTG2v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f2emgJlmE1OrEGLwze9vTyQom9s3/vYywsGgv22B9x5IhjTJ5YOb12pjm7cc55F5qLj25XXXMz7gzjnuI+8SB5Fs8VL/BSv/8NGDREh5krkFcIFilrNmzZsedAzhvdc3a3TAprp7fObeDqdrvdblT3f3bbufl+E4BoTAS81czMRESkxMTMzMzMfGNzkCr4IPhwwgxc3FsEAJiZKzMYAAAAeBamvWW367vZplUq9gSVmSSp72dTbxER4SofXDI07b0w+uLW3GOci7O4ePgEhCu4/xu3SVBnco+soMDgCCQKjcHiGv7ITwECkUSmUGl0RoYzq9jC5nB5fIFwiKZuiyPx+hEjRWkU1V+dTy4XVw1uHx8w+WF4PbzDpwnfxA8d/giIQAQJFiI0wi6H8FtEiGyiSrQYo40ZxrbY4RB3iUeCREmSY3w7THhMVEySyU3KLVWadBkyI0uyI0dyh7xT/nUUmEJFikPd/LXkUhplR5RLRVMZUyarHtW3msNazbpx1CsaGo1/brpiKU7n4xWgIP4o+U4ePZjydRr25K9KhImUIlWadBkyZatWc19jdz8U3lqP/XJRt6uuuemeB+NCsREhMo+TRkREWmRP5q5Zo0bjOKtKFH8M7IQBlH8Ei8ULine truncated
|
||||
|
Before Width: | Height: | Size: 322 KiB After Width: | Height: | Size: 322 KiB |
+1
-1
@@ -140,7 +140,7 @@ flowchart TD
|
||||
QS -- "answers" --> BODY
|
||||
QS -- "timeout" --> BODY
|
||||
|
||||
BODY["generate_skill_body()<br/>or regenerate_skill_body() for repair<br/>SKILL.md + bridge catalog<br/>declares INTEGRATION + flat CONTRACT"] --> FID["SemIf choice<br/>phase 'authoring:fidelity'<br/>accept / reconsider<br/>+ static integration_findings"]
|
||||
BODY["generate_skill_body()<br/>or regenerate_skill_body() for repair<br/>CODEGEN.md + bridge catalog<br/>declares INTEGRATION + flat CONTRACT"] --> FID["SemIf choice<br/>phase 'authoring:fidelity'<br/>accept / reconsider<br/>+ static integration_findings"]
|
||||
FID -- "reconsider" --> BODY
|
||||
FID -- "accept" --> CONTRACT["parse_contract()<br/>read body's CONTRACT constant"]
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ Two boundaries matter:
|
||||
every code-generation prompt (body, retry, regen, elicitation, testgen) and is
|
||||
the single source of bridge specifics: the model learns which real services it
|
||||
may build against, each one's base-URL config var, auth header/token var,
|
||||
config-var docs, and its endpoints with request/response/error shapes. SKILL.md
|
||||
config-var docs, and its endpoints with request/response/error shapes. CODEGEN.md
|
||||
and TESTGEN.md carry only the generic pattern.
|
||||
"""
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ def describe_bridges() -> str:
|
||||
prompts so codegen knows which real services it may build a skill against,
|
||||
how to reach and authenticate to each one, and which `ctx.config` variables
|
||||
carry its URL, token, and other values. This is the single source of bridge
|
||||
specifics — SKILL.md/TESTGEN.md carry only the generic pattern. Static: no
|
||||
specifics — CODEGEN.md/TESTGEN.md carry only the generic pattern. Static: no
|
||||
bridge needs to be running or enabled.
|
||||
"""
|
||||
lines = [
|
||||
|
||||
+13
-8
@@ -2,7 +2,7 @@
|
||||
|
||||
The small `llm` provider authors a skill's title + description; writing the
|
||||
runnable body is a separate step: a larger OpenAI-compatible model (a
|
||||
code-capable model on your configured codegen endpoint) is prompted with the SKILL.md contract plus the request
|
||||
code-capable model on your configured codegen endpoint) is prompted with the CODEGEN.md contract plus the request
|
||||
and the existing tree, and must reply with valid Python implementing `act` plus
|
||||
the `INTEGRATION` and `CONTRACT` module constants. The shared provider transport
|
||||
lives in `provider.py`.
|
||||
@@ -23,7 +23,7 @@ from .decisions import Request
|
||||
from .provider import OpenAICompatClient, ProviderError
|
||||
from .skills import SkillDraft, tree_summary
|
||||
|
||||
DEFAULT_CONTRACT = Path(__file__).resolve().parent.parent / "SKILL.md"
|
||||
DEFAULT_CONTRACT = Path(__file__).resolve().parent.parent / "CODEGEN.md"
|
||||
|
||||
|
||||
class CodegenError(ProviderError):
|
||||
@@ -47,11 +47,11 @@ def read_skill_contract(path: str | None = None) -> str:
|
||||
|
||||
|
||||
def skill_contract_ref(path: str | None = None) -> dict:
|
||||
"""Provenance pointer for the SKILL.md revision at authoring time.
|
||||
"""Provenance pointer for the CODEGEN.md revision at authoring time.
|
||||
|
||||
Returns {"ref": str | None, "dirty": bool | None}. `ref` is the short git
|
||||
commit sha the contract was read under — revivable with
|
||||
`git show <ref>:SKILL.md` — and `dirty` records whether the working-tree
|
||||
`git show <ref>:CODEGEN.md` — and `dirty` records whether the working-tree
|
||||
contract differed from that commit. Both are None when the contract is not
|
||||
inside a git checkout (the pointer degrades to nothing rather than a
|
||||
non-revivable hash). Any subprocess failure degrades the same way; only a
|
||||
@@ -107,10 +107,15 @@ BODY_DIRECTIVES = (
|
||||
"for operational data. Ask the human only to refine the product goal and "
|
||||
"requirements.\n"
|
||||
"Write a single `act(ctx, request)` function. Declare the required "
|
||||
"operational values as a module-level `CONTRACT` dict exactly as SKILL.md "
|
||||
"operational values as a module-level `CONTRACT` dict exactly as CODEGEN.md "
|
||||
"specifies: a flat map of variable name -> semantic description. Every key "
|
||||
"in CONTRACT must be read from `ctx.config`; do not declare optional "
|
||||
"values with safe defaults — read those with `ctx.config.get(...)` instead.\n"
|
||||
"Read `request.text` and derive the action's per-request arguments from it "
|
||||
"(recipient, subject/body, date, target, search terms); never declare a "
|
||||
"query argument in CONTRACT and never ask the human for one. Return the real "
|
||||
"result in `new_state` and a truthful `action_log` — the fetched data or the "
|
||||
"service's real response, never an empty or placeholder output.\n"
|
||||
"Perform the real action: if this skill interacts with an external system, "
|
||||
"`act` must call the user's configured service with a stdlib transport "
|
||||
"(urllib.request/http.client for HTTP, imaplib/smtplib/poplib for mail, "
|
||||
@@ -122,7 +127,7 @@ BODY_DIRECTIVES = (
|
||||
"no localhost defaults, test ports, or fixture values may appear in the "
|
||||
"body.\n"
|
||||
"Declare the integration as a module-level `INTEGRATION` dict exactly as "
|
||||
"SKILL.md specifies: service, transport, config_vars.\n"
|
||||
"CODEGEN.md specifies: service, transport, config_vars.\n"
|
||||
"If this skill interacts with one of the available bridge services listed "
|
||||
"below, call that bridge over HTTP with the URL from its config variable — "
|
||||
"never speak the service's native protocol directly (no WebSocket to "
|
||||
@@ -146,7 +151,7 @@ def _requirements_block(requirements: dict[str, str] | None) -> str:
|
||||
def _integration_hint_block(draft: SkillDraft) -> str:
|
||||
"""Advisory integration hint from elicitation: service + transport.
|
||||
|
||||
Never overrides the request, requirements, or SKILL.md contract — it only
|
||||
Never overrides the request, requirements, or CODEGEN.md contract — it only
|
||||
biases the body writer toward the integration the questions were aiming at.
|
||||
"""
|
||||
integration = getattr(draft, "integration", None) or {}
|
||||
@@ -172,7 +177,7 @@ def build_skill_body_prompt(
|
||||
"""Messages for the code-generation model.
|
||||
|
||||
The small model already chose the title + description; the big model only
|
||||
writes the runnable body against the SKILL.md contract, informed by the
|
||||
writes the runnable body against the CODEGEN.md contract, informed by the
|
||||
request, the category, and the existing skills so it avoids duplication.
|
||||
`requirements` carries the answers to elicitation questions asked of the
|
||||
human during authoring.
|
||||
|
||||
@@ -112,7 +112,7 @@ class SkillDraft:
|
||||
authoring) to their answers; they are fed to the body-writer so the body
|
||||
reflects the refined product goal. `integration` carries the service and
|
||||
transport the answers point at; it is fed to the body writer as an advisory
|
||||
hint only — the SKILL.md contract, request, and requirements still win.
|
||||
hint only — the CODEGEN.md contract, request, and requirements still win.
|
||||
"""
|
||||
|
||||
name: str
|
||||
|
||||
@@ -133,7 +133,7 @@ function eventRow(evt) {
|
||||
} else if (evt.kind === "skill_writing") {
|
||||
div.textContent = `writing skill ${evt.skill} — ${evt.description} (${evt.model || "codegen"})`;
|
||||
if (evt.contract_ref) {
|
||||
div.title = `SKILL.md @ ${evt.contract_ref}${evt.contract_dirty ? "*" : ""}`;
|
||||
div.title = `CODEGEN.md @ ${evt.contract_ref}${evt.contract_dirty ? "*" : ""}`;
|
||||
}
|
||||
} else if (evt.kind === "skill_created") {
|
||||
div.textContent = `created ${evt.skill}${evt.written ? " (body written)" : " (stub)"}`;
|
||||
@@ -421,7 +421,7 @@ function eventNode(evt) {
|
||||
if (evt.contract_ref) {
|
||||
const ref = document.createElement("div");
|
||||
ref.className = "muted";
|
||||
ref.textContent = `SKILL.md @ ${evt.contract_ref}${evt.contract_dirty ? "*" : ""}`;
|
||||
ref.textContent = `CODEGEN.md @ ${evt.contract_ref}${evt.contract_dirty ? "*" : ""}`;
|
||||
body.appendChild(ref);
|
||||
}
|
||||
const badge = document.createElement("span");
|
||||
|
||||
+28
-7
@@ -96,7 +96,7 @@ def test_read_skill_contract_loads_contract():
|
||||
|
||||
def test_skill_contract_ref_returns_git_commit_in_repo():
|
||||
"""In a git checkout the ref is the real short HEAD sha (revivable with
|
||||
`git show <ref>:SKILL.md`), and dirty is a bool. Real subprocess, no
|
||||
`git show <ref>:CODEGEN.md`), and dirty is a bool. Real subprocess, no
|
||||
mocking."""
|
||||
repo = Path(__file__).resolve().parent.parent
|
||||
git = subprocess.run(
|
||||
@@ -114,7 +114,7 @@ def test_skill_contract_ref_returns_git_commit_in_repo():
|
||||
def test_skill_contract_ref_degrades_off_repo(tmp_path):
|
||||
"""Outside a git checkout the pointer degrades to None rather than a
|
||||
non-revivable hash; a missing contract still raises like read_skill_contract."""
|
||||
contract = tmp_path / "SKILL.md"
|
||||
contract = tmp_path / "CODEGEN.md"
|
||||
contract.write_text("contract\n")
|
||||
info = skill_contract_ref(str(contract))
|
||||
assert info == {"ref": None, "dirty": None}
|
||||
@@ -123,7 +123,7 @@ def test_skill_contract_ref_degrades_off_repo(tmp_path):
|
||||
|
||||
|
||||
def test_contract_directs_runner_provided_data():
|
||||
"""SKILL.md must tell the model that data comes from the runner via
|
||||
"""CODEGEN.md must tell the model that data comes from the runner via
|
||||
ctx.config — never embedded, fabricated, or asked of the human. Mock-data
|
||||
directives belong in TESTGEN.md, not here."""
|
||||
text = read_skill_contract()
|
||||
@@ -133,6 +133,27 @@ def test_contract_directs_runner_provided_data():
|
||||
assert "internal/mock data model" not in text
|
||||
|
||||
|
||||
def test_contract_directs_request_arguments_and_output():
|
||||
"""CODEGEN.md must steer the body writer to derive per-request arguments
|
||||
from the query and to return the real result — the difference between a
|
||||
body that merely runs and one that turns a query into the desired output."""
|
||||
text = read_skill_contract()
|
||||
assert "Turning the request into arguments" in text
|
||||
assert "Producing the result (output)" in text
|
||||
assert "request.text" in text
|
||||
assert "per-request" in text
|
||||
assert "new_state" in text
|
||||
assert "No work at import time" in text
|
||||
|
||||
|
||||
def test_body_directives_require_query_arguments_and_output():
|
||||
"""The prompt directives (used by the first, retry, and regen prompts) must
|
||||
echo the query->arguments and real-output requirements, not just CODEGEN.md."""
|
||||
assert "request.text" in BODY_DIRECTIVES
|
||||
assert "per-request" in BODY_DIRECTIVES
|
||||
assert "new_state" in BODY_DIRECTIVES
|
||||
|
||||
|
||||
def test_testgen_contract_owns_mocking():
|
||||
"""Mocking/testing has its own contract: TESTGEN.md. It must define the
|
||||
flat semantic contract shape and forbid structure/type declarations."""
|
||||
@@ -433,8 +454,8 @@ def test_generate_skill_body_end_to_end(tmp_path):
|
||||
|
||||
|
||||
def test_sent_payload_system_message_contains_contract_phrase():
|
||||
"""The real SKILL.md contract must actually reach the model: the recorded
|
||||
HTTP payload's system message carries a SKILL.md phrase (no mocking — the
|
||||
"""The real CODEGEN.md contract must actually reach the model: the recorded
|
||||
HTTP payload's system message carries a CODEGEN.md phrase (no mocking — the
|
||||
fake server records the real request body)."""
|
||||
httpd, base = _fake_server(GOOD_BODY)
|
||||
try:
|
||||
@@ -1664,7 +1685,7 @@ def test_regenerate_skill_body_rewrites_from_raw_evidence(tmp_path):
|
||||
# ---- real-action contract + integration declaration ----
|
||||
|
||||
def test_skill_contract_directs_real_actions():
|
||||
"""SKILL.md must forbid simulation and name the stdlib transports a body
|
||||
"""CODEGEN.md must forbid simulation and name the stdlib transports a body
|
||||
uses for real integrations; fixture addresses must not appear in the body."""
|
||||
text = read_skill_contract()
|
||||
assert "Perform the real action" in text
|
||||
@@ -1685,7 +1706,7 @@ def test_skill_contract_lists_all_transports():
|
||||
|
||||
def test_skill_contract_documents_bridge_pattern_only():
|
||||
text = read_skill_contract()
|
||||
# The generic pattern lives in SKILL.md; the bridge specifics do not.
|
||||
# The generic pattern lives in CODEGEN.md; the bridge specifics do not.
|
||||
assert "describe_bridges()" in text
|
||||
assert "never speak a service's native protocol" in text
|
||||
assert "simplex_bridge_url" not in text
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"""The committed seed skills are real, inspectable, and hermetically tested.
|
||||
|
||||
A seed is a starter integration shipped in the repo in the SKILL.md folder
|
||||
A seed is a starter integration shipped in the repo in the CODEGEN.md folder
|
||||
format. These tests keep every seed honest: the declared integration must match
|
||||
the code, the contract must cover what the body reads, and the hermetic
|
||||
mechanics test must pass. They are not proof of the live integration — only a
|
||||
|
||||
Reference in new issue
Block a user