@codyswann/lisa 1.34.0 → 1.36.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/.claude/hooks/setup-jira-cli.sh +52 -0
- package/all/copy-overwrite/.claude/rules/lisa.md +1 -1
- package/all/copy-overwrite/.claude/settings.json +12 -0
- package/all/copy-overwrite/.coderabbit.yml +59 -0
- package/all/copy-overwrite/CLAUDE.md +1 -0
- package/expo/copy-overwrite/.mcp.json +0 -8
- package/package.json +1 -1
- package/typescript/copy-overwrite/.claude/hooks/install_pkgs.sh +13 -0
- package/typescript/copy-overwrite/.claude/settings.json +10 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
##
|
|
3
|
+
# Writes the JIRA CLI config file from environment variables.
|
|
4
|
+
# Runs on SessionStart so the config is available for every session.
|
|
5
|
+
#
|
|
6
|
+
# Required env vars (must be created in your Claude Code Web environment):
|
|
7
|
+
# JIRA_INSTALLATION - cloud or local
|
|
8
|
+
# JIRA_SERVER - Atlassian instance URL
|
|
9
|
+
# JIRA_LOGIN - login email
|
|
10
|
+
# JIRA_PROJECT - default project key
|
|
11
|
+
# JIRA_API_TOKEN - already expected by jira-cli natively
|
|
12
|
+
#
|
|
13
|
+
# Optional env vars:
|
|
14
|
+
# JIRA_BOARD - default board name
|
|
15
|
+
##
|
|
16
|
+
|
|
17
|
+
set -euo pipefail
|
|
18
|
+
|
|
19
|
+
# Fix jira-cli installation if install_pkgs.sh failed to extract correctly.
|
|
20
|
+
# The tarball nests the binary at jira_VERSION_linux_x86_64/bin/jira,
|
|
21
|
+
# but install_pkgs.sh expects a top-level "jira" file.
|
|
22
|
+
if ! command -v jira &>/dev/null; then
|
|
23
|
+
JIRA_CLI_VERSION="1.7.0"
|
|
24
|
+
TMPDIR=$(mktemp -d)
|
|
25
|
+
curl -sSfL "https://github.com/ankitpokhrel/jira-cli/releases/download/v${JIRA_CLI_VERSION}/jira_${JIRA_CLI_VERSION}_linux_x86_64.tar.gz" \
|
|
26
|
+
| tar -xz -C "${TMPDIR}"
|
|
27
|
+
cp "${TMPDIR}/jira_${JIRA_CLI_VERSION}_linux_x86_64/bin/jira" /usr/local/bin/jira
|
|
28
|
+
chmod +x /usr/local/bin/jira
|
|
29
|
+
rm -rf "${TMPDIR}"
|
|
30
|
+
fi
|
|
31
|
+
|
|
32
|
+
CONFIG_DIR="${HOME}/.config/.jira"
|
|
33
|
+
CONFIG_FILE="${CONFIG_DIR}/.config.yml"
|
|
34
|
+
|
|
35
|
+
# Skip config write if required vars are missing
|
|
36
|
+
if [[ -z "${JIRA_SERVER:-}" || -z "${JIRA_LOGIN:-}" ]]; then
|
|
37
|
+
exit 0
|
|
38
|
+
fi
|
|
39
|
+
|
|
40
|
+
mkdir -p "${CONFIG_DIR}"
|
|
41
|
+
|
|
42
|
+
cat > "${CONFIG_FILE}" << EOF
|
|
43
|
+
installation: ${JIRA_INSTALLATION:-cloud}
|
|
44
|
+
server: ${JIRA_SERVER}
|
|
45
|
+
login: ${JIRA_LOGIN}
|
|
46
|
+
project: ${JIRA_PROJECT:-}
|
|
47
|
+
board: "${JIRA_BOARD:-}"
|
|
48
|
+
auth_type: basic
|
|
49
|
+
epic:
|
|
50
|
+
name: Epic Name
|
|
51
|
+
link: Epic Link
|
|
52
|
+
EOF
|
|
@@ -37,7 +37,7 @@ These directories contain files deployed by Lisa **and** files you create. Do no
|
|
|
37
37
|
- `.claude/rules/coding-philosophy.md`, `.claude/rules/plan.md`, `.claude/rules/verfication.md`
|
|
38
38
|
- `CLAUDE.md`, `HUMAN.md`, `.safety-net.json`
|
|
39
39
|
- `.prettierrc.json`, `.prettierignore`, `.lintstagedrc.json`, `.versionrc`, `.nvmrc`
|
|
40
|
-
- `.yamllint`, `.gitleaksignore`, `commitlint.config.cjs`, `sgconfig.yml`, `knip.json`
|
|
40
|
+
- `.yamllint`, `.gitleaksignore`, `.coderabbit.yml`, `commitlint.config.cjs`, `sgconfig.yml`, `knip.json`
|
|
41
41
|
- `eslint.base.ts`, `eslint.typescript.ts`, `eslint.expo.ts`, `eslint.nestjs.ts`, `eslint.cdk.ts`, `eslint.slow.config.ts`
|
|
42
42
|
- `jest.base.ts`, `jest.typescript.ts`, `jest.expo.ts`, `jest.nestjs.ts`, `jest.cdk.ts`
|
|
43
43
|
- `tsconfig.base.json`, `tsconfig.typescript.json`, `tsconfig.expo.json`, `tsconfig.nestjs.json`, `tsconfig.cdk.json`
|
|
@@ -32,6 +32,18 @@
|
|
|
32
32
|
]
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
|
+
"SessionStart": [
|
|
36
|
+
{
|
|
37
|
+
"matcher": "",
|
|
38
|
+
"hooks": [
|
|
39
|
+
{
|
|
40
|
+
"type": "command",
|
|
41
|
+
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/setup-jira-cli.sh",
|
|
42
|
+
"timeout": 5
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
],
|
|
35
47
|
"PostToolUse": [
|
|
36
48
|
{
|
|
37
49
|
"matcher": "Write|Edit",
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
|
|
2
|
+
early_access: true
|
|
3
|
+
inheritance: true
|
|
4
|
+
reviews:
|
|
5
|
+
request_changes_workflow: true
|
|
6
|
+
collapse_walkthrough: false
|
|
7
|
+
sequence_diagrams: false
|
|
8
|
+
estimate_code_review_effort: false
|
|
9
|
+
in_progress_fortune: false
|
|
10
|
+
poem: false
|
|
11
|
+
auto_review:
|
|
12
|
+
drafts: true
|
|
13
|
+
pre_merge_checks:
|
|
14
|
+
docstrings:
|
|
15
|
+
mode: error
|
|
16
|
+
title:
|
|
17
|
+
mode: error
|
|
18
|
+
description:
|
|
19
|
+
mode: error
|
|
20
|
+
tools:
|
|
21
|
+
markdownlint:
|
|
22
|
+
enabled: false
|
|
23
|
+
swiftlint:
|
|
24
|
+
enabled: false
|
|
25
|
+
phpstan:
|
|
26
|
+
enabled: false
|
|
27
|
+
phpmd:
|
|
28
|
+
enabled: false
|
|
29
|
+
phpcs:
|
|
30
|
+
enabled: false
|
|
31
|
+
golangci-lint:
|
|
32
|
+
enabled: false
|
|
33
|
+
detekt:
|
|
34
|
+
enabled: false
|
|
35
|
+
fortitudeLint:
|
|
36
|
+
enabled: false
|
|
37
|
+
buf:
|
|
38
|
+
enabled: false
|
|
39
|
+
regal:
|
|
40
|
+
enabled: false
|
|
41
|
+
pmd:
|
|
42
|
+
enabled: false
|
|
43
|
+
clang:
|
|
44
|
+
enabled: false
|
|
45
|
+
cppcheck:
|
|
46
|
+
enabled: false
|
|
47
|
+
circleci:
|
|
48
|
+
enabled: false
|
|
49
|
+
checkmake:
|
|
50
|
+
enabled: false
|
|
51
|
+
knowledge_base:
|
|
52
|
+
code_guidelines:
|
|
53
|
+
filePatterns:
|
|
54
|
+
- '**/.claude/**/*'
|
|
55
|
+
issue_enrichment:
|
|
56
|
+
auto_enrich:
|
|
57
|
+
enabled: true
|
|
58
|
+
labeling:
|
|
59
|
+
auto_apply_labels: true
|
|
@@ -45,6 +45,7 @@ Never delete anything that isn't tracked in git
|
|
|
45
45
|
Never delete anything outside of this project's directory
|
|
46
46
|
Never add "BREAKING CHANGE" to a commit message unless there is actually a breaking change
|
|
47
47
|
Never stash changes you can't commit. Either fix whatever is prevening the commit or fail out and let the human know why.
|
|
48
|
+
Never lower thresholds for tests to pass a pre-push hook. You must increase test coverage to make it pass
|
|
48
49
|
|
|
49
50
|
ONLY use eslint-disable as a last resort and confirm with human before doing so
|
|
50
51
|
ONLY use eslint-disable for test file max-lines when comprehensive test coverage requires extensive test cases (must include matching eslint-enable)
|
|
@@ -20,14 +20,6 @@
|
|
|
20
20
|
"SONARQUBE_TOKEN": "${SONAR_TOKEN}",
|
|
21
21
|
"SONARQUBE_ORG": "${SONAR_ORG}"
|
|
22
22
|
}
|
|
23
|
-
},
|
|
24
|
-
"atlassian": {
|
|
25
|
-
"type": "sse",
|
|
26
|
-
"url": "https://mcp.atlassian.com/v1/sse"
|
|
27
|
-
},
|
|
28
|
-
"playwright": {
|
|
29
|
-
"command": "npx",
|
|
30
|
-
"args": ["@playwright/mcp@latest"]
|
|
31
23
|
}
|
|
32
24
|
}
|
|
33
25
|
}
|
package/package.json
CHANGED
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@isaacs/brace-expansion": "^5.0.1"
|
|
89
89
|
},
|
|
90
90
|
"name": "@codyswann/lisa",
|
|
91
|
-
"version": "1.
|
|
91
|
+
"version": "1.36.0",
|
|
92
92
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
93
93
|
"main": "dist/index.js",
|
|
94
94
|
"bin": {
|
|
@@ -27,6 +27,19 @@ GITLEAKS_VERSION="8.18.4"
|
|
|
27
27
|
curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" | tar -xz -C /usr/local/bin gitleaks
|
|
28
28
|
echo "Gitleaks installed: $(gitleaks version)"
|
|
29
29
|
|
|
30
|
+
# Install jira-cli for JIRA integration
|
|
31
|
+
# The tarball nests the binary at jira_VERSION_linux_x86_64/bin/jira,
|
|
32
|
+
# so we extract to a temp dir and copy the binary out.
|
|
33
|
+
echo "Installing jira-cli for JIRA integration..."
|
|
34
|
+
JIRA_CLI_VERSION="1.7.0"
|
|
35
|
+
JIRA_TMPDIR=$(mktemp -d)
|
|
36
|
+
curl -sSfL "https://github.com/ankitpokhrel/jira-cli/releases/download/v${JIRA_CLI_VERSION}/jira_${JIRA_CLI_VERSION}_linux_x86_64.tar.gz" \
|
|
37
|
+
| tar -xz -C "${JIRA_TMPDIR}"
|
|
38
|
+
cp "${JIRA_TMPDIR}/jira_${JIRA_CLI_VERSION}_linux_x86_64/bin/jira" /usr/local/bin/jira
|
|
39
|
+
chmod +x /usr/local/bin/jira
|
|
40
|
+
rm -rf "${JIRA_TMPDIR}"
|
|
41
|
+
echo "jira-cli installed: $(jira version)"
|
|
42
|
+
|
|
30
43
|
# Install Chromium for Lighthouse CI (pre-push hook)
|
|
31
44
|
# Playwright's bundled Chromium works with @lhci/cli
|
|
32
45
|
echo "Installing Chromium for Lighthouse CI..."
|