mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2026-11-22 11:03:42 +00:00
Compare commits
6
Commits
609d3f569a
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc8bf41580 | ||
|
|
1d2e23a964 | ||
|
|
3ea100a66a | ||
|
|
be136568ef | ||
|
|
ea8f1229c1 | ||
|
|
938b0c0d66 |
@@ -0,0 +1,120 @@
|
||||
---
|
||||
name: Tembo
|
||||
description: Tembo is the project memory (elephant never forgets). Reads .tembo/notes.md facts and .tembo/log.md change log. Use at session start, after discovering a non-obvious project fact, or when flushing a session before pausing.
|
||||
---
|
||||
|
||||
# Tembo
|
||||
|
||||
Project memory. Elephant never forgets, but keep it small:
|
||||
|
||||
```
|
||||
.tembo/notes.md durable facts, read at session start
|
||||
.tembo/log.md short chronological log of meaningful changes
|
||||
```
|
||||
|
||||
Project root = `git rev-parse --show-toplevel`, else the current directory. If
|
||||
there is no `.tembo/` yet, create it only when there is something worth
|
||||
writing. Never write memory outside the project root.
|
||||
|
||||
## Budgets
|
||||
|
||||
Hard limits, enforced on every write:
|
||||
|
||||
| File | Limit | Overflow |
|
||||
|---|---|---|
|
||||
| `notes.md` | 40 lines | merge duplicates, then drop the least useful |
|
||||
| `log.md` | 60 lines | drop oldest |
|
||||
|
||||
If you cannot fit a fact, it is not worth keeping.
|
||||
|
||||
## Format
|
||||
|
||||
One line per entry, newest last, `- [YYYY-MM-DD] tag: text`. Tags: `hardware`,
|
||||
`build`, `cmd`, `api`, `gotcha`.
|
||||
|
||||
`notes.md`:
|
||||
|
||||
```markdown
|
||||
# Tembo memory
|
||||
|
||||
<!-- Durable, non-obvious facts. Max 40 lines. One per line. -->
|
||||
|
||||
- [2026-11-21] gotcha: KiCad 10 pin-header footprints put pad 1 at the origin, not the centre.
|
||||
- [2026-11-21] cmd: KiCad python bindings only run under the bundled 3.9 interpreter.
|
||||
```
|
||||
|
||||
`log.md`:
|
||||
|
||||
```markdown
|
||||
# Tembo log
|
||||
|
||||
<!-- One line per meaningful change. Max 60 lines. Newest last. -->
|
||||
|
||||
- [2026-11-21] Routed the carrier, DRC 0/0, exported gerbers.
|
||||
```
|
||||
|
||||
## Read
|
||||
|
||||
At the start of work in a project with `.tembo/`:
|
||||
|
||||
1. Read `notes.md` in full.
|
||||
2. Read the last ~20 lines of `log.md` for recent context.
|
||||
|
||||
Do not announce that you read them. Use them silently.
|
||||
|
||||
## Write
|
||||
|
||||
Append a `notes.md` line when a fact passes this test:
|
||||
|
||||
> Would this have saved 10 minutes if I had known it at the start?
|
||||
|
||||
Good: non-obvious tool behaviour, hardware/board quirks, commands that are not
|
||||
in the README, decisions with a reason, traps.
|
||||
|
||||
Bad, do not write:
|
||||
- anything obvious from the code, `git log`, README or AGENTS.md
|
||||
- secrets, tokens, personal data, customer data
|
||||
- code blocks, stack traces, file dumps, long URLs
|
||||
- "created X" unless the *why* or a non-obvious constraint matters
|
||||
- plans, TODOs, speculation
|
||||
|
||||
Append a `log.md` line when a meaningful unit of work is done: feature landed,
|
||||
bug root-caused, board routed, dependency swapped. Not every file edit.
|
||||
|
||||
Never rewrite or reorder existing entries. Pruning to budget is the only edit
|
||||
allowed.
|
||||
|
||||
## Remember (`/tembo <fact>`)
|
||||
|
||||
When invoked with an argument, treat it as a fact to keep:
|
||||
|
||||
1. Read both files.
|
||||
2. Rewrite the argument into one line: `- [YYYY-MM-DD] tag: text`.
|
||||
3. Pick the closest tag; write it as stated, do not invent context.
|
||||
4. Dedupe against existing lines; append.
|
||||
5. Prune to budget. Confirm in one short line.
|
||||
|
||||
If the argument is too vague to be useful later, ask once for the missing
|
||||
detail instead of guessing.
|
||||
|
||||
## Flush (`/tembo` with no argument)
|
||||
|
||||
Run this before pausing or ending a session.
|
||||
|
||||
1. Review the session: what was discovered, what changed, what was verified.
|
||||
2. Read both files.
|
||||
3. Pick 0-5 facts that pass the test above and are not already recorded.
|
||||
4. Pick 0-4 log lines for meaningful changes.
|
||||
5. Dedupe against existing lines; merge near-duplicates.
|
||||
6. Append, prune to budget, keep one blank line after the HTML comment.
|
||||
7. Report two lines: facts added, log lines added. If nothing qualified, say
|
||||
`tembo: nothing worth keeping` and write nothing.
|
||||
|
||||
Do not ask for confirmation. Do not paste file contents back; a short summary
|
||||
is enough.
|
||||
|
||||
## Safety
|
||||
|
||||
- Never store secrets or credentials.
|
||||
- Never delete `.tembo/` or another author's facts wholesale.
|
||||
- If `.tembo/` is gitignored, still follow the same format; it is just local.
|
||||
@@ -0,0 +1,272 @@
|
||||
{
|
||||
"general": {
|
||||
"launcherShortcut": "cmd+space",
|
||||
"showInMenuBar": true,
|
||||
"automaticallyCheckForUpdates": true,
|
||||
"popToRootSeconds": 90,
|
||||
"escapeKeyBehavior": "navigateBackOrClose",
|
||||
"autoSwitchInputSource": null,
|
||||
"supportReminders": false,
|
||||
"language": "en"
|
||||
},
|
||||
"appearance": {
|
||||
"theme": "system",
|
||||
"animations": true,
|
||||
"interfaceSize": "standard",
|
||||
"compactMode": false,
|
||||
"compactBarCommands": [
|
||||
"command:clipboard-history",
|
||||
"command:search-emoji",
|
||||
"command:search-files",
|
||||
"command:search-quicklinks"
|
||||
],
|
||||
"followCursorAcrossDisplays": true,
|
||||
"dragToReposition": false
|
||||
},
|
||||
"hyperKey": {
|
||||
"key": "none",
|
||||
"includesShift": true,
|
||||
"quickPress": "none",
|
||||
"secureInputCompatibility": false
|
||||
},
|
||||
"calculator": {
|
||||
"numberStyle": "system"
|
||||
},
|
||||
"search": {
|
||||
"showsSuggestions": true,
|
||||
"sensitivity": "medium"
|
||||
},
|
||||
"applications": {
|
||||
"enabled": true,
|
||||
"searchScopes": [
|
||||
"/Applications",
|
||||
"/Applications/Utilities",
|
||||
"/System/Applications",
|
||||
"/System/Applications/Utilities",
|
||||
"/System/Library/CoreServices/Applications",
|
||||
"/System/Volumes/Preboot/Cryptexes/App/System/Applications",
|
||||
"/System/Library/CoreServices/Finder.app",
|
||||
"~/Applications"
|
||||
],
|
||||
"apps": {
|
||||
"ai.opencode.desktop": {
|
||||
"shortcut": "option+4",
|
||||
"alias": null,
|
||||
"showInLauncher": true
|
||||
},
|
||||
"app.zen-browser.zen": {
|
||||
"shortcut": "option+1",
|
||||
"alias": null,
|
||||
"showInLauncher": true
|
||||
},
|
||||
"com.mitchellh.ghostty": {
|
||||
"shortcut": "option+3",
|
||||
"alias": "t",
|
||||
"showInLauncher": true
|
||||
},
|
||||
"com.spotify.client": {
|
||||
"shortcut": "option+9",
|
||||
"alias": null,
|
||||
"showInLauncher": true
|
||||
},
|
||||
"com.tinyspeck.slackmacgap": {
|
||||
"shortcut": "option+0",
|
||||
"alias": null,
|
||||
"showInLauncher": true
|
||||
},
|
||||
"dev.zed.Zed": {
|
||||
"shortcut": "option+2",
|
||||
"alias": null,
|
||||
"showInLauncher": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"systemSettings": {
|
||||
"enabled": true,
|
||||
"panes": {}
|
||||
},
|
||||
"systemActions": {
|
||||
"enabled": true,
|
||||
"actions": {}
|
||||
},
|
||||
"commands": {
|
||||
"builtInEnabled": true,
|
||||
"builtIn": {},
|
||||
"enabled": false,
|
||||
"showInLauncher": true
|
||||
},
|
||||
"quicklinks": {
|
||||
"enabled": true,
|
||||
"showInLauncher": true,
|
||||
"opensNewWindow": false,
|
||||
"passesSelectedText": false,
|
||||
"confirmsBeforeDelete": true,
|
||||
"commands": {}
|
||||
},
|
||||
"appleShortcuts": {
|
||||
"enabled": false
|
||||
},
|
||||
"ai": {
|
||||
"enabled": false,
|
||||
"webSearch": false,
|
||||
"choices": true,
|
||||
"expandsReasoning": false,
|
||||
"systemPrompt": "",
|
||||
"systemPromptEnabled": true,
|
||||
"retentionDays": "forever",
|
||||
"opensTo": "recent",
|
||||
"newChatAfterMinutes": 5,
|
||||
"toolRounds": 25,
|
||||
"commands": {}
|
||||
},
|
||||
"quickActions": {
|
||||
"targetLanguage": "",
|
||||
"commands": {}
|
||||
},
|
||||
"dictation": {
|
||||
"mode": "toggle",
|
||||
"shortcut": null,
|
||||
"playsSounds": true,
|
||||
"model": "redux",
|
||||
"microphone": null,
|
||||
"destination": "paste",
|
||||
"adaptsCapitalization": true,
|
||||
"liveInsertion": false,
|
||||
"releaseAfterMinutes": 1,
|
||||
"language": null
|
||||
},
|
||||
"fileSearch": {
|
||||
"enabled": false,
|
||||
"scopes": ["~"],
|
||||
"ignorePatterns": [],
|
||||
"removedDefaultPatterns": [],
|
||||
"showInLauncher": false,
|
||||
"commands": {}
|
||||
},
|
||||
"notes": {
|
||||
"enabled": false,
|
||||
"rendersMarkdown": true,
|
||||
"showsFormattingBar": true,
|
||||
"showsInMenuBar": false,
|
||||
"folder": null,
|
||||
"commands": {}
|
||||
},
|
||||
"snippets": {
|
||||
"showInLauncher": true,
|
||||
"folder": null,
|
||||
"defaultAction": "paste",
|
||||
"commands": {}
|
||||
},
|
||||
"navigation": {
|
||||
"enabled": false,
|
||||
"menuSearchShowsAppleMenu": false,
|
||||
"menuSearchDisabledApps": [],
|
||||
"commands": {}
|
||||
},
|
||||
"windowManagement": {
|
||||
"enabled": true,
|
||||
"showInLauncher": true,
|
||||
"gap": 0,
|
||||
"cycle": "off",
|
||||
"wrapDisplays": true,
|
||||
"keepProportions": true,
|
||||
"layoutsShowInLauncher": true,
|
||||
"roomsShowInLauncher": true,
|
||||
"shortcuts": {
|
||||
"left-half": null,
|
||||
"right-half": null,
|
||||
"top-half": null,
|
||||
"bottom-half": null,
|
||||
"top-left-quarter": null,
|
||||
"top-right-quarter": null,
|
||||
"bottom-left-quarter": null,
|
||||
"bottom-right-quarter": null,
|
||||
"first-three-fourths": null,
|
||||
"last-three-fourths": null,
|
||||
"first-third": null,
|
||||
"center-third": null,
|
||||
"last-third": null,
|
||||
"first-two-thirds": null,
|
||||
"last-two-thirds": null,
|
||||
"maximize": null,
|
||||
"almost-maximize": null,
|
||||
"reasonable-size": null,
|
||||
"maximize-height": null,
|
||||
"maximize-width": null,
|
||||
"center": null,
|
||||
"center-half": null,
|
||||
"center-two-thirds": null,
|
||||
"make-larger": null,
|
||||
"make-smaller": null,
|
||||
"restore": null,
|
||||
"move-left": null,
|
||||
"move-right": null,
|
||||
"move-up": null,
|
||||
"move-down": null,
|
||||
"move-to-left-edge": null,
|
||||
"move-to-right-edge": null,
|
||||
"move-to-top-edge": null,
|
||||
"move-to-bottom-edge": null,
|
||||
"next-display": null,
|
||||
"previous-display": null,
|
||||
"toggle-fullscreen": null,
|
||||
"previous-space": null,
|
||||
"next-space": null
|
||||
},
|
||||
"aliases": {},
|
||||
"customSizes": [
|
||||
{
|
||||
"id": "34f8f38c-6694-4f1a-9ec6-2ff10d9bf257",
|
||||
"name": "Middle Size",
|
||||
"width": "1600pt",
|
||||
"height": "1000pt",
|
||||
"position": "center",
|
||||
"offset": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"shortcut": null,
|
||||
"alias": null
|
||||
}
|
||||
],
|
||||
"layouts": [],
|
||||
"rooms": [],
|
||||
"commands": {}
|
||||
},
|
||||
"clipboard": {
|
||||
"enabled": true,
|
||||
"retentionDays": 90,
|
||||
"defaultAction": "paste",
|
||||
"disabledApps": ["com.apple.keychainaccess", "com.apple.Passwords"],
|
||||
"commands": {
|
||||
"clipboard-history": {
|
||||
"shortcut": "cmd+h",
|
||||
"alias": null,
|
||||
"showInLauncher": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"emoji": {
|
||||
"skinTone": "none",
|
||||
"gridColumns": 8,
|
||||
"commands": {}
|
||||
},
|
||||
"calendar": {
|
||||
"showInLauncher": true,
|
||||
"launcherLimit": 5,
|
||||
"span": "todayAndTomorrow",
|
||||
"joinWindowMinutes": 5,
|
||||
"autoJoinConfirms": true,
|
||||
"autoJoinNamedProvidersOnly": false,
|
||||
"meetingBrowser": null,
|
||||
"menuBar": "disabled",
|
||||
"menuBarUpcomingEvents": "today",
|
||||
"menuBarLinkedEventsOnly": true,
|
||||
"menuBarHidesWhenEmpty": false,
|
||||
"hideCurrentEventAfterMinutes": "never",
|
||||
"commands": {}
|
||||
},
|
||||
"extensions": {
|
||||
"showInLauncher": true
|
||||
}
|
||||
}
|
||||
Generated
+12
-12
@@ -7,11 +7,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1794715309,
|
||||
"narHash": "sha256-awkBBs5ctFKgEYjpNGpi3t/VqF589n5EWfdinRb2gNI=",
|
||||
"lastModified": 1795268568,
|
||||
"narHash": "sha256-1RJm4DEu7YHJv94sjSY7sjqT+kHx/AUwmtUN4dtFBUo=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "a1293da7dd8e497e08d26173f97e2976b36a31ea",
|
||||
"rev": "6857c7f7c338ad181729c52071386b0d3afa24bc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -25,11 +25,11 @@
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1794799779,
|
||||
"narHash": "sha256-ASX2PlNoMvZuf9o/mZQw9+qwbqPw/SMU2a8DIZQDO6k=",
|
||||
"lastModified": 1795272803,
|
||||
"narHash": "sha256-v/AlZwJYPvjQ5to1dpQJb8nx5hmTUCVW+SMkL5nxxkM=",
|
||||
"owner": "tw93",
|
||||
"repo": "mole",
|
||||
"rev": "ee7be609c70a568d7bc386b1442963f47c6a33ed",
|
||||
"rev": "5c2edd1a17880d3ace0ad0f158863f8b029a92a3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -46,11 +46,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1793418699,
|
||||
"narHash": "sha256-+RpTlcdh9KqZ+ZiLkNSTvibQWm935EcIdBzRPCTFsrQ=",
|
||||
"lastModified": 1795302518,
|
||||
"narHash": "sha256-HJKykg05SUTzWyGpbkGeBuLxJJUYx713ZSu3780YW2Y=",
|
||||
"owner": "LnL7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "ff0e21a414d4547183396da1b44a66f2577b65e9",
|
||||
"rev": "bcf051043c8c6e6473eb44245ed81bca90856523",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -77,11 +77,11 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1794644783,
|
||||
"narHash": "sha256-3GnIGIy15bMduoS9RnWqKTmsJLWThla42UFtm0S7+us=",
|
||||
"lastModified": 1795249095,
|
||||
"narHash": "sha256-8JDgyVvWUZg5m9hNlL8Ge9aT647ng3Ukc8NPMiKNTPQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5d2b81a7a3be3e2f832879028e4d60abbf58e9a0",
|
||||
"rev": "93a9ed0a866099a230ed5146a5bb7d16fd5c9b14",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -30,6 +30,7 @@ let
|
||||
".colima/_templates/default.yaml" = link "files/colima/colima.yaml";
|
||||
".agents" = link "files/agents";
|
||||
".config/opencode/AGENTS.md" = link "secrets/opencode/AGENTS.md";
|
||||
".config/tinycast/settings.json" = link "files/tinycast/settings.json";
|
||||
|
||||
# Read Only
|
||||
".config/ghostty/config".source = ../files/ghostty/config;
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
"blender"
|
||||
"freelens"
|
||||
"tailscale-app"
|
||||
"kicad"
|
||||
];
|
||||
pkgs =
|
||||
pkgs: with pkgs; [
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user