commit 916d72c6cceecd25c8a081ecd58d2aa1b22a919f Author: Myron B <50059415+myronblair@users.noreply.github.com> Date: Wed Apr 29 07:42:02 2026 -0500 Initial permanent memory repository diff --git a/IDENTITY.md b/IDENTITY.md new file mode 100644 index 0000000..cf8b3c0 --- /dev/null +++ b/IDENTITY.md @@ -0,0 +1,17 @@ +# Identity And Preferences + +## Owner + +- Name: Myron B +- GitHub: `myronblair` + +## Working Preferences + +- Prefer private GitHub repositories for infrastructure and internal notes +- Keep durable operational notes in this repository +- Back up configurations before risky infrastructure changes + +## Session Guidance + +- When facts become stable and likely to matter later, add them to `MEMORY.md` +- When details are larger and structural, add them to `INFRASTRUCTURE.md` diff --git a/INFRASTRUCTURE.md b/INFRASTRUCTURE.md new file mode 100644 index 0000000..6ffd607 --- /dev/null +++ b/INFRASTRUCTURE.md @@ -0,0 +1,32 @@ +# Infrastructure Memory + +## Core Network + +- FortiGate: `10.48.200.1` +- FortiSwitch: `10.255.1.2` +- Cisco Catalyst 3560-E PoE 48-port downstream of FortiSwitch +- TP-Link AP downstream of Cisco Catalyst +- Wi-Fi SSID: `Deconet` + +## Proxmox + +- Cluster: `PVEOrbis` +- Node `pve`: `10.48.200.90` +- Node `pve2`: `10.48.200.91` +- Proxmox Backup target: `10.48.200.92` + +## Persistent Notes + +- `goflex` is mounted on `pve` +- `storage4t` is mounted on `pve2` +- Current `pve2` VMIDs after conflict remediation: + - `300` `PMBackup` + - `301` `FusionPBX` + - `302` `UrBackup` + +## Open Follow-Up + +- Verify PBS connectivity to `10.48.200.92:8007` from cluster nodes +- Resolve Cisco Catalyst management IP +- Resolve TP-Link AP management IP +- Resolve `Webserver-102` current IPv4 diff --git a/MEMORY.md b/MEMORY.md new file mode 100644 index 0000000..2219ccf --- /dev/null +++ b/MEMORY.md @@ -0,0 +1,23 @@ +# Durable Memory + +## Usage + +Store stable information here that future sessions should know quickly. + +## Current Durable Facts + +- Primary GitHub account: `myronblair` +- Proxmox cluster name: `PVEOrbis` +- Cluster nodes: + - `pve` at `10.48.200.90` + - `pve2` at `10.48.200.91` +- `goflex` is a mount on `pve1`, not a separate host +- `pve2` storage mount is `/mnt/storage4t` +- `PMBackup` is VM `300` on `pve2` +- `FusionPBX` is VM `301` on `pve2` +- `UrBackup` is VM `302` on `pve2` +- FortiGate management URL: `https://10.48.200.1:9443/login` + +## Notes + +- Treat this file as the fastest summary of long-lived facts. diff --git a/README.md b/README.md new file mode 100644 index 0000000..9f38a09 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Codex Permanent Memory + +This private repository is a durable memory workspace for future Codex sessions. + +## Purpose + +- Keep long-lived facts that should survive across projects and sessions +- Preserve infrastructure notes, preferences, inventory details, and recurring operating context +- Maintain a simple session log that can be appended over time + +## Suggested Use In Future Sessions + +- Open this folder as part of the workspace when you want Codex to have direct access to it +- Or point Codex to the files here at the start of a session +- Update the memory files when important facts change + +## Key Files + +- `MEMORY.md` for durable facts +- `IDENTITY.md` for account, host, and preference details +- `INFRASTRUCTURE.md` for persistent infrastructure inventory +- `SESSION_LOG.md` for important chronological notes +- `scripts/sync-to-github.ps1` for quick push-based backup diff --git a/SESSION_LOG.md b/SESSION_LOG.md new file mode 100644 index 0000000..709a77d --- /dev/null +++ b/SESSION_LOG.md @@ -0,0 +1,10 @@ +# Session Log + +## 2026-04-29 + +- Built a broad infrastructure inventory for Proxmox hosts, network gear, printers, and discovered devices +- Confirmed `goflex` is a mount on `pve` +- Renumbered `pve2` VMIDs from `100/101/102` to `300/301/302` +- Fixed `pve2` `/mnt/storage4t` mount configuration +- Joined `pve2` into the `PVEOrbis` cluster +- Published the infrastructure workspace to a private GitHub repository diff --git a/scripts/sync-to-github.ps1 b/scripts/sync-to-github.ps1 new file mode 100644 index 0000000..76532b3 --- /dev/null +++ b/scripts/sync-to-github.ps1 @@ -0,0 +1,33 @@ +param( + [string]$Message = "" +) + +$ErrorActionPreference = "Stop" + +$repoRoot = Split-Path -Parent $PSScriptRoot +$git = "C:\Program Files\Git\cmd\git.exe" + +if (-not (Test-Path $git)) { + throw "git.exe was not found at $git" +} + +$branch = (& $git -C $repoRoot branch --show-current).Trim() +if (-not $branch) { + throw "No active git branch was found." +} + +$status = & $git -C $repoRoot status --porcelain +if (-not $status) { + Write-Host "No changes to sync." + exit 0 +} + +if (-not $Message) { + $Message = "Permanent memory sync $(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')" +} + +& $git -C $repoRoot add -A +& $git -C $repoRoot commit -m $Message +& $git -C $repoRoot push origin $branch + +Write-Host "Synced branch '$branch' to origin."