Compare commits
7 Commits
polecat/ru
...
polecat/ch
| Author | SHA1 | Date | |
|---|---|---|---|
| c95fb1435b | |||
| 8908500073 | |||
| 87f6d5c759 | |||
| a851c2551c | |||
|
|
6cf63e86c1 | ||
| c3ed6c0a26 | |||
|
|
53fa89b2e9 |
25
flake.lock
generated
25
flake.lock
generated
@@ -8,16 +8,17 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769405733,
|
"lastModified": 1769840331,
|
||||||
"narHash": "sha256-WpROnW0dRi5ub0SlpKrMBs3pYlSBY4xw22hnTNvBMgI=",
|
"narHash": "sha256-Yp0K4JoXX8EcHp1juH4OZ7dcCmkopDu4VvAgZEOxgL8=",
|
||||||
"owner": "steveyegge",
|
"owner": "steveyegge",
|
||||||
"repo": "beads",
|
"repo": "beads",
|
||||||
"rev": "6e82d1e2eea121ce5dc0964d554879f8b0c08563",
|
"rev": "93965b4abeed920a4701e03571d1b6bb75810722",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "steveyegge",
|
"owner": "steveyegge",
|
||||||
"repo": "beads",
|
"repo": "beads",
|
||||||
|
"rev": "93965b4abeed920a4701e03571d1b6bb75810722",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -47,11 +48,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769329593,
|
"lastModified": 1769848312,
|
||||||
"narHash": "sha256-u5PSA+8TUYF/13ziBcnoE67nkDwpjAdecKh3srcJJm0=",
|
"narHash": "sha256-ggBocPd1L4l5MFNV0Fw9aSGZZO4aGzCfgh4e6hQ77RE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "776dc33d735af583a14cc56b406ea658398964a7",
|
"rev": "be0b4f4f28f69be61e9174807250e3235ee11d50",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -81,11 +82,11 @@
|
|||||||
"gastown": {
|
"gastown": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769538736,
|
"lastModified": 1770098007,
|
||||||
"narHash": "sha256-A33gyS/ERUCFcaFG9PJdIHfIOafguqkRe+DuIZteH5s=",
|
"narHash": "sha256-CFlN57BXlR5FobTChdE2GgdIGx4xJcFFCk1E5Q98cSQ=",
|
||||||
"owner": "steveyegge",
|
"owner": "steveyegge",
|
||||||
"repo": "gastown",
|
"repo": "gastown",
|
||||||
"rev": "177094a2335786d1d450fd9e14b935877291c004",
|
"rev": "13461161063bf7b2365fe5fd4df88e32c3ba2a28",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -206,11 +207,11 @@
|
|||||||
"systems": "systems_2"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769330679,
|
"lastModified": 1769849328,
|
||||||
"narHash": "sha256-X7rw5ouiAYKmbbKLtkEc/Kqcg6DxKgOtgaftzuchy/M=",
|
"narHash": "sha256-BjH1Ge6O8ObN6Z97un2U87pl4POO99Q8RSsgIuTZq8Q=",
|
||||||
"owner": "marienz",
|
"owner": "marienz",
|
||||||
"repo": "nix-doom-emacs-unstraightened",
|
"repo": "nix-doom-emacs-unstraightened",
|
||||||
"rev": "0c2d527055f448c8856129c6d063535e06aeff4d",
|
"rev": "fc1d7190c49558cdc6af20d7657075943a500a93",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -43,7 +43,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
beads = {
|
beads = {
|
||||||
url = "github:steveyegge/beads";
|
# v0.49.1 has dolt server mode support (gt-1mf.3)
|
||||||
|
# Pinned to 259ddd92 - uses Go 1.24 compatible with nixpkgs
|
||||||
|
url = "github:steveyegge/beads/93965b4abeed920a4701e03571d1b6bb75810722";
|
||||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
home.roles = {
|
home.roles = {
|
||||||
base.enable = true;
|
base.enable = true;
|
||||||
plasma-manager-kodi.enable = true;
|
plasma-manager-kodi.enable = true;
|
||||||
|
kdeconnect.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|||||||
@@ -5,20 +5,25 @@ with lib;
|
|||||||
let
|
let
|
||||||
cfg = config.home.roles.development;
|
cfg = config.home.roles.development;
|
||||||
|
|
||||||
# FIXME: Temporary override for upstream beads vendorHash mismatch
|
# Build beads from flake input with corrected vendorHash
|
||||||
# Remove after upstream fix: https://github.com/steveyegge/beads/issues/XXX
|
# The upstream default.nix has stale vendorHash for commits with server mode
|
||||||
beadsPackage = globalInputs.beads.packages.${system}.default.overrideAttrs (old: {
|
beadsRev = builtins.substring 0 8 (globalInputs.beads.rev or "unknown");
|
||||||
vendorHash = "sha256-YU+bRLVlWtHzJ1QPzcKJ70f+ynp8lMoIeFlm+29BNPE=";
|
beadsPackage = pkgs.buildGoModule {
|
||||||
|
pname = "beads";
|
||||||
# Performance fix: avoid WHERE IN (8000+ IDs) query pattern that hammers Dolt CPU
|
version = "0.49.1-${beadsRev}";
|
||||||
# See: hq-ihwsj - bd list uses inefficient WHERE IN (all_ids) query pattern
|
src = globalInputs.beads;
|
||||||
# The fix changes SearchIssues to SELECT all columns directly instead of:
|
subPackages = [ "cmd/bd" ];
|
||||||
# 1. SELECT id FROM issues WHERE ... -> collect IDs
|
doCheck = false;
|
||||||
# 2. SELECT * FROM issues WHERE id IN (all_ids) -> 8000+ placeholder IN clause
|
# Regenerated vendorHash for commit 93965b4a (has dolt server mode, Go 1.24)
|
||||||
patches = (old.patches or []) ++ [
|
vendorHash = "sha256-gwxGv8y4+1+k0741CnOYcyJPTJ5vTrynqPoO8YS9fbQ=";
|
||||||
./beads-search-query-optimization.patch
|
nativeBuildInputs = [ pkgs.git ];
|
||||||
];
|
meta = with lib; {
|
||||||
});
|
description = "beads (bd) - An issue tracker designed for AI-supervised coding workflows";
|
||||||
|
homepage = "https://github.com/steveyegge/beads";
|
||||||
|
license = licenses.mit;
|
||||||
|
mainProgram = "bd";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Gastown - multi-agent workspace manager (no upstream flake.nix yet)
|
# Gastown - multi-agent workspace manager (no upstream flake.nix yet)
|
||||||
# Source is tracked via flake input for renovate updates
|
# Source is tracked via flake input for renovate updates
|
||||||
@@ -47,14 +52,10 @@ let
|
|||||||
./gastown-fix-validate-recipient.patch
|
./gastown-fix-validate-recipient.patch
|
||||||
# Fix agentBeadToAddress to use title field for hq- prefixed beads
|
# Fix agentBeadToAddress to use title field for hq- prefixed beads
|
||||||
./gastown-fix-agent-bead-address-title.patch
|
./gastown-fix-agent-bead-address-title.patch
|
||||||
# Fix agentBeadToAddress to handle rig-specific prefixes (j-, sc-, etc.)
|
|
||||||
./gastown-fix-agent-bead-rig-prefix.patch
|
|
||||||
# Fix crew/polecat home paths: remove incorrect /rig suffix
|
# Fix crew/polecat home paths: remove incorrect /rig suffix
|
||||||
./gastown-fix-role-home-paths.patch
|
./gastown-fix-role-home-paths.patch
|
||||||
# Fix town root detection: don't map to Mayor (causes spurious mismatch warnings)
|
# Fix town root detection: don't map to Mayor (causes spurious mismatch warnings)
|
||||||
./gastown-fix-town-root-detection.patch
|
./gastown-fix-town-root-detection.patch
|
||||||
# Fix copyDir to handle symlinks (broken symlinks cause "no such file" errors)
|
|
||||||
./gastown-fix-copydir-symlinks.patch
|
|
||||||
# Statusline optimization: skip expensive beads queries for detached sessions
|
# Statusline optimization: skip expensive beads queries for detached sessions
|
||||||
# Reduces Dolt CPU from ~70% to ~20% by caching and early-exit
|
# Reduces Dolt CPU from ~70% to ~20% by caching and early-exit
|
||||||
./gastown-statusline-optimization.patch
|
./gastown-statusline-optimization.patch
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
diff --git a/internal/mail/router.go b/internal/mail/router.go
|
diff --git a/internal/mail/router.go b/internal/mail/router.go
|
||||||
--- a/internal/mail/router.go
|
--- a/internal/mail/router.go
|
||||||
+++ b/internal/mail/router.go
|
+++ b/internal/mail/router.go
|
||||||
@@ -326,7 +326,10 @@ func agentBeadToAddress(bead *agentBead) string {
|
@@ -315,7 +315,10 @@ func agentBeadToAddress(bead *agentBead) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fall back to parsing description for role_type and rig
|
// For other hq- agents, fall back to description parsing
|
||||||
- return parseAgentAddressFromDescription(bead.Description)
|
- return parseAgentAddressFromDescription(bead.Description)
|
||||||
+ if bead.Title != "" && strings.Contains(bead.Title, "/") {
|
+ if bead.Title != "" && strings.Contains(bead.Title, "/") {
|
||||||
+ return bead.Title
|
+ return bead.Title
|
||||||
+ }
|
+ }
|
||||||
+ return parseAgentAddressFromDescription(bead.Description)
|
+ return parseAgentAddressFromDescription(bead.Description)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle gt- prefixed IDs (legacy format)
|
// Handle gt- prefixed IDs (legacy format)
|
||||||
|
|||||||
@@ -6,24 +6,24 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.1.19";
|
version = "2.1.30";
|
||||||
|
|
||||||
srcs = {
|
srcs = {
|
||||||
aarch64-darwin = {
|
aarch64-darwin = {
|
||||||
url = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/${version}/darwin-arm64/claude";
|
url = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/${version}/darwin-arm64/claude";
|
||||||
sha256 = "d386ac8f6d1479f85d31f369421c824135c10249c32087017d05a5f428852c41";
|
sha256 = "3ccc14f322b1e8da0cd58afc254fd5100eee066fa14729f30745e67a3f7979f7";
|
||||||
};
|
};
|
||||||
x86_64-darwin = {
|
x86_64-darwin = {
|
||||||
url = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/${version}/darwin-x64/claude";
|
url = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/${version}/darwin-x64/claude";
|
||||||
sha256 = "be266b3a952f483d8358ad141e2afe661170386506f479ead992319e4fdc38ac";
|
sha256 = "8a083696006483b8382ec0e47cd8f2e3223f3d2cab1a21c524fa08c082b5600e";
|
||||||
};
|
};
|
||||||
x86_64-linux = {
|
x86_64-linux = {
|
||||||
url = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/${version}/linux-x64/claude";
|
url = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/${version}/linux-x64/claude";
|
||||||
sha256 = "4e2a1c73871ecf3b133376b57ded03333a7a6387f2d2a3a6279bb90a07f7a944";
|
sha256 = "ada8f1cf9272965d38b10f1adb6cea885e621c83f7e7bb233008c721f43fad54";
|
||||||
};
|
};
|
||||||
aarch64-linux = {
|
aarch64-linux = {
|
||||||
url = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/${version}/linux-arm64/claude";
|
url = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/${version}/linux-arm64/claude";
|
||||||
sha256 = "8c4b61b24ca760d6f7aa2f19727163d122e9fd0c3ce91f106a21b6918a7b1bbb";
|
sha256 = "45fbf35a1011b06f86170b20beb64c599db0658aac70e2de2410c45d15775596";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
"lockFileMaintenance": {
|
"lockFileMaintenance": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"schedule": [
|
"schedule": [
|
||||||
"before 5am on monday"
|
"after 2pm and before 4pm on Saturday"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencyDashboard": true,
|
"dependencyDashboard": true,
|
||||||
@@ -37,6 +37,9 @@
|
|||||||
"/^nixpkgs$/",
|
"/^nixpkgs$/",
|
||||||
"/^home-manager$/",
|
"/^home-manager$/",
|
||||||
"/^nix-darwin$/"
|
"/^nix-darwin$/"
|
||||||
|
],
|
||||||
|
"schedule": [
|
||||||
|
"after 2pm and before 4pm on Saturday"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -48,6 +51,21 @@
|
|||||||
"matchPackageNames": [
|
"matchPackageNames": [
|
||||||
"/nixpkgs-unstable/",
|
"/nixpkgs-unstable/",
|
||||||
"/home-manager-unstable/"
|
"/home-manager-unstable/"
|
||||||
|
],
|
||||||
|
"schedule": [
|
||||||
|
"after 2pm and before 4pm on Saturday"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "nixpkgs-qt updates on Saturday (staggered from main ecosystem)",
|
||||||
|
"matchManagers": [
|
||||||
|
"nix"
|
||||||
|
],
|
||||||
|
"matchPackageNames": [
|
||||||
|
"/nixpkgs-qt/"
|
||||||
|
],
|
||||||
|
"schedule": [
|
||||||
|
"after 4pm and before 6pm on Saturday"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user