rdmbair15m5-changelog-20260923-1132-feat-20260901-41-tyrell-git-indexer
rdmbair15m5-changelog-20260923-1132-feat-20260901-41-tyrell-git-indexer
Implemented and verified the Fleet Git Indexer Engine and Query
Subsystem in TyrellCore (FEAT-20260901-41), delivering
read-only repository inspection, agent commit trailer parsing,
reverse-mtime anomaly detection for rollback detection, ahead/behind
tracking, and CLI commands.
Scope
- Hosts:
rdmbair15m5(author),rdmsm4x(canonical hub) - Repos:
apps/Tyrell(commitd229687),issues(commit87c14df)
Files Touched
Sources/TyrellCore/Git/FleetGitIndexerModels.swift(new): DefinedGitIndexerRole(indexer,client),GitCommitRecord,FileTouchRecord,ReverseMtimeAnomaly,RepoStatusRecord, andGitIndexReport.Sources/TyrellCore/Git/FleetGitIndexerEngine.swift(new): Pure Swift 6 actor performing read-only inspection viaSubprocessRunner. Implements regex parsing forAgent:commit trailers, strict exclusion of employer material (arista,lib/arista) and build sandboxes (.build,DerivedData,dist), reverse-mtime anomaly scanning (fileMtime < commitDate - 60s), and status evaluations.Package.swift: Added"Git"to theTyrellRemoteSupporttarget exclude array.Sources/tyrell/Tyrell.swift: Added CLI subcommandstyrell git-index {status|who-touched|reverse-mtime}with help documentation.Tests/TyrellCoreTests/FleetGitIndexerTests.swift(new): 5 unit tests covering Agent trailer parsing, employer material exclusion, build artifact filtering, reverse-mtime positive control, and report model serialization.
Verification Evidence
swift test --filter FleetGitIndexerTests: 5/5 tests passed in 0.001s.swift run tyrell git-index who-touched Package.swift: Verified provenance reporting (Repo: Tyrell, Hash: 75335d31, Author: richh, reverse mtime OK).swift run tyrell git-index reverse-mtime: Verified live scanning ofapps/Tyrell, catching 34 reverse-mtime anomalies (mtime < commit date), fulfilling the ticket positive control requirement.- Pushed to
origin(git.ecs0.net:git/apps/Tyrell.git) andbackup(github.com/richhdoty/rdmsm4x-dev-apps-tyrell.git). - Pulled and fast-forwarded on canonical
rdmsm4x:~/dev/apps/Tyrell. - Ticket
FEAT-20260901-41resolved onrdmsm4xand pushed across remotes. - Broadcast sent across message bus (
20260923-113152-...) and synchronized to fleet peers.
Rollback / Undo
git revert d229687inapps/Tyrell.ticket reopen FEAT-20260901-41onrdmsm4x.