paqad-ai 1.77.1 → 1.78.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist/cli/index.js +10 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +84 -3
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/runtime/AGENT-BOOTSTRAP.md +4 -270
- package/runtime/AGENT-ROUTER.md +273 -0
- package/runtime/hooks/agent-entry-gate.mjs +7 -4
- package/runtime/hooks/agent-entry-prompt-gate.mjs +9 -5
- package/runtime/hooks/lib/agent-entry-directive.mjs +44 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# paqad-ai
|
|
2
2
|
|
|
3
|
+
## 1.78.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a9db95e: Skip end-of-change enforcement and all completion checks when the session never
|
|
8
|
+
routed to feature-development (#499). Previously a dirty working tree (for
|
|
9
|
+
example a file hand-edited before the session) was swept up by the `git status`
|
|
10
|
+
fallback, classified as a feature-development change by file path alone, and the
|
|
11
|
+
in-session completion seam blocked the turn demanding planning/spec/review/checks
|
|
12
|
+
stages the session never owed. The completion backstop now consults the per-message
|
|
13
|
+
route: for a question, pentest, docs task, RCA, or small-talk session it runs no
|
|
14
|
+
gate, mints no inferred-git record, writes no evidence, and never blocks — it
|
|
15
|
+
returns an ok "verification not applicable" verdict and records one audit row.
|
|
16
|
+
An absent/unknown route still runs the full pass (fail-closed), and a session that
|
|
17
|
+
recorded any agent-authored code edit re-arms full enforcement. The git/CI
|
|
18
|
+
backstop and the pre-mutation gates are unchanged.
|
|
19
|
+
|
|
20
|
+
## 1.78.0
|
|
21
|
+
|
|
22
|
+
### Minor Changes
|
|
23
|
+
|
|
24
|
+
- 2e48cdc: Enablement-first entry flow: the gate speaks the verdict and the bootstrap splits into a gate + a router.
|
|
25
|
+
|
|
26
|
+
On a cold first turn the agent used to load the entire ~290-line `AGENT-BOOTSTRAP.md` — router, narration, stage protocol, and decision-pause contract — and narrate a workflow route before it had even checked whether paqad was enabled. Two fixes land:
|
|
27
|
+
|
|
28
|
+
- **The prompt-gate states the verdict.** The Claude Code `UserPromptSubmit` gate already resolves enablement deterministically and stays byte-for-byte silent when paqad is OFF, so if its `[paqad]` directive fires at all, paqad is ON. The directive now says so as its first line and marks enablement a done step, so the agent spends zero tool calls re-checking it. The numbered load-step prose that was hand-duplicated in both entry hooks now lives in one shared `runtime/hooks/lib/agent-entry-directive.mjs` module, and the stale hardcoded workflow count is gone.
|
|
29
|
+
- **The bootstrap splits into a gate + a router.** `AGENT-BOOTSTRAP.md` is now a ~23-line enablement gate (the precedence probe, the OFF bail-out, and a single "load `AGENT-ROUTER.md` when ON" pointer). The router, always-load list, sentinel, and the full narration and Decision Pause contracts move to a new `AGENT-ROUTER.md`, loaded only when enablement resolves ON. A disabled project never ingests any router or contract prose.
|
|
30
|
+
|
|
31
|
+
Both files ship in the install directory and are reached through the existing entry-stub chain, so the split lands on every provider (Claude Code, Codex, Gemini, and the advisory hosts) with no entry-file or project churn. The enablement resolvers and the sentinel semantics are unchanged.
|
|
32
|
+
|
|
3
33
|
## 1.77.1
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
package/dist/cli/index.js
CHANGED
|
@@ -36019,6 +36019,15 @@ var CAPABILITY_IMPLS = /* @__PURE__ */ new Map([
|
|
|
36019
36019
|
[decisionPauseSelfArmCapability.id, decisionPauseSelfArmCapability]
|
|
36020
36020
|
]);
|
|
36021
36021
|
|
|
36022
|
+
// src/pipeline/route-enforcement.ts
|
|
36023
|
+
init_esm_shims();
|
|
36024
|
+
init_session();
|
|
36025
|
+
|
|
36026
|
+
// src/session-ledger/non-feature-skip-audit.ts
|
|
36027
|
+
init_esm_shims();
|
|
36028
|
+
init_session();
|
|
36029
|
+
init_ledger();
|
|
36030
|
+
|
|
36022
36031
|
// src/verification/repository/run-repository-verification.ts
|
|
36023
36032
|
init_session();
|
|
36024
36033
|
|
|
@@ -36256,7 +36265,7 @@ init_cancelled_error();
|
|
|
36256
36265
|
init_events();
|
|
36257
36266
|
|
|
36258
36267
|
// src/index.ts
|
|
36259
|
-
var VERSION = "1.
|
|
36268
|
+
var VERSION = "1.78.1";
|
|
36260
36269
|
|
|
36261
36270
|
// src/cli/commands/audit.ts
|
|
36262
36271
|
init_esm_shims();
|