mirror of
https://github.com/myronblair/codex-permanent-memory
synced 2026-06-30 17:50:55 -05:00
Initial permanent memory repository
This commit is contained in:
+17
@@ -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`
|
||||||
@@ -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
|
||||||
@@ -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.
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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."
|
||||||
Reference in New Issue
Block a user