@rse/ase 2.0.1 → 2.0.3
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/dst/ase-agent-definition-core.js +111 -87
- package/dst/ase-agent-fleet.js +1 -1
- package/dst/ase-agent-runtime-claim.js +5 -3
- package/dst/ase-agent-runtime-engine.js +1 -1
- package/dst/ase-agent-runtime-phase.js +1 -1
- package/dst/ase-agent-runtime-request.js +1 -1
- package/dst/ase-agent-runtime.js +3 -5
- package/dst/ase-artifact.js +3 -3
- package/dst/ase-config-core.js +2 -16
- package/dst/ase-config-schema.js +1 -3
- package/dst/ase-config.js +4 -1
- package/dst/ase-hook.js +14 -19
- package/dst/ase-lib-daemon-cli.js +117 -4
- package/dst/ase-lib-server-cli.js +10 -10
- package/dst/ase-mcp.js +4 -4
- package/dst/ase-service-getopt.js +2 -2
- package/dst/ase-service-otel.js +4 -4
- package/dst/ase-service-skills.js +5 -15
- package/dst/ase-service.js +87 -210
- package/dst/ase-setup-common.js +1 -2
- package/dst/ase-setup-settings.js +6 -9
- package/dst/ase-setup.js +2 -3
- package/dst/ase-statusline.js +170 -170
- package/dst/ase-task-board-core.js +1 -1
- package/dst/ase-task-board-flow.js +7 -6
- package/dst/ase-task-board-graph.js +5 -4
- package/dst/ase-task-board-tui-control.js +51 -45
- package/dst/ase-task-board-tui-model.js +195 -181
- package/dst/ase-task-board-tui-popup.js +2 -3
- package/dst/ase-task-board-tui-view.js +88 -79
- package/dst/ase-task-board-web-client.css +1 -1
- package/dst/ase-task-board-web-client.js +2 -2
- package/dst/ase-task-board-web-server.js +4 -27
- package/dst/ase-task-board.js +1 -1
- package/dst/ase-task-format.js +1 -1
- package/dst/ase-task-store-client.js +17 -5
- package/dst/ase-task-store-core.js +5 -7
- package/dst/ase-task-store-issues.js +91 -0
- package/dst/ase-task-store-plugin-ase.js +7 -3
- package/dst/ase-task-store-plugin-gitea.js +11 -97
- package/dst/ase-task-store-plugin-github.js +5 -77
- package/dst/ase-task-store-plugin-gitlab.js +4 -83
- package/dst/ase-task.js +51 -23
- package/dst/ase-util-compat.js +1 -1
- package/dst/ase-util-diagram.js +16 -42
- package/dst/ase.js +5 -5
- package/dst/man/ase-agent-adhoc.1 +1 -1
- package/dst/man/ase-agent-condenser.1 +1 -1
- package/dst/man/ase-agent-editor.1 +1 -1
- package/dst/man/ase-agent-estimator.1 +1 -1
- package/dst/man/ase-agent-fleet.1 +1 -1
- package/dst/man/ase-agent-implementer.1 +1 -1
- package/dst/man/ase-agent-integrator.1 +1 -1
- package/dst/man/ase-agent-qualifier.1 +1 -1
- package/dst/man/ase-agent-rebooter.1 +1 -1
- package/dst/man/ase-agent-relay.1 +1 -1
- package/dst/man/ase-agent-researcher.1 +1 -1
- package/dst/man/ase-agent.1 +1 -1
- package/dst/man/ase-artifact-list.1 +1 -1
- package/dst/man/ase-artifact-name.1 +1 -1
- package/dst/man/ase-artifact.1 +1 -1
- package/dst/man/ase-config-delete.1 +1 -1
- package/dst/man/ase-config-edit.1 +1 -1
- package/dst/man/ase-config-get.1 +1 -1
- package/dst/man/ase-config-init.1 +1 -1
- package/dst/man/ase-config-list.1 +1 -1
- package/dst/man/ase-config-set.1 +1 -1
- package/dst/man/ase-config.1 +1 -1
- package/dst/man/ase-hook-permission-request.1 +1 -1
- package/dst/man/ase-hook-pre-tool-use.1 +1 -1
- package/dst/man/ase-hook-session-end.1 +1 -1
- package/dst/man/ase-hook-session-persona.1 +1 -1
- package/dst/man/ase-hook-session-start.1 +1 -1
- package/dst/man/ase-hook-stop.1 +1 -1
- package/dst/man/ase-hook-user-prompt-submit.1 +1 -1
- package/dst/man/ase-hook.1 +1 -1
- package/dst/man/ase-man.1 +1 -1
- package/dst/man/ase-mcp.1 +1 -1
- package/dst/man/ase-service-log.1 +1 -1
- package/dst/man/ase-service-send.1 +1 -1
- package/dst/man/ase-service-start.1 +1 -1
- package/dst/man/ase-service-status.1 +1 -1
- package/dst/man/ase-service-stop.1 +1 -1
- package/dst/man/ase-service.1 +1 -1
- package/dst/man/ase-setup-disable.1 +1 -1
- package/dst/man/ase-setup-enable.1 +1 -1
- package/dst/man/ase-setup-install.1 +1 -1
- package/dst/man/ase-setup-mcp.1 +1 -1
- package/dst/man/ase-setup-status.1 +1 -1
- package/dst/man/ase-setup-statusline.1 +1 -1
- package/dst/man/ase-setup-telemetry.1 +1 -1
- package/dst/man/ase-setup-uninstall.1 +1 -1
- package/dst/man/ase-setup-update.1 +1 -1
- package/dst/man/ase-setup.1 +1 -1
- package/dst/man/ase-spec-export.1 +1 -1
- package/dst/man/ase-spec-lint.1 +1 -1
- package/dst/man/ase-spec-preview.1 +1 -1
- package/dst/man/ase-spec.1 +1 -1
- package/dst/man/ase-statusline.1 +1 -1
- package/dst/man/ase-task-assign.1 +1 -1
- package/dst/man/ase-task-board.1 +3 -3
- package/dst/man/ase-task-delete.1 +1 -1
- package/dst/man/ase-task-edit.1 +1 -1
- package/dst/man/ase-task-idscheme.1 +1 -1
- package/dst/man/ase-task-lifecycle.1 +1 -1
- package/dst/man/ase-task-list.1 +1 -1
- package/dst/man/ase-task-load.1 +1 -1
- package/dst/man/ase-task-newid.1 +1 -1
- package/dst/man/ase-task-purge.1 +1 -1
- package/dst/man/ase-task-rename.1 +1 -1
- package/dst/man/ase-task-request.1 +1 -1
- package/dst/man/ase-task-save.1 +1 -1
- package/dst/man/ase-task-status.1 +1 -1
- package/dst/man/ase-task-store.1 +1 -1
- package/dst/man/ase-task-view.1 +1 -1
- package/dst/man/ase-task.1 +1 -1
- package/dst/man/ase-util-compat.1 +1 -1
- package/dst/man/ase-util-diagram.1 +1 -1
- package/dst/man/ase-util-meta.1 +1 -1
- package/dst/man/ase-util-metric.1 +1 -1
- package/dst/man/ase-util-mint.1 +1 -1
- package/dst/man/ase-util-worktree.1 +1 -1
- package/dst/man/ase-util.1 +1 -1
- package/dst/man/ase.1 +1 -1
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.codex-plugin/plugin.json +1 -1
- package/plugin/.github/plugin/plugin.json +1 -1
- package/plugin/meta/ase-common-resolve.md +2 -2
- package/plugin/meta/ase-skill.md +7 -0
- package/plugin/mods/ase-mods.ts +16 -12
- package/plugin/skills/ase-arch-analyze/SKILL.md +3 -1
- package/plugin/skills/ase-code-analyze/SKILL.md +26 -10
- package/plugin/skills/ase-code-analyze/help.md +11 -6
- package/plugin/skills/ase-code-edit/SKILL.md +5 -4
- package/plugin/skills/ase-code-edit/help.md +1 -1
- package/plugin/skills/ase-code-lint/SKILL.md +52 -27
- package/plugin/skills/ase-code-lint/help.md +10 -5
- package/plugin/skills/ase-help-intent/data.md +60 -30
- package/plugin/skills/ase-help-skill/help.md +3 -4
- package/plugin/skills/ase-meta-quorum/SKILL.md +9 -0
- package/plugin/skills/ase-meta-quorum/help.md +5 -3
- package/plugin/skills/ase-meta-workflow/sample.md +5 -3
- package/plugin/skills/ase-repo-changelog/SKILL.md +8 -9
- package/plugin/skills/ase-repo-changelog/help.md +2 -2
- package/plugin/skills/ase-repo-review/SKILL.md +5 -3
- package/plugin/skills/ase-repo-review/help.md +3 -1
- package/plugin/skills/ase-spec-edit/SKILL.md +2 -1
- package/plugin/skills/ase-spec-edit/help.md +2 -1
- package/plugin/skills/ase-sync-reconcile/help.md +4 -4
- package/plugin/skills/ase-task-dissect/SKILL.md +10 -6
- package/plugin/skills/ase-task-grill/help.md +1 -1
- package/plugin/skills/ase-task-implement/SKILL.md +58 -1
- package/plugin/skills/ase-task-implement/help.md +16 -0
- package/plugin/skills/ase-task-list/help.md +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-HOOK-SESSION-START" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-HOOK-SESSION-START" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-hook-session-start\fR - Handle the SessionStart Hook Event
|
|
4
4
|
.SH "SYNOPSIS"
|
package/dst/man/ase-hook-stop.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-HOOK-USER-PROMPT-SUBMIT" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-HOOK-USER-PROMPT-SUBMIT" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-hook-user-prompt-submit\fR - Handle the UserPromptSubmit Hook Event
|
|
4
4
|
.SH "SYNOPSIS"
|
package/dst/man/ase-hook.1
CHANGED
package/dst/man/ase-man.1
CHANGED
package/dst/man/ase-mcp.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-SERVICE-SEND" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-SERVICE-SEND" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-service-send\fR - Send a Command to the Background Service
|
|
4
4
|
.SH "SYNOPSIS"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-SERVICE-START" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-SERVICE-START" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-service-start\fR - Start the Per-Project Background Service
|
|
4
4
|
.SH "SYNOPSIS"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-SERVICE-STATUS" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-SERVICE-STATUS" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-service-status\fR - Report Whether the Background Service Is Running
|
|
4
4
|
.SH "SYNOPSIS"
|
package/dst/man/ase-service.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-SETUP-DISABLE" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-SETUP-DISABLE" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-setup-disable\fR - Disable the ASE Plugin in an Agent Tool
|
|
4
4
|
.SH "SYNOPSIS"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-SETUP-INSTALL" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-SETUP-INSTALL" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-setup-install\fR - Install the ASE Plugin into an Agent Tool
|
|
4
4
|
.SH "SYNOPSIS"
|
package/dst/man/ase-setup-mcp.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-SETUP-STATUS" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-SETUP-STATUS" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-setup-status\fR - Report the ASE Registrations of an Agent Tool
|
|
4
4
|
.SH "SYNOPSIS"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-SETUP-STATUSLINE" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-SETUP-STATUSLINE" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-setup-statusline\fR - Activate or Deactivate the ASE Statusline
|
|
4
4
|
.SH "SYNOPSIS"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-SETUP-TELEMETRY" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-SETUP-TELEMETRY" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-setup-telemetry\fR - Activate or Deactivate the ASE Telemetry Export
|
|
4
4
|
.SH "SYNOPSIS"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-SETUP-UNINSTALL" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-SETUP-UNINSTALL" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-setup-uninstall\fR - Uninstall the ASE Plugin and Tool
|
|
4
4
|
.SH "SYNOPSIS"
|
package/dst/man/ase-setup.1
CHANGED
package/dst/man/ase-spec-lint.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-SPEC-PREVIEW" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-SPEC-PREVIEW" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-spec-preview\fR - Serve a Live Preview of the Project Specification
|
|
4
4
|
.SH "SYNOPSIS"
|
package/dst/man/ase-spec.1
CHANGED
package/dst/man/ase-statusline.1
CHANGED
package/dst/man/ase-task-board.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-TASK-BOARD" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-TASK-BOARD" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-task-board\fR - Show the interactive task board of the project
|
|
4
4
|
.SH "SYNOPSIS"
|
|
@@ -41,7 +41,7 @@ The last shown view, the minimized lanes, the collapsed phases, and the shown fl
|
|
|
41
41
|
.P
|
|
42
42
|
The terminal board runs in the alternate screen of the terminal and requires a window of at least 40 columns and 16 rows.
|
|
43
43
|
.P
|
|
44
|
-
Its header shows the project, the task lifecycle model, the number of unfinished and of all tasks, the current view, and the \fBfilter:\fR field (with its \fB✕\fR clear button), below it the warnings of the board (e.g. on dependency cycles), and its footer shows the information line, up to three key hint lines (hidden and shown via \fB?\fR), and the status line with the kind and connection state of the task store (\fB●\fR connected, \fB\[ci]\fR disconnected), the number of agents and the connection state of the agent relay (if any), and the \fIASE\fR version, or a notice instead.
|
|
44
|
+
Its header shows the project, the task lifecycle model, the number of unfinished and of all tasks, the current view, and the \fBfilter:\fR field (with its \fB✕\fR clear button), below it the warnings of the board (e.g. on dependency cycles), and its footer shows the information line, up to three key hint lines (hidden and shown via \fB?\fR, where the information line reminds of \fB?\fR while they are hidden), and the status line with the kind and connection state of the task store (\fB●\fR connected, \fB\[ci]\fR disconnected), the number of agents and the connection state of the agent relay (if any), and the \fIASE\fR version, or a notice instead.
|
|
45
45
|
.P
|
|
46
46
|
In the task lanes view, lanes can be minimized (\fBm\fR), lane rows collapsed (\fBC\fR), and phases collapsed (\fBc\fR), and the selected lane can be \fIgrown\fR via \fBg\fR to the full board, showing all its cards in a grid of at least four columns.
|
|
47
47
|
.P
|
|
@@ -149,7 +149,7 @@ The following keys are supported by the terminal board (and, unless noted otherw
|
|
|
149
149
|
.IP \(bu 4
|
|
150
150
|
\fB/\fR: Focus the \fBfilter:\fR field (not in the agent logs and agent graph views).
|
|
151
151
|
.IP \(bu 4
|
|
152
|
-
\fB?\fR: Hide or show the key hint lines (persisted).
|
|
152
|
+
\fB?\fR: Hide or show the key hint lines (persisted); while hidden, the information line ends with \fB?: show key hints\fR.
|
|
153
153
|
.IP \(bu 4
|
|
154
154
|
\fBD\fR: Delete the selected task, after a confirmation (not in the agent logs and statistics views).
|
|
155
155
|
.IP \(bu 4
|
package/dst/man/ase-task-edit.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-TASK-LIFECYCLE" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-TASK-LIFECYCLE" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-task-lifecycle\fR - Get or Set the Task Lifecycle Model
|
|
4
4
|
.SH "SYNOPSIS"
|
package/dst/man/ase-task-list.1
CHANGED
package/dst/man/ase-task-load.1
CHANGED
package/dst/man/ase-task-newid.1
CHANGED
package/dst/man/ase-task-purge.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-TASK-REQUEST" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-TASK-REQUEST" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-task-request\fR - Request the Processing of a Task by a Prompt
|
|
4
4
|
.SH "SYNOPSIS"
|
package/dst/man/ase-task-save.1
CHANGED
package/dst/man/ase-task-store.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-TASK-STORE" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-TASK-STORE" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-task-store\fR - Manage the per-user task store REST API server
|
|
4
4
|
.SH "SYNOPSIS"
|
package/dst/man/ase-task-view.1
CHANGED
package/dst/man/ase-task.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-UTIL-COMPAT" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-UTIL-COMPAT" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-util-compat\fR - Output Expected Probe Values of the Compatibility Self-Test
|
|
4
4
|
.SH "SYNOPSIS"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-UTIL-DIAGRAM" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-UTIL-DIAGRAM" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-util-diagram\fR - Render Mermaid or D2 Diagrams as Unicode/ASCII Art or SVG
|
|
4
4
|
.SH "SYNOPSIS"
|
package/dst/man/ase-util-meta.1
CHANGED
package/dst/man/ase-util-mint.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "ASE-UTIL-WORKTREE" "1" "October 2026" "2.0.
|
|
1
|
+
.TH "ASE-UTIL-WORKTREE" "1" "October 2026" "2.0.3" "Agentic Software Engineering (ASE)"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBase-util-worktree\fR - Resolve the ASE Worktree Directories
|
|
4
4
|
.SH "SYNOPSIS"
|
package/dst/man/ase-util.1
CHANGED
package/dst/man/ase.1
CHANGED
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"homepage": "https://ase.tools",
|
|
7
7
|
"repository": { "url": "git+https://github.com/rse/ase.git", "type": "git" },
|
|
8
8
|
"bugs": { "url": "https://github.com/rse/ase/issues" },
|
|
9
|
-
"version": "2.0.
|
|
9
|
+
"version": "2.0.3",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"author": {
|
|
12
12
|
"name": "Dr. Ralf S. Engelschall",
|
|
@@ -262,8 +262,8 @@ dropped change *never* is.
|
|
|
262
262
|
|
|
263
263
|
2. Stage every fully resolved *unmerged* file by running the
|
|
264
264
|
command `git -C "<repo-root/>" add -- "<file/>"` (except for
|
|
265
|
-
files already removed from the index via `git rm
|
|
266
|
-
`git checkout --ours`/`--theirs
|
|
265
|
+
files already removed from the index via `git rm`, while files
|
|
266
|
+
taken via `git checkout --ours`/`--theirs` do need this
|
|
267
267
|
`git add`). You *MUST* *NOT* stage *marker* files, as they were
|
|
268
268
|
not staged before either, and you *MUST* *NOT* stage *partially*
|
|
269
269
|
resolved files, which hence stay *unmerged* (resp. carry their
|
package/plugin/meta/ase-skill.md
CHANGED
|
@@ -306,6 +306,13 @@ Artifact Boxing Transparency
|
|
|
306
306
|
above. Where no such branches or instructions exist, the decisions
|
|
307
307
|
above apply.
|
|
308
308
|
|
|
309
|
+
- *IMPORTANT*: Severity rule: an *explicitly* given severity floor
|
|
310
|
+
(option `--severity`|`-S` other than `AUTO`) of a finding-producing
|
|
311
|
+
skill *overrules* the boxing for *which* findings are inspected and
|
|
312
|
+
acted on: it lifts the `black` skip and the `grey` floor `MEDIUM`,
|
|
313
|
+
so e.g. `-S LOW` acts on *all* findings of severity `LOW` and above.
|
|
314
|
+
The boxing still governs the *internals exposed* of each finding.
|
|
315
|
+
|
|
309
316
|
Guidance Hint Level
|
|
310
317
|
-------------------
|
|
311
318
|
|
package/plugin/mods/ase-mods.ts
CHANGED
|
@@ -124,9 +124,9 @@ const token = (number: number, letter: string): RegExp =>
|
|
|
124
124
|
/* insert the number "n" of a clicked question or the short response "nX" of a
|
|
125
125
|
clicked answer into a prompt. Answer: an existing "nY" is replaced in place
|
|
126
126
|
(and a bare "n" removed), else a bare "n" is replaced in place, else "nX" is
|
|
127
|
-
appended. Question: an existing bare "n" is kept, else the bare number
|
|
128
|
-
another question (
|
|
129
|
-
|
|
127
|
+
appended. Question: an existing bare "n" is kept, else the last bare number
|
|
128
|
+
of another question (the selected one) is replaced in place, else "n" is
|
|
129
|
+
appended. */
|
|
130
130
|
const insert = (text: string, number: number, letter?: string): string => {
|
|
131
131
|
const bare = token(number, "")
|
|
132
132
|
const picks = token(number, "[a-zA-Z]")
|
|
@@ -135,8 +135,9 @@ const insert = (text: string, number: number, letter?: string): string => {
|
|
|
135
135
|
.replace(new RegExp(`\\s*${bare.source}`, "g"), "").trimStart()
|
|
136
136
|
if (text.search(bare) !== -1)
|
|
137
137
|
return letter !== undefined ? text.replace(bare, `${number}${letter}`) : text
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
const last = letter === undefined ? [ ...text.matchAll(SELECT) ].at(-1) : undefined
|
|
139
|
+
if (last !== undefined)
|
|
140
|
+
return text.slice(0, last.index) + String(number) + text.slice(last.index + last[0].length)
|
|
140
141
|
const head = text.trimEnd()
|
|
141
142
|
return `${head}${head !== "" ? " " : ""}${number}${letter ?? ""}`
|
|
142
143
|
}
|
|
@@ -235,7 +236,7 @@ export const register: Register = (on, options) => {
|
|
|
235
236
|
/* the last known width of the terminal, the already seen tables, the
|
|
236
237
|
latest (still unanswered) table, the picks and the selected question of the
|
|
237
238
|
still unsubmitted prompt, and the frozen picks of the already answered tables */
|
|
238
|
-
let columns
|
|
239
|
+
let columns = 80
|
|
239
240
|
const seen = new Set<string>()
|
|
240
241
|
let latest: string | undefined
|
|
241
242
|
let picks = new Map<number, string>()
|
|
@@ -325,22 +326,25 @@ export const register: Register = (on, options) => {
|
|
|
325
326
|
}
|
|
326
327
|
|
|
327
328
|
/* draw a line of a cell: its styled runs, padded to the column width */
|
|
328
|
-
const paint = (chars: Char[],
|
|
329
|
+
const paint = (chars: Char[], span: number): (string | RenderElement)[] => [
|
|
329
330
|
...split(chars).map(({ text, bold, color }) =>
|
|
330
331
|
bold || color !== undefined ? Text({ bold, color, children: text }) : text),
|
|
331
|
-
" ".repeat(Math.max(0,
|
|
332
|
+
" ".repeat(Math.max(0, span - width(chars)))
|
|
332
333
|
]
|
|
333
334
|
|
|
334
335
|
/* insert the number of a clicked question or the short response of a clicked
|
|
335
336
|
answer into the prompt and refresh the picks and the selection from it */
|
|
336
337
|
const press = (number: number, letter?: string) => () => {
|
|
337
|
-
|
|
338
|
+
$.prompt.read()
|
|
338
339
|
.then(({ text }) => $.prompt.fill({ text: insert(text, number, letter) }))
|
|
339
340
|
.then((box) => {
|
|
340
341
|
picks = pick(box.text)
|
|
341
342
|
selected = select(box.text)
|
|
342
343
|
$.ui.invalidate("ui.render")
|
|
343
344
|
})
|
|
345
|
+
.catch(() => {
|
|
346
|
+
/* ignore a prompt which is no longer accessible */
|
|
347
|
+
})
|
|
344
348
|
}
|
|
345
349
|
|
|
346
350
|
/* draw a line of a cell: in the latest table as the styled text inside a
|
|
@@ -350,11 +354,11 @@ export const register: Register = (on, options) => {
|
|
|
350
354
|
the run's bold style, but not its color, as its hover style, because the
|
|
351
355
|
engine leaves the space cells uncolored) on top of it; otherwise as
|
|
352
356
|
styled text only */
|
|
353
|
-
const draw = (chars: Char[],
|
|
357
|
+
const draw = (chars: Char[], span: number, group: string, line: number,
|
|
354
358
|
onPress: () => void): RenderElement[] => {
|
|
355
359
|
const w = width(chars)
|
|
356
360
|
if (e.requestId !== latest || w === 0)
|
|
357
|
-
return [ Text({ children: paint(chars,
|
|
361
|
+
return [ Text({ children: paint(chars, span) }) ]
|
|
358
362
|
const buttons = split(chars).map(({ text, bold }, r) =>
|
|
359
363
|
Button({ key: `${group}/${line}/${r}`, label: text, plain: true, onPress,
|
|
360
364
|
hover: { scope: group, inverse: true, bold } }))
|
|
@@ -364,7 +368,7 @@ export const register: Register = (on, options) => {
|
|
|
364
368
|
Box({ position: "absolute", top: 0, left: 0, display: "none",
|
|
365
369
|
hover: { scope: group, display: "flex" }, flexDirection: "row", children: buttons })
|
|
366
370
|
] }),
|
|
367
|
-
Text({ children: " ".repeat(Math.max(0,
|
|
371
|
+
Text({ children: " ".repeat(Math.max(0, span - w)) })
|
|
368
372
|
]
|
|
369
373
|
}
|
|
370
374
|
|
|
@@ -475,7 +475,9 @@ interface quality, quality attributes, and architecture governance.
|
|
|
475
475
|
followed by one `{ command: "set", key: "ase-issue-<id-prefix/>P<n/>",
|
|
476
476
|
val: "<title/>: <description/>" }` entry per reported PROBLEM and one
|
|
477
477
|
`{ command: "set", key: "ase-issue-<id-prefix/>T<n/>", val: "<title/>:
|
|
478
|
-
<
|
|
478
|
+
<focal-aspect/> (<focal-state/>) in tension with <partner-list/>,
|
|
479
|
+
lean toward <lean-toward/>: <rationale/>" }` entry per reported
|
|
480
|
+
TRADEOFF (as a TRADEOFF carries no <description/>).
|
|
479
481
|
|
|
480
482
|
Finally, give a final hint by expanding the following (which,
|
|
481
483
|
depending on the configured <ase-guidance-level/>, may expand into
|