Add cross-platform time detection for universal accessibility#3
Merged
Kiyoraka merged 1 commit intoKiyoraka:mainfrom Mar 21, 2026
Merged
Conversation
Replace platform-specific date/time commands with a cascading detection strategy that works across all shell environments: - bash/zsh (Linux, macOS, Git Bash/MSYS2, WSL): date +"%H:%M" - PowerShell: Get-Date -Format "HH:mm" - Windows CMD: time /T Updated files: - time-aware-core.md: Added full detection strategy, compatibility matrix, environment detection logic, and commands-to-avoid section - Time-based-Aware-System README.md: Added cross-platform detection table and universal accessibility claims - Save-Diary install-save-diary.md: Replaced Get-Date-only fallback with cross-platform reference - Save-Diary SKILL.md: Updated timestamp rule with platform-specific commands Addresses Kiyoraka#2
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements cross-platform time detection to make Project-AI-MemoryCore universally accessible across all operating systems and shell environments. Addresses #2.
Changes:
time-aware-core.md: tries bashdatefirst, then PowerShellGet-Date, then CMDtime /T, with a graceful fallbackdateon Windows CMD triggers interactive date setter)Save-Diary-Systeminstall protocol and SKILL.md to reference cross-platform commands instead of platform-specific onesFiles modified (4):
Feature/Time-based-Aware-System/time-aware-core.md-- core detection strategy + compatibility matrixFeature/Time-based-Aware-System/README.md-- cross-platform detection table + universal accessibilityFeature/Save-Diary-System/install-save-diary.md-- replacedGet-Date-only fallbackFeature/Save-Diary-System/SKILL.md-- updated timestamp ruleTested on
date +"%H:%M"works (MSYS2 bundles GNU date)Get-Date -Format "HH:mm"worksNotes