trace-to-skill 0.1.85 → 0.1.86

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/README.md CHANGED
@@ -499,6 +499,7 @@ Stable machine-readable contracts are published with the npm package and release
499
499
  - [`schemas/session-audit-result.schema.json`](schemas/session-audit-result.schema.json) describes `trace-to-skill session-audit --format json`.
500
500
  - [`schemas/usage-evidence-result.schema.json`](schemas/usage-evidence-result.schema.json) describes `trace-to-skill usage-evidence --format json`.
501
501
  - [`schemas/process-audit-result.schema.json`](schemas/process-audit-result.schema.json) describes `trace-to-skill process-audit --format json`.
502
+ - [`schemas/issue-map-result.schema.json`](schemas/issue-map-result.schema.json) describes `trace-to-skill issue-map --format json`.
502
503
  - [`schemas/workspace-checkpoint-result.schema.json`](schemas/workspace-checkpoint-result.schema.json) describes `trace-to-skill checkpoint --format json`.
503
504
 
504
505
  These schemas let downstream Codex workflows, dashboards, and CI bots consume reports without scraping Markdown.
@@ -531,7 +532,7 @@ jobs:
531
532
  issues: write
532
533
  steps:
533
534
  - uses: actions/checkout@v5
534
- - uses: grnbtqdbyx-create/trace-to-skill@v0.1.85
535
+ - uses: grnbtqdbyx-create/trace-to-skill@v0.1.86
535
536
  with:
536
537
  mode: all
537
538
  doctor-threshold: "85"
@@ -580,7 +581,7 @@ Composite action usage:
580
581
 
581
582
  ```yaml
582
583
  - id: trace-to-skill
583
- uses: grnbtqdbyx-create/trace-to-skill@v0.1.85
584
+ uses: grnbtqdbyx-create/trace-to-skill@v0.1.86
584
585
  with:
585
586
  mode: all
586
587
  doctor-threshold: "85"
@@ -594,6 +595,18 @@ Composite action usage:
594
595
  - run: echo "Codex readiness score is ${{ steps.trace-to-skill.outputs.doctor-score }}"
595
596
  ```
596
597
 
598
+ Issue-map action usage for a committed or downloaded GitHub issue export:
599
+
600
+ ```yaml
601
+ - id: codex-issue-map
602
+ uses: grnbtqdbyx-create/trace-to-skill@v0.1.86
603
+ with:
604
+ mode: issue-map
605
+ issue-map-path: codex-issues.json
606
+ job-summary: "true"
607
+ - run: echo "Top Codex issue cluster is ${{ steps.codex-issue-map.outputs.issue-map-top-kind }}"
608
+ ```
609
+
597
610
  Action outputs:
598
611
 
599
612
  | Output | Description |
@@ -619,10 +632,15 @@ Action outputs:
619
632
  | `scorecard-status` | Combined scorecard status, `pass` or `fail` |
620
633
  | `scorecard-report` | Markdown scorecard report path |
621
634
  | `scorecard-json` | JSON scorecard report path |
635
+ | `issue-map-issues` | Number of GitHub issues analyzed by issue-map mode |
636
+ | `issue-map-matched` | Number of issues matched to deterministic failure classes |
637
+ | `issue-map-top-kind` | Highest-priority issue-map failure class |
638
+ | `issue-map-report` | Markdown issue-map report path |
639
+ | `issue-map-json` | JSON issue-map report path |
622
640
 
623
641
  By default, generated reports are also appended to the GitHub Actions Job Summary. Set `job-summary: "false"` to disable that UI output.
624
642
 
625
- Tagged Action releases build and run the CLI from `$GITHUB_ACTION_PATH`, so a workflow pinned to a release tag such as `@v0.1.85` executes that release's checked-out source instead of pulling the default branch at runtime.
643
+ Tagged Action releases build and run the CLI from `$GITHUB_ACTION_PATH`, so a workflow pinned to a release tag such as `@v0.1.86` executes that release's checked-out source instead of pulling the default branch at runtime.
626
644
 
627
645
  ## Codex Skill
628
646
 
package/docs/DISCOVERY.md CHANGED
@@ -150,6 +150,7 @@ npx trace-to-skill suggest ./runs --target agents-md
150
150
  - `schemas/session-audit-result.schema.json`
151
151
  - `schemas/usage-evidence-result.schema.json`
152
152
  - `schemas/process-audit-result.schema.json`
153
+ - `schemas/issue-map-result.schema.json`
153
154
  - `schemas/workspace-checkpoint-result.schema.json`
154
155
 
155
156
  ## Related Keywords
@@ -3,34 +3,35 @@
3
3
  | Field | Value |
4
4
  | --- | --- |
5
5
  | Repository | https://github.com/grnbtqdbyx-create/trace-to-skill |
6
- | Package | trace-to-skill@0.1.85 |
6
+ | Package | trace-to-skill@0.1.86 |
7
7
  | License | Apache-2.0 |
8
8
  | Codex readiness | ready (100/100) |
9
9
  | Benchmark | pass, 38 cases |
10
10
 
11
11
  ## Why This Repository Qualifies
12
12
 
13
- trace-to-skill helps open-source maintainers adopt Codex safely by turning failed coding-agent runs into evidence-backed rules, reusable workflows, and CI gates. It supports real maintenance work: PR review, issue triage, release quality, MCP risk, prompt-injection defense, privacy-preserving trace sharing, and repeat failure reduction. The repository is ready, scores 100/100 on the local Codex readiness doctor, and ships a deterministic benchmark with 38 public fixture cases.
13
+ trace-to-skill helps open-source maintainers adopt Codex safely by turning failed coding-agent runs into evidence-backed rules, reusable workflows, and CI gates. It supports real maintenance work: PR review, GitHub issue demand mining, release quality, MCP risk, prompt-injection defense, privacy-preserving trace sharing, and repeat failure reduction. The repository is ready, scores 100/100 on the local Codex readiness doctor, and ships a deterministic benchmark with 38 public fixture cases.
14
14
 
15
15
  ### 500-Character Version
16
16
 
17
- > trace-to-skill helps open-source maintainers adopt Codex safely by turning failed coding-agent runs into evidence-backed rules, reusable workflows, and CI gates. It supports real maintenance work: PR review, issue triage, release quality, MCP risk, prompt-injection defense, privacy-preserving trace sharing, and repeat failure reduction. The repository is ready, scores 100/100 on the local Codex readiness doctor, and ships a deterministic benchmark with 38 public fixture cases.
17
+ > trace-to-skill helps open-source maintainers adopt Codex safely by turning failed coding-agent runs into evidence-backed rules, reusable workflows, and CI gates. It supports real maintenance work: PR review, GitHub issue demand mining, release quality, MCP risk, prompt-injection defense, privacy-preserving trace sharing, and repeat failure reduction. The repository is ready, scores 100/100 on the local Codex readiness doctor, and ships a deterministic benchmark with 38 public fixture cases.
18
18
 
19
19
  ## How API Credits Would Be Used
20
20
 
21
- API credits would power optional maintainer workflows on top of the local deterministic scanner: classifying failed Codex sessions, generating candidate AGENTS.md rules or SKILL.md workflows, comparing before/after runs, and producing PR-ready triage reports. The local CLI remains free, dependency-light, and usable without API credits.
21
+ API credits would power optional maintainer workflows on top of the local deterministic scanner: classifying failed Codex sessions, mining public GitHub issue clusters, generating candidate AGENTS.md rules or SKILL.md workflows, comparing before/after runs, and producing PR-ready triage reports. The local CLI remains free, dependency-light, and usable without API credits.
22
22
 
23
23
  ### 500-Character Version
24
24
 
25
- > API credits would power optional maintainer workflows on top of the local deterministic scanner: classifying failed Codex sessions, generating candidate AGENTS.md rules or SKILL.md workflows, comparing before/after runs, and producing PR-ready triage reports. The local CLI remains free, dependency-light, and usable without API credits.
25
+ > API credits would power optional maintainer workflows on top of the local deterministic scanner: classifying failed Codex sessions, mining public GitHub issue clusters, generating candidate AGENTS.md rules or SKILL.md workflows, comparing before/after runs, and producing PR-ready triage reports. The local CLI remains free, dependency-light, and usable without API credits.
26
26
 
27
27
  ## Evidence
28
28
 
29
29
  - Public repository: https://github.com/grnbtqdbyx-create/trace-to-skill
30
- - One-command package: npx trace-to-skill@0.1.85
30
+ - One-command package: npx trace-to-skill@0.1.86
31
31
  - Open-source license: Apache-2.0
32
32
  - Codex readiness doctor: ready, 100/100, 0 failed checks.
33
33
  - Public fixture benchmark: pass, 38 cases.
34
+ - GitHub issue demand mining: issue-map ranks exported OpenAI/Codex issues by failure class, comments, reactions, and evidence gaps.
34
35
  - Maintainer control: generated rules are suggestions, evidence is line-linked, and secrets can be redacted before sharing.
35
36
 
36
37
  ## Next Steps Before Submitting
package/docs/USE_CASES.md CHANGED
@@ -59,7 +59,7 @@ What it proves:
59
59
  Recommended CI surface:
60
60
 
61
61
  ```yaml
62
- - uses: grnbtqdbyx-create/trace-to-skill@v0.1.85
62
+ - uses: grnbtqdbyx-create/trace-to-skill@v0.1.86
63
63
  with:
64
64
  mode: all
65
65
  doctor-threshold: "85"
package/llms.txt CHANGED
@@ -120,7 +120,7 @@ npx trace-to-skill init --comment --sarif
120
120
  ## GitHub Action
121
121
 
122
122
  ```yaml
123
- - uses: grnbtqdbyx-create/trace-to-skill@v0.1.85
123
+ - uses: grnbtqdbyx-create/trace-to-skill@v0.1.86
124
124
  with:
125
125
  mode: all
126
126
  doctor-threshold: "85"
@@ -146,6 +146,7 @@ npx trace-to-skill init --comment --sarif
146
146
  - Session audit JSON schema: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/schemas/session-audit-result.schema.json
147
147
  - Usage evidence JSON schema: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/schemas/usage-evidence-result.schema.json
148
148
  - Process audit JSON schema: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/schemas/process-audit-result.schema.json
149
+ - Issue map JSON schema: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/schemas/issue-map-result.schema.json
149
150
  - Workspace checkpoint JSON schema: https://github.com/grnbtqdbyx-create/trace-to-skill/blob/main/schemas/workspace-checkpoint-result.schema.json
150
151
 
151
152
  ## Search phrases this project should answer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trace-to-skill",
3
- "version": "0.1.85",
3
+ "version": "0.1.86",
4
4
  "description": "Turn failed AI coding-agent runs into reusable AGENTS.md rules, SKILL.md files, and eval evidence.",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -142,7 +142,9 @@
142
142
  "codex-project-history",
143
143
  "codex-issue-report",
144
144
  "codex-issue-map",
145
+ "codex-issue-map-action",
145
146
  "github-issue-map",
147
+ "github-action-issue-map",
146
148
  "openai-issue-mining",
147
149
  "maintainer-pain-map",
148
150
  "openai-triage",
@@ -0,0 +1,137 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://raw.githubusercontent.com/grnbtqdbyx-create/trace-to-skill/main/schemas/issue-map-result.schema.json",
4
+ "title": "trace-to-skill issue-map result",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "generatedAt",
9
+ "sources",
10
+ "issueCount",
11
+ "matchedIssueCount",
12
+ "unmatchedIssueCount",
13
+ "summaries",
14
+ "unmatchedIssues"
15
+ ],
16
+ "properties": {
17
+ "generatedAt": {
18
+ "type": "string",
19
+ "format": "date-time"
20
+ },
21
+ "sources": {
22
+ "type": "array",
23
+ "items": {
24
+ "type": "string"
25
+ }
26
+ },
27
+ "issueCount": {
28
+ "type": "integer",
29
+ "minimum": 0
30
+ },
31
+ "matchedIssueCount": {
32
+ "type": "integer",
33
+ "minimum": 0
34
+ },
35
+ "unmatchedIssueCount": {
36
+ "type": "integer",
37
+ "minimum": 0
38
+ },
39
+ "summaries": {
40
+ "type": "array",
41
+ "items": {
42
+ "$ref": "#/$defs/summary"
43
+ }
44
+ },
45
+ "unmatchedIssues": {
46
+ "type": "array",
47
+ "items": {
48
+ "$ref": "#/$defs/example"
49
+ }
50
+ }
51
+ },
52
+ "$defs": {
53
+ "severity": {
54
+ "type": "string",
55
+ "enum": ["low", "medium", "high", "critical"]
56
+ },
57
+ "example": {
58
+ "type": "object",
59
+ "additionalProperties": false,
60
+ "required": ["id", "title", "comments", "labels"],
61
+ "properties": {
62
+ "id": {
63
+ "type": "string"
64
+ },
65
+ "title": {
66
+ "type": "string"
67
+ },
68
+ "url": {
69
+ "type": "string"
70
+ },
71
+ "comments": {
72
+ "type": "integer",
73
+ "minimum": 0
74
+ },
75
+ "labels": {
76
+ "type": "array",
77
+ "items": {
78
+ "type": "string"
79
+ }
80
+ }
81
+ }
82
+ },
83
+ "summary": {
84
+ "type": "object",
85
+ "additionalProperties": false,
86
+ "required": [
87
+ "kind",
88
+ "title",
89
+ "severity",
90
+ "issues",
91
+ "comments",
92
+ "reactions",
93
+ "priorityScore",
94
+ "examples",
95
+ "suggestedRules"
96
+ ],
97
+ "properties": {
98
+ "kind": {
99
+ "type": "string"
100
+ },
101
+ "title": {
102
+ "type": "string"
103
+ },
104
+ "severity": {
105
+ "$ref": "#/$defs/severity"
106
+ },
107
+ "issues": {
108
+ "type": "integer",
109
+ "minimum": 0
110
+ },
111
+ "comments": {
112
+ "type": "integer",
113
+ "minimum": 0
114
+ },
115
+ "reactions": {
116
+ "type": "integer",
117
+ "minimum": 0
118
+ },
119
+ "priorityScore": {
120
+ "type": "integer"
121
+ },
122
+ "examples": {
123
+ "type": "array",
124
+ "items": {
125
+ "$ref": "#/$defs/example"
126
+ }
127
+ },
128
+ "suggestedRules": {
129
+ "type": "array",
130
+ "items": {
131
+ "type": "string"
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }