Skip to content

Commit 1dfad96

Browse files
Merge pull request #9 from TimeWarpEngineering/dev
chore: audit compliance, dependency updates, benchmark port, and 1.0.0-beta.3 release prep
2 parents e1f4a6e + c7a9a61 commit 1dfad96

33 files changed

Lines changed: 762 additions & 107 deletions

.envrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PATH_add bin

.githooks/post-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
post-commit.cs

.githooks/post-commit.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env -S dotnet --
2+
#:package TimeWarp.Amuru
3+
#:property NoWarn=CA2007
4+
5+
using TimeWarp.Amuru;
6+
7+
string? root = Git.FindRoot();
8+
if (root is null)
9+
{
10+
return 0;
11+
}
12+
13+
await Shell.Builder("ganda")
14+
.WithArguments("memsearch", "index-repo", "--background")
15+
.WithWorkingDirectory(root)
16+
.WithNoValidation()
17+
.RunAsync();
18+
return 0;

.githooks/post-merge

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
post-merge.cs

.githooks/post-merge.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env -S dotnet --
2+
#:package TimeWarp.Amuru
3+
#:property NoWarn=CA2007
4+
5+
using TimeWarp.Amuru;
6+
7+
string? root = Git.FindRoot();
8+
if (root is null)
9+
{
10+
return 0;
11+
}
12+
13+
await Shell.Builder("ganda")
14+
.WithArguments("memsearch", "index-repo", "--background")
15+
.WithWorkingDirectory(root)
16+
.WithNoValidation()
17+
.RunAsync();
18+
return 0;

.memsearch.toml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# MemSearch repo knowledge index — TimeWarp convention
2+
#
3+
# SPEC (proposed extension)
4+
# -------------------------
5+
# memsearch's stock CLI ignores [index]; this file is honored by:
6+
# ganda memsearch index-repo
7+
# ganda hooks install memsearch (post-commit / post-merge runfiles)
8+
#
9+
# Purpose: index markdown knowledge in THIS repo only. One Milvus collection
10+
# per repo (auto-derived from repo path). Global DB file stays at
11+
# ~/.memsearch/milvus.db unless [milvus].uri is overridden below.
12+
#
13+
# [index].paths
14+
# Directory roots (relative to repo root). memsearch indexes all .md files
15+
# under each path recursively. Missing paths are skipped.
16+
#
17+
# [index].exclude_paths
18+
# Directory paths removed from the resolved path list before indexing.
19+
# Does not prune subdirectories when a parent path (e.g. "kanban/") is listed.
20+
#
21+
# [index].exclude_globs
22+
# Reserved — file-level globs (e.g. "**/task-template.md"). Not implemented in v1.
23+
#
24+
# [index].enabled
25+
# false disables hook indexing (conversation plugins still work).
26+
#
27+
# [milvus].collection
28+
# Empty = auto-derive ms_<repo-basename>_<8char_sha256> from repo root.
29+
#
30+
# Search this repo only:
31+
# memsearch search "query" -c <collection> --source-prefix "$(pwd)/kanban/"
32+
33+
[index]
34+
enabled = true
35+
paths = [
36+
"kanban",
37+
"documentation",
38+
"okf",
39+
"adr",
40+
".memsearch/memory",
41+
]
42+
exclude_paths = []
43+
exclude_globs = [
44+
"**/task-template.md",
45+
"**/overview.md",
46+
]
47+
48+
[milvus]
49+
# uri = ".memsearch/milvus.db" # optional per-repo DB file
50+
collection = ""

.vscode/settings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
"titleBar.inactiveForeground": "#15202b99"
2020
},
2121
"peacock.remoteColor": "#46A7EA",
22-
"timewarp.blurImagePath": "assets/timewarp-flexbox-avatar.svg"
23-
}
22+
"timewarp.blurImagePath": "assets/timewarp-flexbox-avatar.svg",
23+
"window.title": "timewarp-flexbox · ${rootName}${separator}${activeEditorShort}"
24+
}

.vscode/tasks.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "ganda: window icon",
6+
"type": "shell",
7+
"command": "ganda repo avatar window",
8+
"runOptions": {
9+
"runOn": "folderOpen"
10+
},
11+
"presentation": {
12+
"reveal": "silent",
13+
"echo": false
14+
},
15+
"problemMatcher": []
16+
}
17+
]
18+
}

BannedSymbols.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
T:System.Console;Prefer injecting ITerminal. TimeWarp.Terminal.Terminal static class is available for migration.
3+
T:System.Diagnostics.ProcessStartInfo;Use TimeWarp.Amuru Shell.Builder instead. See the 'amuru' skill for usage patterns.

0 commit comments

Comments
 (0)