@codyswann/lisa 4.57.5 → 4.58.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/all/copy-overwrite/scripts/lisa-hooks/block-direct-issue-create.sh +21 -1
- package/dist/cli/doctor-ownership-banner-drift.d.ts +24 -0
- package/dist/cli/doctor-ownership-banner-drift.d.ts.map +1 -0
- package/dist/cli/doctor-ownership-banner-drift.js +155 -0
- package/dist/cli/doctor-ownership-banner-drift.js.map +1 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +7 -0
- package/dist/cli/doctor.js.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +4 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +5 -2
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/hooks/block-direct-issue-create.sh +21 -1
- package/plugins/lisa-agy/hooks/block-direct-issue-create.sh +21 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/hooks/block-direct-issue-create.sh +21 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/hooks/block-direct-issue-create.sh +21 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/src/base/hooks/block-direct-issue-create.sh +21 -1
|
@@ -1002,6 +1002,25 @@ GLUED_OPERATORS = ("&&", "||", ";;", ";", "|", "&")
|
|
|
1002
1002
|
SEGMENT_BOUNDARIES = set(GLUED_OPERATORS) | {"(", ")", "{", "}"}
|
|
1003
1003
|
|
|
1004
1004
|
|
|
1005
|
+
def strip_full_line_comments(text):
|
|
1006
|
+
"""Blank lines beginning with `#` after optional whitespace.
|
|
1007
|
+
|
|
1008
|
+
This bounded fallback prevents ordinary prose comments from matching a
|
|
1009
|
+
creation token after an apostrophe defeats shlex (CodySwannGT/lisa#3551).
|
|
1010
|
+
It does not determine quote context: a leading `#` inside a multiline
|
|
1011
|
+
string is also removed. This is a textual guard, not shell interpretation.
|
|
1012
|
+
|
|
1013
|
+
Args:
|
|
1014
|
+
text: The raw command or file text.
|
|
1015
|
+
|
|
1016
|
+
Returns:
|
|
1017
|
+
The text with whole-line comments blanked, line count preserved.
|
|
1018
|
+
"""
|
|
1019
|
+
return "\n".join(
|
|
1020
|
+
"" if line.lstrip().startswith("#") else line for line in text.split("\n")
|
|
1021
|
+
)
|
|
1022
|
+
|
|
1023
|
+
|
|
1005
1024
|
def strip_heredocs(text):
|
|
1006
1025
|
"""Drop heredoc bodies so quoted prose cannot be read as argv.
|
|
1007
1026
|
|
|
@@ -2341,7 +2360,8 @@ def scan(text, depth, from_file=False):
|
|
|
2341
2360
|
# `unparseable_reads_only` for why this does not narrow the fallback.
|
|
2342
2361
|
if unparseable_reads_only(text):
|
|
2343
2362
|
return None
|
|
2344
|
-
|
|
2363
|
+
# Ignore whole-line prose comments when applying the fallback matcher.
|
|
2364
|
+
if UNPARSEABLE_CREATION.search(strip_full_line_comments(text)):
|
|
2345
2365
|
return (
|
|
2346
2366
|
"an unparseable command that reads as a tracker creation",
|
|
2347
2367
|
[ready_role],
|