Add project-knowledge structure and templates

- Introduced new maps for navigating project knowledge, including "Current Work," "Fidelity Domain," "Fidelity Apps," "Work Items," and "People."
- Created base files for daily notes, decisions, people, systems, work items, and workstreams with defined properties and views.
- Developed templates for daily notes, decisions, meeting notes, persons, systems, work items, and workstreams to standardize documentation.
- Updated scripts and prompts to reflect the new project-knowledge directory structure.
- Removed outdated onboarding and start-here documents, consolidating relevant information into the new maps.
- Ensured all references in workflows and scripts point to the new project-knowledge paths.
This commit is contained in:
2026-04-17 15:52:08 -06:00
parent 11fdb17fcb
commit dbc1894e27
175 changed files with 1163 additions and 914 deletions

View File

@@ -4,7 +4,8 @@ set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
WORKSPACE_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
VAULT_DIR="${AIW_MEMORY_VAULT_DIR:-${AIW_OBSIDIAN_VAULT_DIR:-$WORKSPACE_ROOT/vault}}"
PROJECT_KNOWLEDGE_DIR="${AIW_PROJECT_KNOWLEDGE_DIR:-${AIW_MEMORY_VAULT_DIR:-${AIW_OBSIDIAN_VAULT_DIR:-$WORKSPACE_ROOT/project-knowledge}}}"
VAULT_DIR="$PROJECT_KNOWLEDGE_DIR"
BACKEND="${AIW_MEMORY_BACKEND:-auto}"
OBSIDIAN_CLI="$WORKSPACE_ROOT/scripts/obsidian/cli.sh"
@@ -14,7 +15,7 @@ usage: memory.sh <command> [args]
commands:
root
read <vault-relative-path>
read <project-knowledge-relative-path>
search <query> [folder]
create <type> <slug> [title]
base-query <base-name> [format]
@@ -28,7 +29,7 @@ die() {
}
ensure_vault() {
[[ -d "$VAULT_DIR" ]] || die "vault directory not found: $VAULT_DIR"
[[ -d "$PROJECT_KNOWLEDGE_DIR" ]] || die "project knowledge directory not found: $PROJECT_KNOWLEDGE_DIR"
}
has_obsidian() {
@@ -43,7 +44,7 @@ require_obsidian_if_forced() {
safe_path() {
local rel="$1"
[[ "$rel" != /* ]] || die "path must be vault-relative: $rel"
[[ "$rel" != /* ]] || die "path must be project-knowledge-relative: $rel"
[[ "$rel" != *".."* ]] || die "path must not contain '..': $rel"
printf '%s/%s\n' "$VAULT_DIR" "$rel"
}
@@ -307,7 +308,7 @@ main() {
echo "$VAULT_DIR"
;;
read)
[[ $# -eq 1 ]] || die "usage: memory.sh read <vault-relative-path>"
[[ $# -eq 1 ]] || die "usage: memory.sh read <project-knowledge-relative-path>"
cat "$(safe_path "$1")"
;;
search)