Title: Research: Tiered memory implementation plan (#595 #600) · Issue #686 · github/squad · GitHub
Open Graph Title: Research: Tiered memory implementation plan (#595 #600) · Issue #686 · github/squad
X Title: Research: Tiered memory implementation plan (#595 #600) · Issue #686 · github/squad
Description: Research for #595 and #600. Audited existing codebase patterns. Existing patterns found: tiered-memory skill template at packages/squad-sdk/templates/skills/tiered-memory/SKILL.md (hot/cold/wiki tiers defined) history-shadow.ts: append-o...
Open Graph Description: Research for #595 and #600. Audited existing codebase patterns. Existing patterns found: tiered-memory skill template at packages/squad-sdk/templates/skills/tiered-memory/SKILL.md (hot/cold/wiki ti...
X Description: Research for #595 and #600. Audited existing codebase patterns. Existing patterns found: tiered-memory skill template at packages/squad-sdk/templates/skills/tiered-memory/SKILL.md (hot/cold/wiki ti...
Opengraph URL: https://github.com/github/squad/issues/686
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Research: Tiered memory implementation plan (#595 #600)","articleBody":"Research for #595 and #600. Audited existing codebase patterns.\n\n**Existing patterns found:**\n- tiered-memory skill template at packages/squad-sdk/templates/skills/tiered-memory/SKILL.md (hot/cold/wiki tiers defined)\n- history-shadow.ts: append-only markdown history with sections + timestamps\n- nap.ts: 15KB compaction threshold, archives to history-archive.md, keeps last 5 entries\n- agent-source.ts: reads history.md at agent load time\n- history-split.ts: portable vs private history splitting\n- squad_memory tool: write-only (no read tool exists)\n\n**Minimal implementation plan:**\n1. Add readRecentHistory(teamRoot, agentName, limit=5) to history-shadow.ts\n2. Spawn prompts include only hot content (last 5 entries + core context)\n3. Cold tier = history-archive.md (already exists via nap.ts compaction)\n4. Add squad_history_read tool for on-demand cold/full access\n5. Wiki tier deferred (needs StorageProvider from #640)\n\n**Key finding:** The tiered-memory SKILL.md already defines the 3-tier model. nap.ts already does hot/cold splitting. The gap is: spawn prompts load ALL history instead of just recent, and there is no read tool for agents to pull archive on demand.\n\nRefs #595 #600","author":{"url":"https://github.com/tamirdresher","@type":"Person","name":"tamirdresher"},"datePublished":"2026-03-29T15:13:18Z","url":"https://github.com/github/squad/issues/686"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:649656b5-20b5-db62-73c2-0ccc16ab5d39 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A288:1087D4:19385FC:21B076E:6B015408 |
| html-safe-nonce | 7e0c961d52c2ca159402c2165cfe795bbd04e2340952e26bc6dcdd85ef3be987 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjg4OjEwODdENDoxOTM4NUZDOjIxQjA3NkU6NkIwMTU0MDgiLCJ2aXNpdG9yX2lkIjoiNzQ1OTg3MjE4OTMzMjkzNTY4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9e3c7143b27c8747f8a878deff397441b281e7e47efe705fc8d5c8541b9ad3c2 |
| hovercard-subject-tag | issue:4164708275 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/squad/686/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9238ff579ae7ffd5ffab87fb0b6bc30c065f83dbd79f861637940818cc929557/github/squad/issues/686 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9238ff579ae7ffd5ffab87fb0b6bc30c065f83dbd79f861637940818cc929557/github/squad/issues/686 |
| og:image:alt | Research for #595 and #600. Audited existing codebase patterns. Existing patterns found: tiered-memory skill template at packages/squad-sdk/templates/skills/tiered-memory/SKILL.md (hot/cold/wiki ti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tamirdresher |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/squad git https://github.com/github/squad.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 1151205052 |
| octolytics-dimension-repository_nwo | github/squad |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1151205052 |
| octolytics-dimension-repository_network_root_nwo | github/squad |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width