Skip to content

premise: the task is an instruction (decision 010) - #6

Merged
alkisyuv merged 2 commits into
mainfrom
feat/premise
Aug 28, 2026
Merged

premise: the task is an instruction (decision 010)#6
alkisyuv merged 2 commits into
mainfrom
feat/premise

Conversation

@alkisyuv

Copy link
Copy Markdown
Member

etymd premise "<task>". The task you hand an agent is an instruction too. Whatever it names (paths, scripts, well-known docs, D-NNN ids) gets checked against the repo with the shared truth checks. A missing thing the task is about ranks as risk. A brief hands the agent the premises only it can verify. Flags: --file (- reads stdin), --json (schema premise/1), --no-brief, --fail-on <tier>. Zero trace without .etymd/, no ledger.

What ships

Change Bump
etymd premise. Decision 010 widens the objective one notch: an instruction is anything we tell an agent, in a file or in the prompt minor
The command, path, doc-reference and D-NNN reference truth checks are now one shared implementation (checks.ts), used by instruction-truth and premise alike. Existing ids, tiers and disclosures don't change none

One changeset, 0.15.0. No pack change.

Second commit, review fixes

Promoting bare prose tokens with the code-span filters as-is accused ordinary prose: a package manager before any noun, a slash-joined phrase with a trailing slash, a scheme-less URL, each a RISK, each false. Prose is stricter than a code span now, and every class we leave as prose is disclosed. Also, the D-NNN check existed in two copies, now shared. The brief heading stays on one line for multi-line tasks, ~/ doc mentions are disclosed, --file - reads stdin, and the command layer is tested.

Gates: format, typecheck, tests, build, self-audit, content screen. All green.

`etymd premise "<task>"` checks every path, script, well-known doc and decision id a
task names against the repo, with the same precision rules instruction files get, and
writes a brief handing the agent the premises only it can verify. A missing thing the
task is about ranks as risk. `--file`, `--json` (schema premise/1), `--no-brief`,
`--fail-on`. Zero trace without `.etymd/`; no ledger.

The command/path/doc-reference truth checks move into one shared implementation
(`checks.ts`) used by instruction-truth and premise alike — ids, tiers and disclosures
of existing findings are unchanged.

The objective widens by one notch, everywhere it is stated: an instruction is anything
told to an agent, in a file or in the prompt. Decision record: docs/decisions/010.
Promoting bare tokens with the code-span filters as-is accuses ordinary
prose: a package manager named before any noun, a slash-joined phrase
with a trailing slash, a URL with its scheme dropped — each a RISK, each
false. Prose is now stricter than a code span: a script needs the `run`
form (or the `npm test` / `npm start` shorthands), a directory claim
needs a first segment that exists, a host-shaped first segment is a
URL. Every class left as prose is counted and disclosed.

The `D-NNN` reference check moves into the shared checks (it existed in
two copies), and every check returns what it examined beside what it
flagged, so premise never re-runs the extractors. The brief heading
stays on one line for multi-line tasks, `~/` doc mentions are disclosed,
`--file -` reads stdin, and the command layer is tested.
@alkisyuv
alkisyuv merged commit 062b801 into main Aug 28, 2026
1 check passed
@alkisyuv
alkisyuv deleted the feat/premise branch August 28, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant