@haus-tech/haus-workflow 6.6.0 → 6.7.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/CHANGELOG.md +13 -1
- package/dist/cli.js +148 -7
- package/library/catalog/manifest.json +97 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [6.7.1](https://github.com/WeAreHausTech/haus-workflow/compare/v6.7.0...v6.7.1) (2026-10-22)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- **guard:** let an agent drop a throwaway database on a local target ([#907](https://github.com/WeAreHausTech/haus-workflow/issues/907)) ([bb9a7f8](https://github.com/WeAreHausTech/haus-workflow/commit/bb9a7f8784e4743a5a13553af59b5ce1fd722a81)), closes [#905](https://github.com/WeAreHausTech/haus-workflow/issues/905)
|
|
8
|
+
|
|
9
|
+
## [6.7.0](https://github.com/WeAreHausTech/haus-workflow/compare/v6.6.0...v6.7.0) (2026-10-22)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
- **deploy-gate:** name the chained checks-and-merge command for production merges ([#903](https://github.com/WeAreHausTech/haus-workflow/issues/903)) ([241626a](https://github.com/WeAreHausTech/haus-workflow/commit/241626a55663d118172aebf64b3c8ee0a715ca0d))
|
|
14
|
+
|
|
3
15
|
## [6.6.0](https://github.com/WeAreHausTech/haus-workflow/compare/v6.5.0...v6.6.0) (2026-10-20)
|
|
4
16
|
|
|
5
17
|
### Features
|
|
@@ -20,7 +32,7 @@
|
|
|
20
32
|
- **deploy:** detection reads the base branch's tree and takes the stricter class ([#853](https://github.com/WeAreHausTech/haus-workflow/issues/853)) ([#861](https://github.com/WeAreHausTech/haus-workflow/issues/861)) ([7e4ad87](https://github.com/WeAreHausTech/haus-workflow/commit/7e4ad87b105e7844f5b6a053bc2430bc1ff8de5a))
|
|
21
33
|
- **doctor:** the import hand fix, unreadable skill files and one fix joiner ([#831](https://github.com/WeAreHausTech/haus-workflow/issues/831), [#833](https://github.com/WeAreHausTech/haus-workflow/issues/833), [#848](https://github.com/WeAreHausTech/haus-workflow/issues/848)) ([#858](https://github.com/WeAreHausTech/haus-workflow/issues/858)) ([4cf1f48](https://github.com/WeAreHausTech/haus-workflow/commit/4cf1f4835d3b4a0aedcaa44d39404f82ea165efa))
|
|
22
34
|
- **guard:** a case pattern never closes a substitution, and a $'...' string is read as bash and dash read it ([#870](https://github.com/WeAreHausTech/haus-workflow/issues/870), [#876](https://github.com/WeAreHausTech/haus-workflow/issues/876)) ([#893](https://github.com/WeAreHausTech/haus-workflow/issues/893)) ([accde4f](https://github.com/WeAreHausTech/haus-workflow/commit/accde4f711d84b542c9a5ea83ab51a2d40c79d7d))
|
|
23
|
-
- **guard:** a quoted substitution is a command, read under every close a shell takes, and the note rule reads what the call drops ([#852](https://github.com/WeAreHausTech/haus-workflow/issues/852)) ([#875](https://github.com/WeAreHausTech/haus-workflow/issues/875)) ([8d07c76](https://github.com/WeAreHausTech/haus-workflow/commit/8d07c768ff0b01b1e997efb102df9c5e6360035c))
|
|
35
|
+
- **guard:** a quoted substitution is a command, read under every close a shell takes, and the note rule reads what the call drops ([#852](https://github.com/WeAreHausTech/haus-workflow/issues/852)) ([#875](https://github.com/WeAreHausTech/haus-workflow/issues/875)) ([8d07c76](https://github.com/WeAreHausTech/haus-workflow/commit/8d07c768ff0b01b1e997efb102df9c5e6360035c))
|
|
24
36
|
- **guard:** a redirection is read the way the shell reads it, wherever it stands ([#855](https://github.com/WeAreHausTech/haus-workflow/issues/855)) ([#889](https://github.com/WeAreHausTech/haus-workflow/issues/889)) ([d6f2aab](https://github.com/WeAreHausTech/haus-workflow/commit/d6f2aab5df145853100a58c5c48a1c21d3e5a94c))
|
|
25
37
|
- **guard:** caffeinate, taskset, flock and chrt are wrappers, env is read as BSD and GNU run it, a launcher in front of a wrapper is looked past ([#863](https://github.com/WeAreHausTech/haus-workflow/issues/863), [#872](https://github.com/WeAreHausTech/haus-workflow/issues/872)) ([#894](https://github.com/WeAreHausTech/haus-workflow/issues/894)) ([ac7efe6](https://github.com/WeAreHausTech/haus-workflow/commit/ac7efe64b2ec0b3978e571401ab178ad3c5a149b))
|
|
26
38
|
- **guard:** read a command around an unquoted substitution as one command, one wrapper reader, env -S split the way env does ([#812](https://github.com/WeAreHausTech/haus-workflow/issues/812), [#825](https://github.com/WeAreHausTech/haus-workflow/issues/825), [#823](https://github.com/WeAreHausTech/haus-workflow/issues/823)) ([#865](https://github.com/WeAreHausTech/haus-workflow/issues/865)) ([04307ad](https://github.com/WeAreHausTech/haus-workflow/commit/04307ad68a375b59ee8c8c0cb0b27d5849ca1fc5))
|
package/dist/cli.js
CHANGED
|
@@ -22887,7 +22887,7 @@ async function verdictFor2(change, freezes) {
|
|
|
22887
22887
|
}
|
|
22888
22888
|
if (needsHumanClass(change.deploys) && change.auto) {
|
|
22889
22889
|
return deny(
|
|
22890
|
-
`haus: ${summary}. Auto-merge would land it later with no one confirming the deploy.
|
|
22890
|
+
`haus: ${summary}. Auto-merge would land it later with no one confirming the deploy. Once the human has said go in this conversation, send gh pr checks <n> --watch --interval 20 && gh pr merge <n> --squash --delete-branch --match-head-commit <sha> as one background command instead, right after opening the PR: the human confirms while still here, a red check stops the merge, and a later push cannot land unconfirmed.${hint}`
|
|
22891
22891
|
);
|
|
22892
22892
|
}
|
|
22893
22893
|
if (!change.hasRecord) {
|
|
@@ -23760,12 +23760,153 @@ var PRIVILEGE_ESCALATORS = /* @__PURE__ */ new Set(["sudo", "doas", "pkexec"]);
|
|
|
23760
23760
|
function isPrivilegeEscalation(words) {
|
|
23761
23761
|
return PRIVILEGE_ESCALATORS.has(commandName(words));
|
|
23762
23762
|
}
|
|
23763
|
-
|
|
23763
|
+
var DROP_DATABASE = "drop database";
|
|
23764
|
+
var THROWAWAY_DATABASE = /_tmp_|_verify$/;
|
|
23765
|
+
var DROP_STATEMENT = /^drop database (?:if exists )?(?:`([a-z0-9_]+)`|"([a-z0-9_]+)"|\[([a-z0-9_]+)\]|([a-z0-9_]+))(?: ?(?:with ?)?\( ?force ?\))?$/;
|
|
23766
|
+
var ATTACHED_OPTION = /^(?:--[a-z][a-z-]*=|-[a-z])/;
|
|
23767
|
+
var CONNINFO = /^(?:[a-z_]+ ?= ?\S+ ?)+$/;
|
|
23768
|
+
function sqlText(value) {
|
|
23769
|
+
return value.toLowerCase().replace(/\s+/g, " ").trim();
|
|
23770
|
+
}
|
|
23771
|
+
function countOf(text, phrase) {
|
|
23772
|
+
return text.split(phrase).length - 1;
|
|
23773
|
+
}
|
|
23774
|
+
function throwawayDrops(sql) {
|
|
23775
|
+
let drops = 0;
|
|
23776
|
+
for (const statement of sql.split(";")) {
|
|
23777
|
+
const text = statement.trim();
|
|
23778
|
+
if (text === "") continue;
|
|
23779
|
+
const name = DROP_STATEMENT.exec(text)?.slice(1).find((group) => group !== void 0);
|
|
23780
|
+
if (name === void 0 || !THROWAWAY_DATABASE.test(name)) return void 0;
|
|
23781
|
+
drops += 1;
|
|
23782
|
+
}
|
|
23783
|
+
return drops;
|
|
23784
|
+
}
|
|
23785
|
+
function dropsOnlyThrowawayDatabases(segment, text) {
|
|
23786
|
+
if (DESTRUCTIVE_SQL_PHRASES.some((phrase) => phrase !== DROP_DATABASE && text.includes(phrase))) {
|
|
23787
|
+
return false;
|
|
23788
|
+
}
|
|
23789
|
+
let drops = 0;
|
|
23790
|
+
for (const token of segment) {
|
|
23791
|
+
const value = sqlText(token.value);
|
|
23792
|
+
const holdsDrop = value.includes(DROP_DATABASE);
|
|
23793
|
+
if (!holdsDrop && !value.includes(" ")) continue;
|
|
23794
|
+
const sql = value.replace(ATTACHED_OPTION, "").trim();
|
|
23795
|
+
if (!holdsDrop && CONNINFO.test(sql)) continue;
|
|
23796
|
+
const count = throwawayDrops(sql);
|
|
23797
|
+
if (count === void 0) return false;
|
|
23798
|
+
drops += count;
|
|
23799
|
+
}
|
|
23800
|
+
return drops === countOf(text, DROP_DATABASE);
|
|
23801
|
+
}
|
|
23802
|
+
var TARGET_VARIABLE = /(?:^|[^a-z0-9_]|-e)(?:pghost|pghostaddr|pgservice|pgservicefile|mysql_host|mysql_home|mysql_test_login_file|docker_host|docker_context|docker_config|container_host|container_connection|cockroach_host|cockroach_url|clickhouse_host|database_url)=/i;
|
|
23803
|
+
var CONNINFO_TARGET = /(host|hostaddr|service)\s*=\s*([^\s&]*)/gi;
|
|
23804
|
+
var HIDDEN_TARGET_OPTIONS = [
|
|
23805
|
+
"--defaults-file",
|
|
23806
|
+
"--defaults-extra-file",
|
|
23807
|
+
"--defaults-group-suffix",
|
|
23808
|
+
"--login-path"
|
|
23809
|
+
];
|
|
23810
|
+
var UNREAD_SQL_OPTIONS = ["--file", "--queries-file", "--init-command"];
|
|
23811
|
+
var UNTARGETED_VALUE_OPTIONS = /* @__PURE__ */ new Set(["-u", "-U", "-p", "-P", "--user", "--username", "--port"]);
|
|
23812
|
+
var UNTARGETED_LONG_OPTIONS = /* @__PURE__ */ new Set(["--user", "--username", "--password", "--port"]);
|
|
23813
|
+
var REMOTE_ENGINE_OPTIONS = ["--host", "--context", "--connection", "--url"];
|
|
23814
|
+
var REMOTE_ENGINE_SHORT = /^-[A-Za-z]*[Hc]/;
|
|
23815
|
+
var CONTAINER_RUNNERS = /* @__PURE__ */ new Set(["docker", "podman", "docker-compose"]);
|
|
23816
|
+
var EXEC_VALUE_OPTIONS = /* @__PURE__ */ new Set([
|
|
23817
|
+
"-e",
|
|
23818
|
+
"--env",
|
|
23819
|
+
"-u",
|
|
23820
|
+
"--user",
|
|
23821
|
+
"-w",
|
|
23822
|
+
"--workdir",
|
|
23823
|
+
"--detach-keys",
|
|
23824
|
+
"--index",
|
|
23825
|
+
"--preserve-fds"
|
|
23826
|
+
]);
|
|
23827
|
+
function isLocalHost(host) {
|
|
23828
|
+
const bare = host.replace(/^\[|\]$/g, "").toLowerCase();
|
|
23829
|
+
return bare === "localhost" || bare === "127.0.0.1" || bare === "::1" || bare.startsWith("/");
|
|
23830
|
+
}
|
|
23831
|
+
function isLocalUri(word) {
|
|
23832
|
+
try {
|
|
23833
|
+
return isLocalHost(new URL(word).hostname);
|
|
23834
|
+
} catch {
|
|
23835
|
+
return false;
|
|
23836
|
+
}
|
|
23837
|
+
}
|
|
23838
|
+
function isFlag(word, flag) {
|
|
23839
|
+
return word === flag || word.startsWith(`${flag}=`);
|
|
23840
|
+
}
|
|
23841
|
+
function isComputed(word) {
|
|
23842
|
+
return word.includes("$");
|
|
23843
|
+
}
|
|
23844
|
+
function longOptionName(word) {
|
|
23845
|
+
if (!word.startsWith("--") || word.length < 3) return void 0;
|
|
23846
|
+
return word.split("=", 1)[0].replace(/_/g, "-");
|
|
23847
|
+
}
|
|
23848
|
+
function abbreviates(name, option, shortest = 5) {
|
|
23849
|
+
return name !== void 0 && name.length >= shortest && option.startsWith(name);
|
|
23850
|
+
}
|
|
23851
|
+
function localClientArguments(words) {
|
|
23852
|
+
const first = commandBaseName(words[0] ?? "");
|
|
23853
|
+
if (SQL_CLIENTS.has(first)) return words.slice(1);
|
|
23854
|
+
if (!CONTAINER_RUNNERS.has(first)) return void 0;
|
|
23855
|
+
const execAt = words.indexOf("exec");
|
|
23856
|
+
if (execAt === -1) return void 0;
|
|
23857
|
+
const engine = words.slice(1, execAt);
|
|
23858
|
+
const remote = (word) => isComputed(word) || REMOTE_ENGINE_SHORT.test(word) || REMOTE_ENGINE_OPTIONS.some((option) => isFlag(word, option));
|
|
23859
|
+
if (engine.some(remote)) return void 0;
|
|
23860
|
+
let at = execAt + 1;
|
|
23861
|
+
while (at < words.length && words[at].startsWith("-")) {
|
|
23862
|
+
if (isFlag(words[at], "--env-file")) return void 0;
|
|
23863
|
+
at += EXEC_VALUE_OPTIONS.has(words[at]) ? 2 : 1;
|
|
23864
|
+
}
|
|
23865
|
+
const client = words[at + 1];
|
|
23866
|
+
if (client === void 0 || !SQL_CLIENTS.has(commandBaseName(client))) return void 0;
|
|
23867
|
+
return words.slice(at + 2);
|
|
23868
|
+
}
|
|
23869
|
+
function namesOnlyLocalHosts(segment, args) {
|
|
23870
|
+
for (const { value } of segment) {
|
|
23871
|
+
if (value.includes("://") && !isLocalUri(value)) return false;
|
|
23872
|
+
for (const [, key, host] of value.matchAll(CONNINFO_TARGET)) {
|
|
23873
|
+
if (key.toLowerCase() === "service" || !isLocalHost(host)) return false;
|
|
23874
|
+
}
|
|
23875
|
+
}
|
|
23876
|
+
for (let i = 0; i < args.length; i += 1) {
|
|
23877
|
+
const word = args[i];
|
|
23878
|
+
const long = longOptionName(word);
|
|
23879
|
+
if (HIDDEN_TARGET_OPTIONS.some((option) => abbreviates(long, option))) return false;
|
|
23880
|
+
if (UNREAD_SQL_OPTIONS.some((option) => abbreviates(long, option, 4))) return false;
|
|
23881
|
+
if (word === "-f" || /^-f./.test(word)) return false;
|
|
23882
|
+
if (isComputed(word) && !/^-[uUpP]./.test(word) && !(long !== void 0 && UNTARGETED_LONG_OPTIONS.has(long) && word.includes("=")) && !UNTARGETED_VALUE_OPTIONS.has(args[i - 1] ?? "")) {
|
|
23883
|
+
return false;
|
|
23884
|
+
}
|
|
23885
|
+
if (abbreviates(long, "--host", 4)) {
|
|
23886
|
+
const eq = word.indexOf("=");
|
|
23887
|
+
const host = eq === -1 ? args[i += 1] : word.slice(eq + 1);
|
|
23888
|
+
if (!isLocalHost(host ?? "")) return false;
|
|
23889
|
+
} else if (word === "-h") {
|
|
23890
|
+
if (!isLocalHost(args[i += 1] ?? "")) return false;
|
|
23891
|
+
} else if (/^-h./.test(word)) {
|
|
23892
|
+
if (!isLocalHost(word.slice(2))) return false;
|
|
23893
|
+
}
|
|
23894
|
+
}
|
|
23895
|
+
return true;
|
|
23896
|
+
}
|
|
23897
|
+
function isThrowawayLocalDrop(segment, text, whole) {
|
|
23898
|
+
if (TARGET_VARIABLE.test(whole)) return false;
|
|
23899
|
+
if (!dropsOnlyThrowawayDatabases(segment, text)) return false;
|
|
23900
|
+
const args = localClientArguments(commandWords(segment));
|
|
23901
|
+
return args !== void 0 && namesOnlyLocalHosts(segment, args);
|
|
23902
|
+
}
|
|
23903
|
+
function isDestructiveSql(segment, whole) {
|
|
23764
23904
|
const words = commandWords(segment);
|
|
23765
23905
|
if (words.length === 0) return false;
|
|
23766
23906
|
if (words.some((word) => SQL_CLIENTS.has(commandBaseName(word)))) {
|
|
23767
|
-
const text = segment.map((token) => token.value).join(" ")
|
|
23768
|
-
|
|
23907
|
+
const text = sqlText(segment.map((token) => token.value).join(" "));
|
|
23908
|
+
if (!DESTRUCTIVE_SQL_PHRASES.some((phrase) => text.includes(phrase))) return false;
|
|
23909
|
+
return !isThrowawayLocalDrop(segment, text, whole);
|
|
23769
23910
|
}
|
|
23770
23911
|
const spoken = words.join(" ").toLowerCase();
|
|
23771
23912
|
return DESTRUCTIVE_SQL_PHRASES.some((phrase) => spoken.startsWith(phrase));
|
|
@@ -23877,7 +24018,7 @@ function isUngatedMergeChainIn(commands, depth2) {
|
|
|
23877
24018
|
}
|
|
23878
24019
|
var NESTING_TOO_DEEP = "a command that nests shells deeper than the guard reads";
|
|
23879
24020
|
var NESTING_CAP = 3;
|
|
23880
|
-
function matchDangerousCommandShape(command, depth2 = 0) {
|
|
24021
|
+
function matchDangerousCommandShape(command, depth2 = 0, whole = command) {
|
|
23881
24022
|
if (isUngatedMergeChain(command)) return UNGATED_MERGE_CHAIN;
|
|
23882
24023
|
const commands = parseShellCommandReadings(stripHarmlessRedirects(command)).flatMap(
|
|
23883
24024
|
(reading) => joinSubstitutions(reading)
|
|
@@ -23888,14 +24029,14 @@ function matchDangerousCommandShape(command, depth2 = 0) {
|
|
|
23888
24029
|
const nested = nestedCommandString(rawCommandWords(reading));
|
|
23889
24030
|
if (nested !== void 0) {
|
|
23890
24031
|
if (depth2 >= NESTING_CAP) return NESTING_TOO_DEEP;
|
|
23891
|
-
const verdict = matchDangerousCommandShape(nested, depth2 + 1);
|
|
24032
|
+
const verdict = matchDangerousCommandShape(nested, depth2 + 1, whole);
|
|
23892
24033
|
if (verdict) return verdict;
|
|
23893
24034
|
}
|
|
23894
24035
|
const words = commandWords(reading);
|
|
23895
24036
|
if (words.length === 0) continue;
|
|
23896
24037
|
const matched = SEGMENT_MATCHERS.find((matcher) => matcher.matches(words));
|
|
23897
24038
|
if (matched) return matched.name;
|
|
23898
|
-
if (isDestructiveSql(reading)) return "a destructive database statement";
|
|
24039
|
+
if (isDestructiveSql(reading, whole)) return "a destructive database statement";
|
|
23899
24040
|
}
|
|
23900
24041
|
}
|
|
23901
24042
|
return void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "6.
|
|
2
|
+
"version": "6.13.2",
|
|
3
3
|
"manifestFormat": 2,
|
|
4
4
|
"globalPlugins": [
|
|
5
5
|
{
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"haus.lefthook-quality",
|
|
27
27
|
"haus.lefthook-branch-guard",
|
|
28
28
|
"haus.lefthook-security",
|
|
29
|
+
"haus.lefthook-lighthouse",
|
|
29
30
|
"haus.decision-template",
|
|
30
31
|
"haus.decisions-ci-gate",
|
|
31
32
|
"haus.adr-decisions",
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
"items": [
|
|
55
56
|
{
|
|
56
57
|
"id": "haus.agentic-workflow-standard",
|
|
57
|
-
"version": "2.
|
|
58
|
+
"version": "2.7.0",
|
|
58
59
|
"source": "haus",
|
|
59
60
|
"type": "template",
|
|
60
61
|
"path": "templates/agentic-workflow-standard.md",
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
"tags": ["workflow", "baseline", "project-instructions"],
|
|
66
67
|
"repoRoles": [],
|
|
67
68
|
"installMode": "copy-selected",
|
|
68
|
-
"tokenEstimate":
|
|
69
|
+
"tokenEstimate": 3899,
|
|
69
70
|
"tokenBudget": 5131,
|
|
70
71
|
"default": true,
|
|
71
72
|
"reviewStatus": "approved",
|
|
@@ -1599,6 +1600,52 @@
|
|
|
1599
1600
|
"reviewStatus": "approved",
|
|
1600
1601
|
"riskLevel": "low"
|
|
1601
1602
|
},
|
|
1603
|
+
{
|
|
1604
|
+
"id": "haus.lefthook-lighthouse",
|
|
1605
|
+
"version": "1.0.0",
|
|
1606
|
+
"source": "haus",
|
|
1607
|
+
"type": "template",
|
|
1608
|
+
"path": "templates/lefthook-lighthouse.yml",
|
|
1609
|
+
"title": "Lefthook Lighthouse pre-push",
|
|
1610
|
+
"purpose": "Pre-push performance gate for web front ends: builds the production front end and runs Lighthouse CI against it, so a change that slows a page down stops before the PR instead of after the deploy.",
|
|
1611
|
+
"whenToUse": "Web front ends (React, Next.js, Vite, React Router, Vue, WordPress) whose page speed matters. Pair it with the haus.lighthouserc config, which holds the URLs, the server command and the limits; replace the glob and the build command after install.",
|
|
1612
|
+
"whenNotToUse": "Repos without a front end someone loads in a browser, or where the production build cannot be served locally yet: a gate that cannot start the site fails every push.",
|
|
1613
|
+
"tags": ["workflow", "quality", "frontend"],
|
|
1614
|
+
"repoRoles": [],
|
|
1615
|
+
"requiresAny": [
|
|
1616
|
+
{
|
|
1617
|
+
"role": "react-app"
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
"role": "next-app"
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"role": "vite-app"
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"role": "react-router-app"
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"role": "wordpress-site"
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"role": "wordpress-bedrock-site"
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"role": "wordpress-vanilla-site"
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"stack": "vue"
|
|
1639
|
+
}
|
|
1640
|
+
],
|
|
1641
|
+
"ecosystem": "quality",
|
|
1642
|
+
"installMode": "copy-selected",
|
|
1643
|
+
"tokenEstimate": 477,
|
|
1644
|
+
"tokenBudget": 585,
|
|
1645
|
+
"default": false,
|
|
1646
|
+
"reviewStatus": "approved",
|
|
1647
|
+
"riskLevel": "low"
|
|
1648
|
+
},
|
|
1602
1649
|
{
|
|
1603
1650
|
"id": "haus.decision-template",
|
|
1604
1651
|
"version": "1.0.0",
|
|
@@ -1661,7 +1708,7 @@
|
|
|
1661
1708
|
},
|
|
1662
1709
|
{
|
|
1663
1710
|
"id": "haus.adr-decisions",
|
|
1664
|
-
"version": "1.
|
|
1711
|
+
"version": "1.3.0",
|
|
1665
1712
|
"source": "haus",
|
|
1666
1713
|
"type": "skill",
|
|
1667
1714
|
"path": "skills/haus-owned/general/adr-decisions",
|
|
@@ -1673,8 +1720,8 @@
|
|
|
1673
1720
|
"repoRoles": [],
|
|
1674
1721
|
"ecosystem": "general",
|
|
1675
1722
|
"installMode": "copy-selected",
|
|
1676
|
-
"tokenEstimate":
|
|
1677
|
-
"tokenBudget":
|
|
1723
|
+
"tokenEstimate": 1209,
|
|
1724
|
+
"tokenBudget": 1572,
|
|
1678
1725
|
"default": true,
|
|
1679
1726
|
"reviewStatus": "approved",
|
|
1680
1727
|
"riskLevel": "low"
|
|
@@ -1959,6 +2006,50 @@
|
|
|
1959
2006
|
"reviewStatus": "approved",
|
|
1960
2007
|
"riskLevel": "low"
|
|
1961
2008
|
},
|
|
2009
|
+
{
|
|
2010
|
+
"id": "haus.lighthouserc",
|
|
2011
|
+
"version": "1.0.0",
|
|
2012
|
+
"source": "haus",
|
|
2013
|
+
"type": "config",
|
|
2014
|
+
"path": "configs/lighthouse/lighthouserc.yml",
|
|
2015
|
+
"title": "Haus Lighthouse CI config",
|
|
2016
|
+
"purpose": "Starter lighthouserc.yml for the haus.lefthook-lighthouse gate: mobile emulation as PageSpeed Insights measures, three runs per page, limits on the performance score, LCP, CLS and TBT, reports kept on the machine.",
|
|
2017
|
+
"whenToUse": "Together with haus.lefthook-lighthouse. Run `haus configs haus.lighthouserc` to copy it to the project root, then replace the server command and the URLs with the project's own.",
|
|
2018
|
+
"whenNotToUse": "Skip it if the project already has its own Lighthouse CI config.",
|
|
2019
|
+
"tags": ["tooling", "quality", "frontend"],
|
|
2020
|
+
"repoRoles": [],
|
|
2021
|
+
"requiresAny": [
|
|
2022
|
+
{
|
|
2023
|
+
"role": "react-app"
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"role": "next-app"
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
"role": "vite-app"
|
|
2030
|
+
},
|
|
2031
|
+
{
|
|
2032
|
+
"role": "react-router-app"
|
|
2033
|
+
},
|
|
2034
|
+
{
|
|
2035
|
+
"role": "wordpress-site"
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
"role": "wordpress-bedrock-site"
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
"role": "wordpress-vanilla-site"
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
"stack": "vue"
|
|
2045
|
+
}
|
|
2046
|
+
],
|
|
2047
|
+
"ecosystem": "tooling",
|
|
2048
|
+
"tokenEstimate": 0,
|
|
2049
|
+
"installMode": "copy-selected",
|
|
2050
|
+
"reviewStatus": "approved",
|
|
2051
|
+
"riskLevel": "low"
|
|
2052
|
+
},
|
|
1962
2053
|
{
|
|
1963
2054
|
"id": "haus.qliro-patterns",
|
|
1964
2055
|
"version": "1.0.0",
|