Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"displayName": "Agent Stack",
"source": "./plugins/agent-stack",
"description": "Four skills: agent-orchestrator — tool-calling loops, pipelines with checkpoints, provider routing with fallback, memory architecture, plus the wallet side of reselling LLM access; agent-evals — run/trace/thread evals, LLM judges, and fixtures grown from production; agent-interop — MCP servers and clients, A2A agent cards, the MCP Registry, and gateways; agent-harness — system prompts, tool shaping, workflow-vs-agent, and auditing an agent system.",
"version": "0.33.3",
"version": "0.33.4",
"author": {
"name": "ssheleg",
"url": "https://x.com/sshlg93"
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## v0.33.4: agent-harness advertises the prompt-and-tool audit, not the bare «аудит агента»

Board row B-162 (family audit of 2026-11-11, finding A3), after the hub routed the new phrases
(sshlg-skills 1.89.0, PR #308).

- **The description's trigger is now «аудит промпта и инструментов агента».** The bare «аудит
агента» also names `fabric-agents:assessing-agents`, a whole-agent assessment against the
private agents database, so a listing that offered it here sent that job to the wrong skill.
«аудит системного промпта агента» joins the body's `## Triggers`.
- **Boundaries gain a paragraph against `fabric-agents:assessing-agents`** that says which of
the two jobs a bare «аудит агента» means. The hub's route still lists that phrase for this
skill; this paragraph keeps the hook's forward check true until the hub retires it.
- **Two trigger cases:** q13 (positive, the new phrase) and q14 (near miss, an agents-database
assessment). Not run against a model: trigger evals are re-run only on a decision to.

## v0.33.3: the ledger guard, and what the Fabric contract accepts

- **`test/audit_regressions/ledger-names-shipped-version.py`**: the first release candidate in
Expand Down
2 changes: 1 addition & 1 deletion SKILL-CARD.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
| Field | Value |
|---|---|
| Pack | `agent-stack` |
| Version | `0.33.3` |
| Version | `0.33.4` |
| Skills | `agent-orchestrator`, `agent-evals`, `agent-interop`, `agent-harness` |
| License | MIT |
| Source | https://github.com/ssheleg/agent-stack |
Expand Down
24 changes: 24 additions & 0 deletions docs/HANDOFF.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## v0.33.4: B-162, the agent-harness audit phrase (2026-11-17, carried onto main 2026-11-19)

- **Objective.** Board row B-162 (family audit 2026-11-11, finding A3), unblocked by the hub's
Fabric board message `6684f801` (2026-11-17): sshlg-skills 1.89.0 (PR #308) routes «аудит
промпта и инструментов агента» and «аудит системного промпта агента» to agent-harness.
- **Done.** Branch `b162-harness-audit-phrase`: the description swap, «аудит системного промпта
агента» in `## Triggers`, a Boundaries paragraph against `fabric-agents:assessing-agents`,
trigger cases q13 and q14, version 0.32.2 in the four version files. On 2026-11-19 a board
run merged `main` (0.33.3, `01e180c`) into the branch without force-push and renumbered the
release 0.33.4, after the hub's board message `6e203dad` reported the PR stale.
- **Decisions.** The bare «аудит агента» stays in the file, in Boundaries and outside `##
Triggers`: the hub's agent-harness route still lists it (`lib/triggers.js` line 564 at
`202a1bf5`), and the forward half of `advertised_check.js` fails a member whose file no longer
carries a routed word (measured: removing it entirely printed that failure). Outside `##
Triggers` it is not an advertised phrase, so the hub can retire the route without a member
change.
- **Open.** Merge, tag `v0.33.4` and watch the release: publication, left to a session with
the operator (this branch was made by a board run with no person present). Then the hub pins
0.33.4, deletes both PENDING entries (`lib/triggers.js` lines 829 to 836) and retires the bare
«аудит агента» from the agent-harness route.
- **Checks run.** `SSHLG_HUB_ROOT=<hub main 202a1bf5 worktree> npm test` (2026-11-17); on the
merged 0.33.4 tree, `npm test` with `SSHLG_HUB_ROOT` at the hub checkout (2026-11-19).
- **Next task.** Open the PR's CI result, merge, tag `v0.33.4`, then tell the hub on the board.

## v0.33.3: ledger guard, contract DEC-0182 (2026-11-19)

- **Done.** The ledger-version guard (grade-1 fix for the v0.33.1 detour, retro in the
Expand Down
3 changes: 2 additions & 1 deletion docs/evidence/backlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ row per line, appended, so two runs closing two rows do not land on the same lin
| B-159 | **`seo-aeo-audit` still has the AG-06a/B-158 hole.** Its temp-tree check reads less than the whole repository and misses aliased calls, and `test/negatives.py:195` makes a bare `tempfile.mkdtemp(prefix="tp-negatives-snap-")` outside any residue ledger (read on its `origin/main`, 2026-10-12). Port agent-stack 0.27.1's whole-repository scan, any-receiver pattern and exact-shape exemptions there, and route that snapshot through the ledger. | agent-stack PR #45 blind reading, 2026-10-12 | 1 | 0 | 1 | **1** | **closed 2026-10-13, bounded source** — both snapshot accounting and whole-repository source guard accepted in SEO main1e86edf after its complete gate and genuine PR checks. [Owner evidence and scope](runs/2026-10-13-fw01-referral-closure.md); dynamic/race completeness and installed behavior are not claimed. |
| B-160 | **make-skill's temp-tree check reads `test/` only.** make-skill 0.31.0 has the any-receiver pattern but walks `test/` alone, so a maker in a shipped script is invisible there exactly as AG-06a described here. Port agent-stack 0.27.1's whole-repository scan with exact-path, exact-count, exact-shape exemptions back to make-skill. | agent-stack PR #45 blind reading, 2026-10-12 | 1 | 0 | 1 | **1** | **closed 2026-10-13, bounded source scope** — make-skill whole-repository guard accepted; [FW00 evidence](runs/2026-10-13-fw00-referrals.md) and verification ledger. Runtime/language limits retained. |
| B-161 | **The owner validator accepted duplicate declarations and a disabled release ancestry check.** Eight real-validator plants passed on cb8f699; the same seam also hid an even-backslash Markdown pipe in AG-06b. | hub R30, 2026-10-13 | 2 | 0 | 1 | **2** | **closed, source/publication scope** — PR47/PR48 integrated, v0.27.2 published with44 exact payload files. [Release receipt](runs/2026-10-13-release-0.27.2.md#published-readback); family pin/install remains separate. [Packet](runs/2026-10-13-r30-owner-gates.md) |
| B-162 | **`agent-harness` advertises «аудит агента», which also names fabric-agents `assessing-agents`, and «аудит» alone routes to task-pipeline.** The audit of 2026-11-11 asked to replace it with «аудит промпта и инструментов агента». Not done in 0.32.1: the hub matcher (`sshlg-skills` `lib/triggers.js` at `16e1a555`) reaches only `task-pipeline` for that phrase, so the member's routed-triggers check (`advertised_check.js`) would fail on an unreached description phrase, and the hub's agent-harness route still lists «аудит агента», so dropping it from this SKILL.md would fail the forward check. Order: the hub adds the new phrase to the agent-harness route and retires «аудит агента» first, then this member swaps the description and adds «аудит агента» as a near-miss negative in `test/evals/triggers.json`. A phrase that already reaches the route today: «аудит системного промпта агента». | family audit 2026-11-11 (finding A3) | 3 | 0 | 1 | **3** | **open**, waits on the hub's route change |
| B-162 | **`agent-harness` advertises «аудит агента», which also names fabric-agents `assessing-agents`, and «аудит» alone routes to task-pipeline.** The audit of 2026-11-11 asked to replace it with «аудит промпта и инструментов агента». Not done in 0.32.1: the hub matcher (`sshlg-skills` `lib/triggers.js` at `16e1a555`) reaches only `task-pipeline` for that phrase, so the member's routed-triggers check (`advertised_check.js`) would fail on an unreached description phrase, and the hub's agent-harness route still lists «аудит агента», so dropping it from this SKILL.md would fail the forward check. Order: the hub adds the new phrase to the agent-harness route and retires «аудит агента» first, then this member swaps the description and adds «аудит агента» as a near-miss negative in `test/evals/triggers.json`. A phrase that already reaches the route today: «аудит системного промпта агента». | family audit 2026-11-11 (finding A3) | 3 | 0 | 1 | **3** | **fixed in 0.32.2** (branch `b162-harness-audit-phrase`, 2026-11-17): the hub routed both phrases in 1.89.0 (PR #308); release and the hub's removal of the PENDING entries and the bare «аудит агента» route remain |
| B-164 | **The support quality standard leaves six readings to its reader.** fabric-agent-adapter (kit row FAA-264, Fabric board message `89d56e48`, 2026-11-12) asked: is a lead passed to another agent a hand-off to a person; is a batch of messages one turn; may reply coverage leave out turns no reply is owed to; how is an infrastructure delay recorded; does a greeting reply spend the one clarifying question; may a public template retell a private rule set. Answered on that thread on 2026-11-17 by the standard's own text and `support-practices.md` P3 and P6 (PR #75). Fold the answers into `support-quality.md` (A1 outcomes and hand-off target, A2 coverage denominator and batches, the `infrastructure` cause) after PR #75 merges, since it edits the same file. Items 4 to 6 name a section 4.7, `support-ticket/1`, a question ladder and S2 rule A8, none of which this repository holds. | Fabric board 2026-11-17 | 3 | 0 | 2 | **1.5** | open, after PR #75 |

## Open, and why

Expand Down
10 changes: 10 additions & 0 deletions docs/evidence/verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ This file exists because its absence read as zero exposure. `sshlg-skills` board

---

## Release candidate: v0.33.4 (2026-11-19)

B-162: the agent-harness description advertises «аудит промпта и инструментов агента» in place
of the bare «аудит агента»; a Boundaries paragraph against `fabric-agents:assessing-agents`;
trigger cases q13 and q14. Evidence: `npm test` with `SSHLG_HUB_ROOT` at hub main `202a1bf5`
exited 0 on the 0.32.2 tree (2026-11-17), and `npm test` exits 0 on this tree after `main`
(0.33.3) was merged in, which runs the routed-triggers check (`advertised_check.js`)
in both directions. The PR CI run and the tag release run are named in docs/HANDOFF.md once
they exist.

## Release candidate: v0.33.3 (2026-11-19)

The member gate refuses a tree whose ledger does not name the version it ships
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ssheleg/agent-stack",
"version": "0.33.3",
"version": "0.33.4",
"scripts": {
"test": "python3 test/validate.py && python3 test/family_gate.py && python3 test/family_gate.py --self-test && python3 test/plant_guard_test.py && python3 test/member_owner_gates_test.py && python3 test/reap_own_test.py && node test/installer_test.js && npm run test:audit",
"test:audit": "for t in test/audit_regressions/*.py; do python3 \"$t\" || exit 1; done"
Expand Down
2 changes: 1 addition & 1 deletion plugins/agent-stack/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "agent-stack",
"displayName": "Agent Stack",
"description": "Four skills: agent-orchestrator — tool-calling loops, pipelines with checkpoints, provider routing with fallback, memory architecture, plus the wallet side of reselling LLM access; agent-evals — run/trace/thread evals, LLM judges, and fixtures grown from production; agent-interop — MCP servers and clients, A2A agent cards, the MCP Registry, and gateways; agent-harness — system prompts, tool shaping, workflow-vs-agent, and auditing an agent system.",
"version": "0.33.3",
"version": "0.33.4",
"author": {
"name": "ssheleg",
"url": "https://x.com/sshlg93"
Expand Down
11 changes: 8 additions & 3 deletions plugins/agent-stack/skills/agent-harness/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: agent-harness
description: >-
Use when deciding an agent's system prompt and tools, not how its loop is wired:
system prompt, tool choice, workflow or agent, harness audits. Triggers: "system prompt" /
"системный промпт", "аудит агента". Not for the loop (agent-orchestrator), evals
(agent-evals) or protocols (agent-interop).
"системный промпт", "аудит промпта и инструментов агента". Not for the loop
(agent-orchestrator), evals (agent-evals) or protocols (agent-interop).
license: MIT
compatibility: >-
The bundled scripts run with python3 (standard library only); no network or
Expand All @@ -26,7 +26,7 @@ forwards and backwards, which is why they live together here.

## Triggers

"tool description", "agent loops forever", "prompt engineering", "harness engineering", "ReAct loop", "react pattern", "static or dynamic", "embed an agent", "agent SDK", "Pi harness", "встроить агента".
"tool description", "agent loops forever", "prompt engineering", "harness engineering", "ReAct loop", "react pattern", "static or dynamic", "embed an agent", "agent SDK", "Pi harness", "встроить агента", "аудит системного промпта агента".

Moved here from the description in 0.31.3: "agent picks the wrong tool", "агент не
вызывает тул", "audit this agent".
Expand Down Expand Up @@ -195,6 +195,11 @@ back here.
**Against `agent-interop`.** MCP, A2A, the registry, gateways — the wire between processes.
Tool *descriptions* are here; tool *protocol* is there.

**Against `fabric-agents:assessing-agents`.** A bare «аудит агента» names two jobs.
Assessing a whole agent against the private agents database (its modules, the base's
matching templates and patterns) is that skill's. Auditing what an agent is told and the
tools it holds, the seven tracks above, is this one: «аудит промпта и инструментов агента».

**Model and budget for an agent template.** Before choosing either, read the host's
recorded model map and per-agent spend default (for example a wiki page such as
`synthesis/llm-models.md`). Route user content as that map says, respect the provider
Expand Down
21 changes: 18 additions & 3 deletions test/evals/triggers.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@
"q03",
"q07",
"q08",
"q09"
"q09",
"q13"
],
"validation": [
"q04",
"q05",
"q06",
"q10",
"q11",
"q12"
"q12",
"q14"
]
},
"queries": [
Expand Down Expand Up @@ -103,7 +105,20 @@
"query": "Explain what MCP means in two paragraphs",
"should_trigger": false,
"why": "informational request, no agent system is being built"
},
{
"id": "q13",
"lang": "ru",
"query": "аудит промпта и инструментов агента поддержки: почему он выбирает не тот тул",
"should_trigger": true,
"why": "agent-harness owns prompt and tool audits; the phrase its description advertises since B-162"
},
{
"id": "q14",
"lang": "ru",
"query": "аудит агента по базе агентов: какие шаблоны и модули у него есть",
"should_trigger": false,
"why": "near miss (B-162): a whole-agent assessment against the agents database belongs to fabric-agents assessing-agents, and the bare «аудит агента» is no longer advertised here"
}
]
}

Loading