@javierfrancoleal/accountability-auditor 0.0.0-stage → 1.0.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 J.Franco
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,42 @@
1
- # Temporary Holding Version
1
+ ---
2
+ description: "Mandatory reflection and verification pass that emits an Accountability Report before every final output — stage 3 of the agentic workflow."
3
+ kind: "package-bundle"
4
+ ---
2
5
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
6
+ # @javierfrancoleal/accountability-auditor
7
+
8
+ > ⚡ **Super Agent Ready** — part of the J.Franco governance layer for autonomous agents.
9
+
10
+ Created by **J.Franco**.
11
+
12
+ ## Summary
13
+
14
+ Stage 3 of the J.Franco agentic workflow:
15
+
16
+ `Input → Detection (AI + human) → AI processes, decides, and proposes → Human reflects, verifies, and decides → Output`
17
+
18
+ This plugin registers the `accountability-auditor` skill on the host skill
19
+ registry. The skill teaches the agent to run a mandatory reflection and
20
+ verification pass before every final output: audit the input trail
21
+ (`input-detector`), the decision trail (`decision-router`), and the actions
22
+ taken, then emit a compact Accountability Report the human reviews.
23
+
24
+ ## Use this plugin
25
+
26
+ In Desktop, open **Plugins** and enable **Accountability Auditor**. The skill
27
+ appears in the session skill catalog; agents load it automatically before
28
+ final outputs, and you can invoke it yourself by name to audit any previous
29
+ work.
30
+
31
+ ## How it works
32
+
33
+ - [`lib/index.js`](lib/index.js) registers a bundled skill provider on
34
+ `ctx.skills`, following the `@deepseek-ai/dsh-skill-badge` provider pattern.
35
+ - [`assets/accountability-auditor.md`](assets/accountability-auditor.md) holds
36
+ the skill body.
37
+ - [`cordis.patch.yml`](cordis.patch.yml) inserts the provider row into the host
38
+ plane of the Cordis tree, so its skills land in the global registry layer.
39
+
40
+ ## License
41
+
42
+ MIT — see the package license field.
@@ -0,0 +1,128 @@
1
+ # Accountability Auditor
2
+
3
+ Final stage of the J.Franco agentic workflow:
4
+
5
+ `Input → Detection (AI + human) → AI processes, decides, and proposes → Human reflects, verifies, and decides → Output`
6
+
7
+ ## Purpose
8
+
9
+ Prepare the human's verification and decision before any output is delivered
10
+ as final. You reflect on and verify everything that happened, and hand the
11
+ human a compact Accountability Report with two clear sections: the automatic
12
+ actions to VERIFY, and the proposals to DECIDE. The human is the decider of
13
+ record; the output is not final until the human has decided.
14
+
15
+ ## When to run
16
+
17
+ - Before the FINAL answer of any task that changed files, ran commands, or
18
+ made decisions (mandatory).
19
+ - On demand, when the human asks for an audit or review (class REVIEW).
20
+
21
+ ## Milestone reports
22
+
23
+ Long missions are reported by milestone, not only at the end:
24
+
25
+ - Before each milestone completes (or at the human's cadence), deliver the
26
+ compact report for the stretch just finished.
27
+ - Mark what changed since the last report, and what remains open.
28
+ - The final report at mission end summarizes every milestone; each milestone
29
+ entry is also appended to the supervision log.
30
+ - If the human is away (autonomous mode), leave the report queued in the log
31
+ and say so on their return.
32
+
33
+ ## Watchdog pass
34
+
35
+ Beyond verifying results, watch for progress itself, like a watchdog:
36
+
37
+ - Is the work actually advancing, or repeating the same step?
38
+ - Is the direction still aligned with the goal and the mission scope?
39
+ - Are there stalled background jobs or unanswered proposals?
40
+
41
+ When something is stuck or off-track, say so in the report — mark it URGENT
42
+ when the human must intervene — and propose the recovery, following the
43
+ recovery protocol (retry once with a correction, then classify as
44
+ RECOVERABLE / NEEDS HUMAN / SAFETY and act accordingly; never hide a
45
+ failure).
46
+
47
+ ## Verification checklist
48
+
49
+ Run through these checks before delivering:
50
+
51
+ 1. **Inputs** — were all inputs detected, split into actions, and classified,
52
+ with their source (user or third party) and expectation?
53
+ (`input-detector`)
54
+ 2. **Decisions** — does every action have a tier, justification, and approval
55
+ reference? (`decision-router`)
56
+ 3. **Actions** — did every action claimed actually happen, and in the right
57
+ place? Re-check that files exist, values were noted in the right
58
+ application, commands ran, and outputs are real. Never claim an unverified
59
+ step.
60
+ 4. **Proposals** — is what you are handing the human clear enough to decide
61
+ on? State the options and your recommendation.
62
+ 5. **Results** — do the results match what was asked? Re-read the request
63
+ (including any third-party expectation) and compare.
64
+ 6. **Side effects** — anything modified beyond the stated scope? List it.
65
+ 7. **Gaps** — anything skipped, assumed, or left unverified? Say so
66
+ explicitly.
67
+
68
+ ## Accountability Report
69
+
70
+ Deliver this compact report right BEFORE the output, addressed to the human,
71
+ with the two sections separated:
72
+
73
+ - **Worker:** the worker tag when provided (this is how the owner knows who
74
+ did what)
75
+ - **Inputs detected:** one line (source + expectation, split into actions)
76
+ - **Automatic actions — for you to verify:** one line per GREEN or
77
+ SEMI-AUTOMATIC action with evidence (what was done, where, and the value or
78
+ result, for example "noted the phone number 555-1234 in the client app");
79
+ mark SEMI-AUTOMATIC actions with a ⚑ flag — they are mandatory for the
80
+ human to check
81
+ - **Proposals — for you to decide:** one line per YELLOW proposal, with the
82
+ options, your recommendation, and what each option changes
83
+ - **Decisions:** one line per decision (what, tier, why, approval)
84
+ - **Verification:** what you checked and what you found
85
+ - **Review points:** what the human should look at before trusting the result
86
+ - **Gaps:** anything unverified, plainly stated
87
+
88
+ Keep it tight; offer the full trail separately only if the human asks.
89
+
90
+ ## Supervision log
91
+
92
+ If a supervision file exists — `supervision.md` in the workspace root,
93
+ `.dsh/supervision.md` in the workspace, or `~/.dsh/supervision.md` — append
94
+ each Accountability Report to it after delivery: a dated entry with the
95
+ inputs detected, the decisions (tiers and approvals), the automatic actions,
96
+ and the human's decisions. This file is the owner's living record of what
97
+ the AI did in the company; never edit or remove earlier entries. The
98
+ `autonomy-grader` skill reads this log to propose tier moves.
99
+
100
+ ## Worked example: bank advisor at reception
101
+
102
+ After noting the client's phone number (GREEN) and preparing a loan quote
103
+ (YELLOW), the report reads:
104
+
105
+ - **Inputs detected:** 3 actions from the client — note phone number, loan
106
+ quote, mortgage rate.
107
+ - **Automatic actions — for you to verify:** noted phone number 555-1234 in
108
+ the client app.
109
+ - **Proposals — for you to decide:** send the client the loan quote for
110
+ $120,000 at 36 months (my recommendation: confirm the amount first);
111
+ answer the client with today's mortgage rate of 3.2% (source: internal
112
+ rates page).
113
+ - **Verification:** re-opened the client app and confirmed the number is
114
+ saved under the right record.
115
+ - **Review points:** check the quote amount matches what the client asked.
116
+ - **Gaps:** the client's income documents were not requested yet.
117
+
118
+ ## Rules
119
+
120
+ - The report is part of the output, not an optional appendix. If the final
121
+ output takes three lines, the report takes three more — that cost is the
122
+ point.
123
+ - If verification FAILED, do not present the result as final. State what is
124
+ unverified and stop for the human.
125
+ - If the decision trail has holes, report them as gaps; never invent
126
+ justifications after the fact.
127
+ - The human's decision on a YELLOW proposal is the anchor of accountability;
128
+ quote it, don't paraphrase it.
@@ -0,0 +1,6 @@
1
+ # @javierfrancoleal/accountability-auditor — J.Franco's agentic-workflow plugin, stage 3.
2
+ # Inserts the skill provider into the host plane of the Cordis tree, so every
3
+ # agent preset (standard included) sees its skill through the global layer.
4
+ - insert:
5
+ - id: accountability-auditor
6
+ name: '@javierfrancoleal/accountability-auditor'
package/icon.svg ADDED
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
2
+ <rect width="64" height="64" rx="14" fill="#4D6BFE"/>
3
+ <circle cx="32" cy="36" r="16" fill="none" stroke="#ffffff" stroke-width="4"/>
4
+ <path d="M32 28 v8 l6 4" fill="none" stroke="#ffffff" stroke-width="4" stroke-linecap="round"/>
5
+ <path d="M14 8 l6 4 M50 8 l-6 4" stroke="#ffffff" stroke-width="4" stroke-linecap="round"/>
6
+ </svg>
package/lib/index.js ADDED
@@ -0,0 +1,56 @@
1
+ // @javierfrancoleal/accountability-auditor — agentic-workflow stage 3: reflection and
2
+ // verification. Created by J.Franco. Registers a bundled skill provider on the
3
+ // host skill registry, following the @deepseek-ai/dsh-skill-badge provider pattern.
4
+ import { readFile } from "node:fs/promises";
5
+ import { fileURLToPath } from "node:url";
6
+ import { BUNDLED_SKILL_RANK } from "@deepseek-ai/dsh-skill";
7
+
8
+ const PROVIDER_NAME = "jfranco-accountability-auditor";
9
+ const SKILL_BODY_URL = new URL("../assets/accountability-auditor.md", import.meta.url);
10
+ const RESOURCE_BASE = {
11
+ kind: "directory",
12
+ path: fileURLToPath(new URL("../assets/", import.meta.url)),
13
+ };
14
+
15
+ const CANDIDATE = {
16
+ name: "accountability-auditor",
17
+ description: "Mandatory reflection and verification pass before any output is final: audit the input trail, decision trail, and actions, then hand the human a compact Accountability Report separating the automatic actions to verify from the proposals to decide. Stage 3 of the J.Franco agentic workflow.",
18
+ invocation: {
19
+ modelInvocable: true,
20
+ userInvocable: true,
21
+ },
22
+ provider: PROVIDER_NAME,
23
+ source: "bundled",
24
+ resourceBase: RESOURCE_BASE,
25
+ rank: BUNDLED_SKILL_RANK,
26
+ locator: SKILL_BODY_URL,
27
+ };
28
+
29
+ const provider = {
30
+ name: PROVIDER_NAME,
31
+ list: () => Promise.resolve([CANDIDATE]),
32
+ async get(_candidate) {
33
+ return {
34
+ name: CANDIDATE.name,
35
+ description: CANDIDATE.description,
36
+ invocation: CANDIDATE.invocation,
37
+ provider: CANDIDATE.provider,
38
+ source: CANDIDATE.source,
39
+ resourceBase: RESOURCE_BASE,
40
+ content: await readFile(SKILL_BODY_URL, "utf8"),
41
+ };
42
+ },
43
+ };
44
+
45
+ /** Cordis plugin name. */
46
+ const name = "accountability-auditor";
47
+
48
+ /** Service required by the bundled provider. */
49
+ const inject = ["skills"];
50
+
51
+ /** Register the bundled skill provider on ctx.skills. */
52
+ function apply(ctx) {
53
+ ctx.skills.registerProvider(() => provider);
54
+ }
55
+
56
+ export { apply, inject, name };
package/locale/ar.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "مدقّق المساءلة",
4
+ "description": "تأمل وتحقق قبل كل نتيجة، مع تقرير يوضح ما عليك أن تقرره. المرحلة الثالثة."
5
+ }
6
+ }
package/locale/de.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Rechenschafts-Prüfer",
4
+ "description": "Reflexion und Prüfung vor jedem Ergebnis, mit einem Bericht über Ihre Entscheidungen. Stufe 3."
5
+ }
6
+ }
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Accountability Auditor",
4
+ "description": "Reflection and verification before every output, with a report stating what you need to decide. Stage 3 of the agentic workflow."
5
+ }
6
+ }
package/locale/es.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Auditor de Responsabilidad",
4
+ "description": "Reflexión y verificación antes de cada resultado, con un reporte que indica lo que debes decidir. Etapa 3."
5
+ }
6
+ }
package/locale/fr.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Auditeur de Responsabilité",
4
+ "description": "Réflexion et vérification avant chaque résultat, avec un rapport indiquant ce que vous devez décider. Étape 3."
5
+ }
6
+ }
package/locale/it.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Revisore di Responsabilità",
4
+ "description": "Riflessione e verifica prima di ogni risultato, con un rapporto su cosa decidere. Fase 3."
5
+ }
6
+ }
package/locale/ja.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "説明責任監査人",
4
+ "description": "結果の前に振り返りと検証を行い、決定事項を報告。第3段階。"
5
+ }
6
+ }
package/locale/ko.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "책임 감사관",
4
+ "description": "모든 결과 전에 성찰과 검증, 결정할 사항을 보고합니다. 3단계."
5
+ }
6
+ }
package/locale/pt.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Auditor de Responsabilidade",
4
+ "description": "Reflexão e verificação antes de cada resultado, com um relatório do que você deve decidir. Etapa 3."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "问责审计员",
4
+ "description": "每个结果前的反思与验证,并附报告说明你需要决定什么。第3阶段。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,55 @@
1
1
  {
2
2
  "name": "@javierfrancoleal/accountability-auditor",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0",
4
+ "description": "Agentic-workflow stage 3: mandatory reflection and verification pass that emits an Accountability Report before every final output.",
5
+ "author": "J.Franco",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "lib/index.js",
9
+ "exports": {
10
+ ".": "./lib/index.js",
11
+ "./cordis.patch.yml": "./cordis.patch.yml",
12
+ "./package.json": "./package.json",
13
+ "./locale/*.json": "./locale/*.json"
14
+ },
15
+ "icon": "./icon.svg",
16
+ "files": [
17
+ "icon.svg",
18
+ "locale/*.json",
19
+ "lib/index.js",
20
+ "assets",
21
+ "cordis.patch.yml",
22
+ "README.md"
23
+ ],
24
+ "engines": {
25
+ "node": ">=24",
26
+ "dsh": ">=0.2.1-rc.0"
27
+ },
28
+ "dsh": {
29
+ "manifestVersion": 1,
30
+ "bundle": {
31
+ "patch": "./cordis.patch.yml"
32
+ }
33
+ },
34
+ "peerDependencies": {
35
+ "@deepseek-ai/cordis": "~4.0.5",
36
+ "@deepseek-ai/dsh-skill": ">=0.2.1-rc.5"
37
+ },
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "git+https://github.com/JavierFrancoLeal/jfranco-agentic-suite.git",
41
+ "directory": "jfranco-accountability-auditor"
42
+ },
43
+ "homepage": "https://github.com/JavierFrancoLeal/jfranco-agentic-suite",
44
+ "keywords": [
45
+ "deepseek-harness",
46
+ "agentic-workflow",
47
+ "super-agent",
48
+ "ai-assistant",
49
+ "accountability",
50
+ "plugins"
51
+ ],
52
+ "publishConfig": {
53
+ "access": "public"
54
+ }
55
+ }