@javierfrancoleal/audit 0.0.0-stage → 1.0.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/LICENSE +21 -0
- package/README.md +26 -2
- package/assets/audit.md +72 -0
- package/cordis.patch.yml +4 -0
- package/icon.svg +6 -0
- package/lib/index.js +70 -0
- package/locale/ar.json +6 -0
- package/locale/de.json +6 -0
- package/locale/en.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/it.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/ko.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +53 -4
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,27 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
description: "The consolidation organ: one pass over the logs — telemetry, friction, marketing intelligence, triage review, grade summary."
|
|
3
|
+
kind: "package-bundle"
|
|
4
|
+
---
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
# @javierfrancoleal/audit
|
|
7
|
+
|
|
8
|
+
Created by **J.Franco** — the consolidation organ of the workflow v2.
|
|
9
|
+
|
|
10
|
+
## The honest evolution story
|
|
11
|
+
|
|
12
|
+
The original organism had nine organs. The industrial lens showed that
|
|
13
|
+
five were redundant: `usage-auditor` and `triage` read the same logs the
|
|
14
|
+
grader reads. Their protocols were folded into ONE organ — `audit` — so
|
|
15
|
+
the logs are read once and every output is produced in a single pass.
|
|
16
|
+
|
|
17
|
+
The five vestigial organs (`interpreter`, `input-detector`, `cortex`,
|
|
18
|
+
`triage`, `usage-auditor`) remain published on npm as deprecated: kept in
|
|
19
|
+
the genome, no longer in the active body — like the appendix.
|
|
20
|
+
|
|
21
|
+
## Use this plugin
|
|
22
|
+
|
|
23
|
+
Ask "audit" or use `/audit` in a session, weekly.
|
|
24
|
+
|
|
25
|
+
## License
|
|
26
|
+
|
|
27
|
+
MIT — see the package license field.
|
package/assets/audit.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Audit — the consolidation organ
|
|
2
|
+
|
|
3
|
+
One pass over the logs, one report, everything the organism learned. This
|
|
4
|
+
organ was folded from the vestigial `usage-auditor` (telemetry + marketing
|
|
5
|
+
intelligence) and `triage` (issue classification). It reads once and
|
|
6
|
+
produces all outputs.
|
|
7
|
+
|
|
8
|
+
## When to run
|
|
9
|
+
|
|
10
|
+
- The human asks "audit", "revisa el uso", `/audit`.
|
|
11
|
+
- On a weekly cadence (schedule it for the owner).
|
|
12
|
+
- After a pilot week, before expanding.
|
|
13
|
+
|
|
14
|
+
## One read, all outputs
|
|
15
|
+
|
|
16
|
+
Read in order: supervision.md, feedback.md, usage.md, triage.md, audit.md,
|
|
17
|
+
decisions.md. Then produce ONE report with five sections:
|
|
18
|
+
|
|
19
|
+
### 1. Usage telemetry
|
|
20
|
+
|
|
21
|
+
Sessions, workers, features used, fallbacks counted (prompt copied,
|
|
22
|
+
dictation unsupported, manual corrections), per worker and channel.
|
|
23
|
+
|
|
24
|
+
### 2. Friction points
|
|
25
|
+
|
|
26
|
+
Repeated feedback themes, repeated corrections, bilingual sessions without
|
|
27
|
+
interpretation, rejected proposals. For each: the likely cause and ONE
|
|
28
|
+
proposed fix.
|
|
29
|
+
|
|
30
|
+
### 3. Marketing intelligence
|
|
31
|
+
|
|
32
|
+
Anonymized winning moments (quote the evidence line), the most common use
|
|
33
|
+
cases and their sectors, reusable sales patterns.
|
|
34
|
+
|
|
35
|
+
### 4. Triage review (folded from the triage organ)
|
|
36
|
+
|
|
37
|
+
List the open NON-ESSENTIAL entries in triage.md. For each, state whether
|
|
38
|
+
it should stay accepted-beta or has become worth fixing. NEVER promote an
|
|
39
|
+
issue to essential without the creator's confirmation — the creator makes
|
|
40
|
+
the distinction.
|
|
41
|
+
|
|
42
|
+
### 5. Grade summary
|
|
43
|
+
|
|
44
|
+
Summarize the autonomy-grader's current grades and autonomy level; propose
|
|
45
|
+
no rule moves here (the grader owns those).
|
|
46
|
+
|
|
47
|
+
## Persistence
|
|
48
|
+
|
|
49
|
+
Append the report to audit.md (append-only). The next audit compares
|
|
50
|
+
against it for trends.
|
|
51
|
+
|
|
52
|
+
## Teach, not only report (absorbed from the conductor organ)
|
|
53
|
+
|
|
54
|
+
When the friction section shows the SAME feature was revised repeatedly,
|
|
55
|
+
or the human's words were vague, the audit also teaches: name the missing
|
|
56
|
+
concept (from docs/CONDUCTOR-GUIDE.md), explain it in one analogy, give
|
|
57
|
+
the prompt template, and ask ONE clarifying question. Then record the
|
|
58
|
+
lesson in the canonical EL FUEGO format (docs/EL-FUEGO-LOG.md):
|
|
59
|
+
|
|
60
|
+
## <date> — <title>
|
|
61
|
+
- concepto: <capas|flujo|línea de tiempo|componentes|color|animación|sistema de diseño>
|
|
62
|
+
- fricción: <qué pidió y no lograba>
|
|
63
|
+
- lección: <la idea en una frase>
|
|
64
|
+
- orden-correcta: <la plantilla que SÍ funcionó>
|
|
65
|
+
- evidencia: <archivo/línea/commit>
|
|
66
|
+
|
|
67
|
+
## Rules
|
|
68
|
+
|
|
69
|
+
- One pass, all outputs: never re-read the same log twice in one audit.
|
|
70
|
+
- Anonymize every person in the marketing section.
|
|
71
|
+
- Quote evidence; never estimate silently.
|
|
72
|
+
- Errors and friction are the most valuable findings: report them first.
|
package/cordis.patch.yml
ADDED
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="32" r="20" fill="none" stroke="#ffffff" stroke-width="4"/>
|
|
4
|
+
<circle cx="32" cy="32" r="9" fill="#FACC15"/>
|
|
5
|
+
<path d="M32 12 L32 52 M12 32 L52 32" stroke="#ffffff" stroke-width="3"/>
|
|
6
|
+
</svg>
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// @javierfrancoleal/audit — the consolidation organ of the J.Franco
|
|
2
|
+
// agentic workflow. Created by J.Franco. Folded from the vestigial
|
|
3
|
+
// usage-auditor and triage organs. Registers the audit skill provider and,
|
|
4
|
+
// when the host command registry is available, the /audit command.
|
|
5
|
+
import { readFile } from "node:fs/promises";
|
|
6
|
+
import { fileURLToPath } from "node:url";
|
|
7
|
+
import { BUNDLED_SKILL_RANK } from "@deepseek-ai/dsh-skill";
|
|
8
|
+
|
|
9
|
+
const PROVIDER_NAME = "javierfrancoleal-audit";
|
|
10
|
+
const SKILL_BODY_URL = new URL("../assets/audit.md", import.meta.url);
|
|
11
|
+
const RESOURCE_BASE = {
|
|
12
|
+
kind: "directory",
|
|
13
|
+
path: fileURLToPath(new URL("../assets/", import.meta.url)),
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const CANDIDATE = {
|
|
17
|
+
name: "audit",
|
|
18
|
+
description: "The consolidation organ of the J.Franco agentic workflow: one pass over the logs produces telemetry, friction points, marketing intelligence, the triage review, and the grade summary. The human approves every edit.",
|
|
19
|
+
invocation: {
|
|
20
|
+
modelInvocable: true,
|
|
21
|
+
userInvocable: true,
|
|
22
|
+
},
|
|
23
|
+
provider: PROVIDER_NAME,
|
|
24
|
+
source: "bundled",
|
|
25
|
+
resourceBase: RESOURCE_BASE,
|
|
26
|
+
rank: BUNDLED_SKILL_RANK,
|
|
27
|
+
locator: SKILL_BODY_URL,
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
const provider = {
|
|
31
|
+
name: PROVIDER_NAME,
|
|
32
|
+
list: () => Promise.resolve([CANDIDATE]),
|
|
33
|
+
async get(_candidate) {
|
|
34
|
+
return {
|
|
35
|
+
name: CANDIDATE.name,
|
|
36
|
+
description: CANDIDATE.description,
|
|
37
|
+
invocation: CANDIDATE.invocation,
|
|
38
|
+
provider: CANDIDATE.provider,
|
|
39
|
+
source: CANDIDATE.source,
|
|
40
|
+
resourceBase: RESOURCE_BASE,
|
|
41
|
+
content: await readFile(SKILL_BODY_URL, "utf8"),
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const name = "audit";
|
|
47
|
+
const inject = ["skills"];
|
|
48
|
+
|
|
49
|
+
const AUDIT_BRIEFING = [
|
|
50
|
+
"Audit ON — the consolidation organ.",
|
|
51
|
+
"One pass over the logs: telemetry, friction, marketing intelligence,",
|
|
52
|
+
"triage review, and grade summary.",
|
|
53
|
+
"I only propose — you approve every edit.",
|
|
54
|
+
].join(" ");
|
|
55
|
+
|
|
56
|
+
function apply(ctx) {
|
|
57
|
+
ctx.skills.registerProvider(() => provider);
|
|
58
|
+
const commands = ctx.get("commands");
|
|
59
|
+
if (commands !== undefined) {
|
|
60
|
+
commands.register({
|
|
61
|
+
definitionId: "@javierfrancoleal/audit",
|
|
62
|
+
name: "audit",
|
|
63
|
+
description: "One consolidation pass: telemetry, friction, marketing, triage review, grade summary",
|
|
64
|
+
input: { hint: "[optional: a period, e.g. 'this week']", attachments: true },
|
|
65
|
+
handler: () => ({ text: AUDIT_BRIEFING }),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export { apply, inject, name };
|
package/locale/ar.json
ADDED
package/locale/de.json
ADDED
package/locale/en.json
ADDED
package/locale/es.json
ADDED
package/locale/fr.json
ADDED
package/locale/it.json
ADDED
package/locale/ja.json
ADDED
package/locale/ko.json
ADDED
package/locale/pt.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,55 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@javierfrancoleal/audit",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "The consolidation organ of the J.Franco agentic workflow: one pass over the logs — telemetry, friction points, marketing intelligence, triage review, and grade summary. Folded from usage-auditor and triage (vestigial organs). Created by J.Franco.",
|
|
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
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/JavierFrancoLeal/jfranco-agentic-suite.git",
|
|
31
|
+
"directory": "jfranco-audit"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://github.com/JavierFrancoLeal/jfranco-agentic-suite",
|
|
34
|
+
"keywords": [
|
|
35
|
+
"deepseek-harness",
|
|
36
|
+
"agentic-workflow",
|
|
37
|
+
"super-agent",
|
|
38
|
+
"telemetry",
|
|
39
|
+
"marketing-intelligence",
|
|
40
|
+
"triage"
|
|
41
|
+
],
|
|
42
|
+
"dsh": {
|
|
43
|
+
"manifestVersion": 1,
|
|
44
|
+
"bundle": {
|
|
45
|
+
"patch": "./cordis.patch.yml"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"publishConfig": {
|
|
49
|
+
"access": "public"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"@deepseek-ai/cordis": "~4.0.5",
|
|
53
|
+
"@deepseek-ai/dsh-skill": ">=0.2.1-rc.5"
|
|
54
|
+
}
|
|
55
|
+
}
|