memorylink 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cursorrules +0 -0
- package/.github/workflows/buddy-check.yml +105 -0
- package/.github/workflows/memorylink-preflight.yml +63 -0
- package/.github/workflows/release-on-tag.yml +58 -0
- package/.github/workflows/stress-tests.yml +79 -0
- package/.memorylinkignore +24 -0
- package/5000_SCENARIOS_TEST_RESULTS.md +174 -0
- package/ADVANCED_SCENARIOS_TEST_RESULTS.md +377 -0
- package/AGGRESSIVE_RANDOM_TEST_RESULTS.md +134 -0
- package/AI_CONSENSUS_ANALYSIS.md +138 -0
- package/AI_CONSENSUS_ANALYSIS_FINAL.md +345 -0
- package/AI_CONSENSUS_ANALYSIS_v2.md +188 -0
- package/AI_CONSENSUS_ANALYSIS_v3.md +246 -0
- package/AI_CONSENSUS_ANALYSIS_v4.md +309 -0
- package/AI_CONSENSUS_ANALYSIS_v5.md +311 -0
- package/AI_CONSENSUS_ANALYSIS_v6.md +432 -0
- package/AI_PANEL_CLARIFICATION_REQUEST.md +37 -0
- package/AI_RESPONSES_BLACKBOX.md +338 -0
- package/AI_RESPONSES_CHATGPT.md +379 -0
- package/AI_RESPONSES_CLAUDE.md +464 -0
- package/AI_RESPONSES_CONSOLIDATED.md +560 -0
- package/AI_RESPONSES_DEEPSEEK.md +341 -0
- package/AI_RESPONSES_GEMINI.md +262 -0
- package/AI_RESPONSES_GROK.md +335 -0
- package/AI_RESPONSES_MANUS.md +246 -0
- package/AI_RESPONSES_PERPLEXITY.md +295 -0
- package/AI_RESPONSES_QWEN.md +335 -0
- package/AI_REVIEW_REQUEST.md +333 -0
- package/AI_STRATEGIC_CONSENSUS_COMPARISON.md +507 -0
- package/AI_VALIDATION_AND_GAP_ANALYSIS.md +410 -0
- package/ALL_10_AI_RESPONSES_FINAL.md +435 -0
- package/ALL_3_AI_RESPONSES_FINAL.md +305 -0
- package/ALL_4_AI_RESPONSES_FINAL.md +335 -0
- package/ALL_5_AI_RESPONSES_FINAL.md +349 -0
- package/ALL_6_AI_RESPONSES_FINAL.md +354 -0
- package/ALL_7_AI_RESPONSES_FINAL.md +369 -0
- package/ALL_8_AI_RESPONSES_FINAL.md +381 -0
- package/ALL_9_AI_RESPONSES_FINAL.md +398 -0
- package/ALL_AI_RESPONSES_TRACKER.md +152 -0
- package/ALL_AI_RESPONSES_VALIDATED.md +261 -0
- package/ALL_FEATURES_COMPLETE.md +198 -0
- package/BREAK_IT_TEST_RESULTS.md +273 -0
- package/BUDDY_CHECK_STRESS_TEST_PLAN.md +1089 -0
- package/CHANGELOG.md +135 -0
- package/CHATGPT_GAP_ANALYSIS.md +286 -0
- package/CHATGPT_V2_ANALYSIS.md +109 -0
- package/CHECK_MISSING_FEATURES.md +192 -0
- package/CI_CD_INTEGRATION.md +421 -0
- package/COMPETITIVE_LAUNCH_STRATEGY.md +257 -0
- package/COMPLETE_COMPETITIVE_ANALYSIS_ALL_AIS.md +339 -0
- package/COMPLETE_DEVELOPMENT_PLAN_ALL_AIS.md +622 -0
- package/COMPREHENSIVE_FEATURE_ANALYSIS_100_PERCENT.md +423 -0
- package/COMPREHENSIVE_TEST_SUMMARY.md +314 -0
- package/CONTINUOUS_TESTING_COMPLETE.md +268 -0
- package/CONTINUOUS_TESTING_GUIDE.md +328 -0
- package/CONTINUOUS_TEST_FINAL_RESULTS.md +148 -0
- package/CONTINUOUS_TEST_INSTRUCTIONS.md +173 -0
- package/CONTINUOUS_TEST_RESULTS.md +194 -0
- package/CONTINUOUS_TEST_STATUS.md +68 -0
- package/CURSOR_AI_BUDDY_CHECK_GUIDE.md +439 -0
- package/CURSOR_AI_INTEGRATION_GUIDE.md +775 -0
- package/CURSOR_AI_V1.4_NEXT_STEPS.md +314 -0
- package/CURSOR_BREAK_IT_TEST.md +389 -0
- package/CURSOR_DOCUMENTATION_RULES.md +259 -0
- package/CURSOR_HOSTILE_TEST_DOCUMENT.md +343 -0
- package/CURSOR_PROMPTS_FOR_TESTING.md +252 -0
- package/DEPLOYMENT_GUIDE.md +493 -0
- package/DEVELOPMENT_AND_OVERNIGHT_TESTING.md +304 -0
- package/DEVELOPMENT_PROGRESS.md +185 -0
- package/DOCS_CLEANUP_SUMMARY.md +192 -0
- package/DOC_CONFIDENTIALITY_RULES.md +259 -0
- package/E2E_TEST_REPORT_v1.3.0.md +196 -0
- package/E2E_TEST_RESULTS.md +250 -0
- package/E2E_TEST_SCENARIOS.md +357 -0
- package/END_TO_END_TEST_REPORT.md +217 -0
- package/ENHANCEMENT_RECOMMENDATIONS.md +368 -0
- package/EPIPE_FIX_SUMMARY.md +177 -0
- package/FEEDBACK_TEMPLATE.md +173 -0
- package/FINAL_100_PERCENT_CONFIRMATION.md +319 -0
- package/FINAL_8_AI_CONSENSUS_SUMMARY.md +355 -0
- package/FINAL_CONFIRMATION.md +143 -0
- package/FINAL_E2E_TEST_REPORT.md +248 -0
- package/FINAL_E2E_TEST_RESULTS.md +212 -0
- package/FINAL_LAUNCH_CLARIFICATION_SUMMARY.md +101 -0
- package/FINAL_LAUNCH_PLAN_BASED_ON_AI_CONSENSUS.md +410 -0
- package/FINAL_LAUNCH_SUMMARY.md +176 -0
- package/FINAL_PRODUCT_TEST.md +316 -0
- package/FINAL_PROJECT_STATUS.md +407 -0
- package/FINAL_STATUS_REPORT.md +244 -0
- package/FINAL_STRATEGIC_PLAN_9_AIS.md +576 -0
- package/FINAL_TEST_EXECUTION_REPORT.md +252 -0
- package/FINAL_VALIDATION_DOCUMENT.md +238 -0
- package/FINAL_VALIDATION_SUMMARY.md +230 -0
- package/FIX_SPECIAL_CHARS.sh +13 -0
- package/FRESH_SCENARIOS_TEST_RESULTS.md +358 -0
- package/GAP_EVALUATION_TEMPLATE.md +146 -0
- package/GITHUB_SETUP_GUIDE.md +193 -0
- package/HOSTILE_TEST_RESULTS.md +221 -0
- package/HOW_MEMORYLINK_HELPS_AI.md +401 -0
- package/IMPLEMENTATION_PLANS_DETAILED.md +516 -0
- package/LAUNCH_CHECKLIST.md +247 -0
- package/LAUNCH_DOCS_FRAMEWORK.md +378 -0
- package/LAUNCH_READINESS.md +148 -0
- package/LAUNCH_SEQUENCE.md +137 -0
- package/LICENSE +67 -0
- package/MARKET_ANALYSIS_AND_STRATEGY.md +280 -0
- package/MASTER_AI_VERIFICATION_DOCUMENT.md +1085 -0
- package/MASTER_VALIDATION_DOCUMENT.md +818 -0
- package/MINORITY_OPINION_ANALYSIS.md +464 -0
- package/NEW_RANDOM_TEST_RESULTS.md +127 -0
- package/NEW_SCENARIOS_TEST_RESULTS.md +272 -0
- package/NEXT_ACTIONS_COMPLETE.md +137 -0
- package/NEXT_PLAN_BASED_ON_AI_ANALYSES.md +413 -0
- package/NEXT_PLAN_BASED_ON_ALL_AI_RESPONSES.md +558 -0
- package/NEXT_STEPS.md +120 -0
- package/NEXT_STEPS_ACTION_PLAN.md +369 -0
- package/NPM_2FA_FIX.md +113 -0
- package/NPM_PUBLISH_TROUBLESHOOTING.md +230 -0
- package/PERPLEXITY_AI_VALIDATION_REQUEST.md +318 -0
- package/PERPLEXITY_AI_VALIDATION_RESPONSE.md +172 -0
- package/PERPLEXITY_BREAK_IT_VALIDATION.md +262 -0
- package/PERPLEXITY_DOCS_VALIDATION.md +237 -0
- package/PERPLEXITY_FEEDBACK_ACTION_PLAN.md +271 -0
- package/PERPLEXITY_FINAL_E2E_VALIDATION.md +210 -0
- package/PERPLEXITY_FINAL_SUMMARY.md +211 -0
- package/PERPLEXITY_PHASE2_VALIDATION.md +270 -0
- package/PERPLEXITY_PHASE2_VALIDATION_RESPONSE.md +136 -0
- package/PERPLEXITY_PRIORITY2_VALIDATION.md +321 -0
- package/PERPLEXITY_TELEMETRY_EXPLANATION.md +174 -0
- package/PERPLEXITY_TELEMETRY_VALIDATION.md +118 -0
- package/PERPLEXITY_TELEMETRY_VALIDATION_RESPONSE.md +154 -0
- package/PERPLEXITY_USER_GUIDE_VALIDATION.md +236 -0
- package/PERPLEXITY_VALIDATION_REQUEST.md +427 -0
- package/PERPLEXITY_VALIDATION_REQUEST_v1.5.1.md +190 -0
- package/PHASE_2_COMPLETE.md +149 -0
- package/PRE_LAUNCH_SECURITY_AUDIT.md +155 -0
- package/PRE_LAUNCH_TEST_CYCLE.md +326 -0
- package/PRE_LAUNCH_TEST_RESULTS.md +148 -0
- package/PROJECT_STRUCTURE_PLAN.md +104 -0
- package/PUBLIC_DOCS.md +90 -0
- package/PUBLISH_CHECKLIST.md +134 -0
- package/PUSH_INSTRUCTIONS.md +120 -0
- package/QUICK_START_TEST_CYCLE.md +76 -0
- package/README.md +557 -0
- package/README_TEST_INSTRUCTIONS.md +65 -0
- package/README_v1.5.1.md +137 -0
- package/REALISTIC_ASSESSMENT.md +186 -0
- package/REAL_WORLD_VALIDATION_COMPLETE.md +98 -0
- package/RED_TEAM_TESTING_GUIDE.md +302 -0
- package/RELEASE_NOTES_v1.0.0.md +125 -0
- package/RELEASE_NOTES_v1.5.1.md +105 -0
- package/REQUEST_COUNTERS.md +22 -0
- package/ROADMAP_v1.6.md +335 -0
- package/ROUND3_RANDOM_TEST_RESULTS.md +135 -0
- package/SECURITY_MODEL.md +577 -0
- package/SESSION_SUMMARY_CURRENT_STATE.md +206 -0
- package/SESSION_SUMMARY_REVIEW.md +203 -0
- package/SINGLE_RUN_ALL_SCENARIOS_TEST.sh +129 -0
- package/STRATEGIC_QUESTIONS_FOR_AI_VALIDATION.md +277 -0
- package/STRESS_TEST_CHECK_RESULTS.md +154 -0
- package/STRESS_TEST_EXECUTION_GUIDE.md +284 -0
- package/STRESS_TEST_IMPLEMENTATION_SUMMARY.md +221 -0
- package/TELEMETRY.md +370 -0
- package/TELEMETRY_COMPLETE_SUMMARY.md +231 -0
- package/TELEMETRY_CONTROL_POLICY.md +135 -0
- package/TELEMETRY_DESIGN_SUMMARY.md +210 -0
- package/TELEMETRY_FINAL_STATUS.md +178 -0
- package/TELEMETRY_NEXT_STEPS.md +258 -0
- package/TELEMETRY_TESTING_NOTES.md +217 -0
- package/TELEMETRY_WORK_COMPLETE.md +237 -0
- package/TEST_PLAN_v1.0.1.md +194 -0
- package/TEST_RESULTS_SUMMARY.md +128 -0
- package/TREE_SITTER_EXPLANATION.md +303 -0
- package/TROUBLESHOOTING.md +62 -0
- package/ULTIMATE_SCENARIOS_TEST_RESULTS.md +366 -0
- package/USER_FEEDBACK_TEMPLATE.md +104 -0
- package/USER_GUIDE.md +809 -0
- package/V1.1_DEVELOPMENT_COMPLETE.md +299 -0
- package/V1.1_SCENARIOS_ADDED.md +161 -0
- package/V1.2_CODE_STRUCTURE_IMPLEMENTATION.md +243 -0
- package/V1.3_COMPETITIVE_LAUNCH_COMPLETE.md +253 -0
- package/V1.3_COMPETITIVE_LAUNCH_IMPLEMENTATION_PLAN.md +385 -0
- package/V1.3_TEAM_PATTERNS_IMPLEMENTATION.md +183 -0
- package/V1.4_BUILD_PLAN_IMPLEMENTATION.md +698 -0
- package/V1.4_COMPLETE_SUMMARY_FOR_AI_REVIEW.md +516 -0
- package/V1.4_COMPLETE_VALIDATION_DOCUMENT.md +601 -0
- package/V1.4_DEVELOPMENT_PROGRESS.md +117 -0
- package/V1.4_FINAL_STATUS.md +147 -0
- package/V1.4_INTEGRATION_COMPLETE.md +207 -0
- package/V1.4_INTEGRATION_TEST_RESULTS.md +181 -0
- package/V1.4_OBSERVABILITY_AND_OVERRIDE_COMPLETE.md +180 -0
- package/V1.4_PHASE_3_COMPLETE.md +135 -0
- package/V1.4_RUNTIME_TESTING_GUIDE.md +364 -0
- package/V1.4_VERIFICATION_REPORT.md +199 -0
- package/V1.5.1_COMPLETE_SUMMARY.md +234 -0
- package/V1.5.1_RELEASE_NOTES.md +206 -0
- package/V1.5.1_RELEASE_READY.md +198 -0
- package/V1.5_COMPLETE_SUMMARY.md +264 -0
- package/V1.5_COMPLETE_VERIFICATION.md +183 -0
- package/V1.5_DESIGN_NOTES.md +272 -0
- package/V1.5_FINAL_STATUS.md +224 -0
- package/V1.5_IMPLEMENTATION_SUMMARY.md +113 -0
- package/V1.5_IMPROVEMENTS_COMPLETE.md +205 -0
- package/V1.5_PHASE1_COMPLETE.md +183 -0
- package/V1.5_PHASE1_PROGRESS.md +102 -0
- package/V1.5_PHASE2_COMPLETE.md +133 -0
- package/V1.5_PHASE2_PLAN.md +185 -0
- package/V1.5_PRIORITIZATION.md +313 -0
- package/V1.5_PRIORITY2_COMPLETE.md +150 -0
- package/V1.5_TESTING_COMPLETE.md +69 -0
- package/V1.5_TEST_RESULTS.md +178 -0
- package/V1.5_VALIDATION_RESULTS.md +209 -0
- package/V1.6_GAP_TRACKING.md +118 -0
- package/VALIDATION_SUMMARY_FOR_PERPLEXITY.md +83 -0
- package/VERIFICATION_REPORT.md +220 -0
- package/VERSION_UPDATE_VERIFICATION.md +76 -0
- package/config/tsconfig.json +21 -0
- package/dist/cli.d.ts +9 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +1114 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/archive.d.ts +20 -0
- package/dist/commands/archive.d.ts.map +1 -0
- package/dist/commands/archive.js +231 -0
- package/dist/commands/archive.js.map +1 -0
- package/dist/commands/auto-context.d.ts +22 -0
- package/dist/commands/auto-context.d.ts.map +1 -0
- package/dist/commands/auto-context.js +172 -0
- package/dist/commands/auto-context.js.map +1 -0
- package/dist/commands/auto-log.d.ts +30 -0
- package/dist/commands/auto-log.d.ts.map +1 -0
- package/dist/commands/auto-log.js +500 -0
- package/dist/commands/auto-log.js.map +1 -0
- package/dist/commands/change.d.ts +13 -0
- package/dist/commands/change.d.ts.map +1 -0
- package/dist/commands/change.js +254 -0
- package/dist/commands/change.js.map +1 -0
- package/dist/commands/checkpoint.d.ts +26 -0
- package/dist/commands/checkpoint.d.ts.map +1 -0
- package/dist/commands/checkpoint.js +326 -0
- package/dist/commands/checkpoint.js.map +1 -0
- package/dist/commands/configure.d.ts +21 -0
- package/dist/commands/configure.d.ts.map +1 -0
- package/dist/commands/configure.js +283 -0
- package/dist/commands/configure.js.map +1 -0
- package/dist/commands/consolidate.d.ts +19 -0
- package/dist/commands/consolidate.d.ts.map +1 -0
- package/dist/commands/consolidate.js +236 -0
- package/dist/commands/consolidate.js.map +1 -0
- package/dist/commands/context.d.ts +10 -0
- package/dist/commands/context.d.ts.map +1 -0
- package/dist/commands/context.js +571 -0
- package/dist/commands/context.js.map +1 -0
- package/dist/commands/detect.d.ts +13 -0
- package/dist/commands/detect.d.ts.map +1 -0
- package/dist/commands/detect.js +187 -0
- package/dist/commands/detect.js.map +1 -0
- package/dist/commands/doctor.d.ts +19 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +1272 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/export.d.ts +3 -0
- package/dist/commands/export.d.ts.map +1 -0
- package/dist/commands/export.js +95 -0
- package/dist/commands/export.js.map +1 -0
- package/dist/commands/graph.d.ts +25 -0
- package/dist/commands/graph.d.ts.map +1 -0
- package/dist/commands/graph.js +208 -0
- package/dist/commands/graph.js.map +1 -0
- package/dist/commands/hooks.d.ts +9 -0
- package/dist/commands/hooks.d.ts.map +1 -0
- package/dist/commands/hooks.js +240 -0
- package/dist/commands/hooks.js.map +1 -0
- package/dist/commands/impact.d.ts +18 -0
- package/dist/commands/impact.d.ts.map +1 -0
- package/dist/commands/impact.js +163 -0
- package/dist/commands/impact.js.map +1 -0
- package/dist/commands/index-vector.d.ts +13 -0
- package/dist/commands/index-vector.d.ts.map +1 -0
- package/dist/commands/index-vector.js +103 -0
- package/dist/commands/index-vector.js.map +1 -0
- package/dist/commands/index.d.ts +37 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +105 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/init.d.ts +8 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +200 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/inject.d.ts +22 -0
- package/dist/commands/inject.d.ts.map +1 -0
- package/dist/commands/inject.js +394 -0
- package/dist/commands/inject.js.map +1 -0
- package/dist/commands/learn.d.ts +13 -0
- package/dist/commands/learn.d.ts.map +1 -0
- package/dist/commands/learn.js +282 -0
- package/dist/commands/learn.js.map +1 -0
- package/dist/commands/lock.d.ts +35 -0
- package/dist/commands/lock.d.ts.map +1 -0
- package/dist/commands/lock.js +308 -0
- package/dist/commands/lock.js.map +1 -0
- package/dist/commands/memory.d.ts +15 -0
- package/dist/commands/memory.d.ts.map +1 -0
- package/dist/commands/memory.js +366 -0
- package/dist/commands/memory.js.map +1 -0
- package/dist/commands/migrate.d.ts +22 -0
- package/dist/commands/migrate.d.ts.map +1 -0
- package/dist/commands/migrate.js +458 -0
- package/dist/commands/migrate.js.map +1 -0
- package/dist/commands/patterns.d.ts +18 -0
- package/dist/commands/patterns.d.ts.map +1 -0
- package/dist/commands/patterns.js +120 -0
- package/dist/commands/patterns.js.map +1 -0
- package/dist/commands/protect.d.ts +12 -0
- package/dist/commands/protect.d.ts.map +1 -0
- package/dist/commands/protect.js +181 -0
- package/dist/commands/protect.js.map +1 -0
- package/dist/commands/quickstart.d.ts +11 -0
- package/dist/commands/quickstart.d.ts.map +1 -0
- package/dist/commands/quickstart.js +256 -0
- package/dist/commands/quickstart.js.map +1 -0
- package/dist/commands/repair.d.ts +13 -0
- package/dist/commands/repair.d.ts.map +1 -0
- package/dist/commands/repair.js +157 -0
- package/dist/commands/repair.js.map +1 -0
- package/dist/commands/resolve.d.ts +19 -0
- package/dist/commands/resolve.d.ts.map +1 -0
- package/dist/commands/resolve.js +355 -0
- package/dist/commands/resolve.js.map +1 -0
- package/dist/commands/roadmap.d.ts +5 -0
- package/dist/commands/roadmap.d.ts.map +1 -0
- package/dist/commands/roadmap.js +23 -0
- package/dist/commands/roadmap.js.map +1 -0
- package/dist/commands/scopes.d.ts +10 -0
- package/dist/commands/scopes.d.ts.map +1 -0
- package/dist/commands/scopes.js +80 -0
- package/dist/commands/scopes.js.map +1 -0
- package/dist/commands/search.d.ts +9 -0
- package/dist/commands/search.d.ts.map +1 -0
- package/dist/commands/search.js +313 -0
- package/dist/commands/search.js.map +1 -0
- package/dist/commands/setup.d.ts +13 -0
- package/dist/commands/setup.d.ts.map +1 -0
- package/dist/commands/setup.js +405 -0
- package/dist/commands/setup.js.map +1 -0
- package/dist/commands/snippet.d.ts +23 -0
- package/dist/commands/snippet.d.ts.map +1 -0
- package/dist/commands/snippet.js +235 -0
- package/dist/commands/snippet.js.map +1 -0
- package/dist/commands/stats.d.ts +15 -0
- package/dist/commands/stats.d.ts.map +1 -0
- package/dist/commands/stats.js +502 -0
- package/dist/commands/stats.js.map +1 -0
- package/dist/commands/status.d.ts +8 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +134 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/suggest-tags.d.ts +9 -0
- package/dist/commands/suggest-tags.d.ts.map +1 -0
- package/dist/commands/suggest-tags.js +95 -0
- package/dist/commands/suggest-tags.js.map +1 -0
- package/dist/commands/sync-rules.d.ts +14 -0
- package/dist/commands/sync-rules.d.ts.map +1 -0
- package/dist/commands/sync-rules.js +211 -0
- package/dist/commands/sync-rules.js.map +1 -0
- package/dist/commands/sync.d.ts +24 -0
- package/dist/commands/sync.d.ts.map +1 -0
- package/dist/commands/sync.js +330 -0
- package/dist/commands/sync.js.map +1 -0
- package/dist/commands/telemetry-test.d.ts +24 -0
- package/dist/commands/telemetry-test.d.ts.map +1 -0
- package/dist/commands/telemetry-test.js +84 -0
- package/dist/commands/telemetry-test.js.map +1 -0
- package/dist/commands/template.d.ts +16 -0
- package/dist/commands/template.d.ts.map +1 -0
- package/dist/commands/template.js +122 -0
- package/dist/commands/template.js.map +1 -0
- package/dist/commands/validate.d.ts +11 -0
- package/dist/commands/validate.d.ts.map +1 -0
- package/dist/commands/validate.js +144 -0
- package/dist/commands/validate.js.map +1 -0
- package/dist/commands/watch-preferences.d.ts +17 -0
- package/dist/commands/watch-preferences.d.ts.map +1 -0
- package/dist/commands/watch-preferences.js +172 -0
- package/dist/commands/watch-preferences.js.map +1 -0
- package/dist/commands/watch.d.ts +11 -0
- package/dist/commands/watch.d.ts.map +1 -0
- package/dist/commands/watch.js +223 -0
- package/dist/commands/watch.js.map +1 -0
- package/dist/config/thresholds.d.ts +8 -0
- package/dist/config/thresholds.d.ts.map +1 -0
- package/dist/config/thresholds.js +10 -0
- package/dist/config/thresholds.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -0
- package/dist/memorylink.d.ts +91 -0
- package/dist/memorylink.d.ts.map +1 -0
- package/dist/memorylink.js +208 -0
- package/dist/memorylink.js.map +1 -0
- package/dist/search/local-embeddings.d.ts +21 -0
- package/dist/search/local-embeddings.d.ts.map +1 -0
- package/dist/search/local-embeddings.js +87 -0
- package/dist/search/local-embeddings.js.map +1 -0
- package/dist/search/vector-search.d.ts +58 -0
- package/dist/search/vector-search.d.ts.map +1 -0
- package/dist/search/vector-search.js +535 -0
- package/dist/search/vector-search.js.map +1 -0
- package/dist/server/mcp-server.d.ts +18 -0
- package/dist/server/mcp-server.d.ts.map +1 -0
- package/dist/server/mcp-server.js +293 -0
- package/dist/server/mcp-server.js.map +1 -0
- package/dist/telemetry.d.ts +92 -0
- package/dist/telemetry.d.ts.map +1 -0
- package/dist/telemetry.js +339 -0
- package/dist/telemetry.js.map +1 -0
- package/dist/telemetry.test.d.ts +13 -0
- package/dist/telemetry.test.d.ts.map +1 -0
- package/dist/telemetry.test.js +324 -0
- package/dist/telemetry.test.js.map +1 -0
- package/dist/test-runner/TestRunner.d.ts +68 -0
- package/dist/test-runner/TestRunner.d.ts.map +1 -0
- package/dist/test-runner/TestRunner.js +384 -0
- package/dist/test-runner/TestRunner.js.map +1 -0
- package/dist/test-runner/performance-test.d.ts +36 -0
- package/dist/test-runner/performance-test.d.ts.map +1 -0
- package/dist/test-runner/performance-test.js +163 -0
- package/dist/test-runner/performance-test.js.map +1 -0
- package/dist/test-runner/run-tests.d.ts +7 -0
- package/dist/test-runner/run-tests.d.ts.map +1 -0
- package/dist/test-runner/run-tests.js +167 -0
- package/dist/test-runner/run-tests.js.map +1 -0
- package/dist/types.d.ts +400 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +81 -0
- package/dist/types.js.map +1 -0
- package/dist/utils/batch-commits.d.ts +48 -0
- package/dist/utils/batch-commits.d.ts.map +1 -0
- package/dist/utils/batch-commits.js +164 -0
- package/dist/utils/batch-commits.js.map +1 -0
- package/dist/utils/code-structure.d.ts +62 -0
- package/dist/utils/code-structure.d.ts.map +1 -0
- package/dist/utils/code-structure.js +582 -0
- package/dist/utils/code-structure.js.map +1 -0
- package/dist/utils/commit-patterns.d.ts +24 -0
- package/dist/utils/commit-patterns.d.ts.map +1 -0
- package/dist/utils/commit-patterns.js +78 -0
- package/dist/utils/commit-patterns.js.map +1 -0
- package/dist/utils/observability.d.ts +47 -0
- package/dist/utils/observability.d.ts.map +1 -0
- package/dist/utils/observability.js +137 -0
- package/dist/utils/observability.js.map +1 -0
- package/dist/utils/quality.d.ts +32 -0
- package/dist/utils/quality.d.ts.map +1 -0
- package/dist/utils/quality.js +207 -0
- package/dist/utils/quality.js.map +1 -0
- package/dist/utils/semantic-search.d.ts +29 -0
- package/dist/utils/semantic-search.d.ts.map +1 -0
- package/dist/utils/semantic-search.js +167 -0
- package/dist/utils/semantic-search.js.map +1 -0
- package/dist/utils/streaming.d.ts +24 -0
- package/dist/utils/streaming.d.ts.map +1 -0
- package/dist/utils/streaming.js +121 -0
- package/dist/utils/streaming.js.map +1 -0
- package/dist/utils/tag-suggestions.d.ts +18 -0
- package/dist/utils/tag-suggestions.d.ts.map +1 -0
- package/dist/utils/tag-suggestions.js +103 -0
- package/dist/utils/tag-suggestions.js.map +1 -0
- package/dist/utils/team-patterns.d.ts +48 -0
- package/dist/utils/team-patterns.d.ts.map +1 -0
- package/dist/utils/team-patterns.js +413 -0
- package/dist/utils/team-patterns.js.map +1 -0
- package/dist/utils/templates.d.ts +36 -0
- package/dist/utils/templates.d.ts.map +1 -0
- package/dist/utils/templates.js +200 -0
- package/dist/utils/templates.js.map +1 -0
- package/dist/utils/tree-sitter-parser.d.ts +20 -0
- package/dist/utils/tree-sitter-parser.d.ts.map +1 -0
- package/dist/utils/tree-sitter-parser.js +259 -0
- package/dist/utils/tree-sitter-parser.js.map +1 -0
- package/dist/utils/v1.6-patterns.d.ts +117 -0
- package/dist/utils/v1.6-patterns.d.ts.map +1 -0
- package/dist/utils/v1.6-patterns.js +201 -0
- package/dist/utils/v1.6-patterns.js.map +1 -0
- package/dist/utils.d.ts +176 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +822 -0
- package/dist/utils.js.map +1 -0
- package/docs/1000_SCENARIOS_TEST_RESULTS.md +138 -0
- package/docs/1000_UNIQUE_SCENARIOS_TEST.md +171 -0
- package/docs/100_PERCENT_PASS_RATE_VERIFICATION.md +111 -0
- package/docs/5000_SCENARIOS_ISSUE_ANALYSIS.md +96 -0
- package/docs/5000_SCENARIOS_TEST_PLAN.md +281 -0
- package/docs/AGENT_CONTRACT.md +240 -0
- package/docs/AI_RESPONSE_ANALYZER.md +157 -0
- package/docs/AI_RESPONSE_TRACKER.md +923 -0
- package/docs/AI_TESTING_PROMPT.md +307 -0
- package/docs/AI_VALIDATION_PROMPTS.md +366 -0
- package/docs/ALL_AI_ANALYSES_CONSOLIDATED.md +354 -0
- package/docs/ALL_AI_CONSOLIDATION_FINAL.md +372 -0
- package/docs/ALL_AI_TEST_CONSOLIDATION.md +290 -0
- package/docs/ALL_AI_VALIDATION_SYNTHESIS.md +241 -0
- package/docs/BEST_TESTING_SOLUTION.md +227 -0
- package/docs/BLACKBOX_AI_ANALYSIS.md +288 -0
- package/docs/BLACKBOX_AI_CLARIFICATION.md +55 -0
- package/docs/BLACKBOX_AI_STRATEGIC_VALIDATION.md +283 -0
- package/docs/BLACKBOX_AI_VALIDATION_RESPONSE.md +251 -0
- package/docs/BLACKBOX_AI_VALIDATION_RESPONSE_v2.md +402 -0
- package/docs/BLACKBOX_LAUNCH_VALIDATION.md +25 -0
- package/docs/BLACKBOX_SUPERMEMORY_VALIDATION_AND_PLAN.md +50 -0
- package/docs/CAPACITY_AND_ALTERNATIVES_ANALYSIS.md +289 -0
- package/docs/CHATGPT_AI_CLARIFICATION.md +65 -0
- package/docs/CHATGPT_FINAL_VALIDATION.md +348 -0
- package/docs/CHATGPT_IMPLEMENTATION_GUIDE.md +325 -0
- package/docs/CHATGPT_LAUNCH_VALIDATION.md +47 -0
- package/docs/CHATGPT_MEMORY_QUALITY_AND_VSCODE_CHECK.md +43 -0
- package/docs/CHATGPT_SCOPE_REALITY_CHECK.md +35 -0
- package/docs/CHATGPT_STRATEGIC_VALIDATION.md +329 -0
- package/docs/CHATGPT_VALIDATION_RESPONSE.md +332 -0
- package/docs/CHATGPT_VALIDATION_RESPONSE_v2.md +294 -0
- package/docs/CHATGPT_VALIDATION_RESULTS.md +143 -0
- package/docs/CLAUDE_AI_ANALYSIS.md +692 -0
- package/docs/CLAUDE_AI_CLARIFICATION.md +67 -0
- package/docs/CLAUDE_AI_STRATEGIC_VALIDATION.md +578 -0
- package/docs/CLAUDE_AI_VALIDATION_RESPONSE.md +374 -0
- package/docs/CLAUDE_AI_VALIDATION_RESPONSE_v2.md +463 -0
- package/docs/CLAUDE_FINAL_VALIDATION.md +679 -0
- package/docs/CLAUDE_LAUNCH_VALIDATION.md +27 -0
- package/docs/CLAUDE_SUPERMEMORY_LAUNCH_PRIORITIES.md +44 -0
- package/docs/CLAUDE_UNIVERSAL_VISION.md +18 -0
- package/docs/COMPLETE_AI_VALIDATION_SYNTHESIS.md +229 -0
- package/docs/COMPLETE_MEMORY_ANALYSIS_SUMMARY.md +323 -0
- package/docs/COMPLETE_STRATEGIC_LAUNCH_PLAN.md +241 -0
- package/docs/COPILOT_LANGCHAIN_MEMORY_COMPARISON_AND_PLAN.md +43 -0
- package/docs/CRITICAL_FIXES_ACTION_PLAN.md +251 -0
- package/docs/CRITICAL_MEMORY_USAGE_PROMPTS.md +290 -0
- package/docs/CURSOR_AI_MEMORY_ANALYSIS.md +479 -0
- package/docs/CURSOR_AI_MEMORY_WORKFLOW_ANALYSIS.md +267 -0
- package/docs/CURSOR_AI_TEST_RESULTS.md +298 -0
- package/docs/DEEPSEEK_AI_CLARIFICATION.md +52 -0
- package/docs/DEEPSEEK_AI_IMPLEMENTATION_GUIDE.md +398 -0
- package/docs/DEEPSEEK_AI_STRATEGIC_VALIDATION.md +348 -0
- package/docs/DEEPSEEK_AI_VALIDATION_RESPONSE.md +276 -0
- package/docs/DEEPSEEK_AI_VALIDATION_RESPONSE_v2.md +325 -0
- package/docs/DEEPSEEK_FINAL_VALIDATION.md +337 -0
- package/docs/DEEPSEEK_LAUNCH_VALIDATION.md +55 -0
- package/docs/DEEPSEEK_SCOPE_REALITY_CHECK.md +30 -0
- package/docs/DEEPSEEK_SUPERMEMORY_ADOPTION_AND_VSCODE_PIVOT.md +47 -0
- package/docs/DEEPSEEK_VALIDATION_RESULTS.md +165 -0
- package/docs/DEVELOPMENT_TESTING_PROTOCOL.md +378 -0
- package/docs/E2E_TEST_RESULTS.md +102 -0
- package/docs/END_TO_END_MEMORY_ISSUE_ANALYSIS.md +442 -0
- package/docs/FEATURE_1_GIT_SYNC_PLAN.md +228 -0
- package/docs/FEATURE_2_AUTO_LOGGING_PLAN.md +239 -0
- package/docs/FEATURE_3_CODE_SNIPPET_PLAN.md +249 -0
- package/docs/FEATURE_4_TAG_NORMALIZATION_PLAN.md +211 -0
- package/docs/FEATURE_5_WINDOWS_PATH_HANDLING_PLAN.md +199 -0
- package/docs/FEATURE_6_CONFLICT_DETECTION_PLAN.md +126 -0
- package/docs/FEATURE_IMPLEMENTATION_REPORT.md +203 -0
- package/docs/FINAL_COMPLETE_LAUNCH_DECISION.md +255 -0
- package/docs/FINAL_LAUNCH_DECISION.md +235 -0
- package/docs/FINAL_LAUNCH_DECISION_ALL_AIS.md +226 -0
- package/docs/FINAL_SCENARIO_VERIFICATION.md +363 -0
- package/docs/FIX_100_PERCENT_ANALYSIS.md +133 -0
- package/docs/FRAMEWORK_STRUCTURE.md +94 -0
- package/docs/GEMINI_AI_ANALYSIS.md +156 -0
- package/docs/GEMINI_AI_CLARIFICATION.md +47 -0
- package/docs/GEMINI_AI_STRATEGIC_VALIDATION.md +235 -0
- package/docs/GEMINI_AI_VALIDATION_RESPONSE.md +238 -0
- package/docs/GEMINI_AI_VALIDATION_RESPONSE_v2.md +168 -0
- package/docs/GEMINI_FINAL_VALIDATION.md +204 -0
- package/docs/GEMINI_LAUNCH_VALIDATION.md +30 -0
- package/docs/GEMINI_SCOPE_AND_UNIVERSALITY_DEBATE.md +25 -0
- package/docs/GEMINI_SUPERMEMORY_TREE_SITTER_MANDATE.md +43 -0
- package/docs/GEMINI_VALIDATION_RESULTS.md +183 -0
- package/docs/GROK_AI_ANALYSIS.md +278 -0
- package/docs/GROK_AI_CLARIFICATION.md +52 -0
- package/docs/GROK_AI_STRATEGIC_VALIDATION.md +306 -0
- package/docs/GROK_AI_VALIDATION_RESPONSE.md +252 -0
- package/docs/GROK_AI_VALIDATION_RESPONSE_v2.md +264 -0
- package/docs/GROK_FINAL_VALIDATION.md +251 -0
- package/docs/GROK_LAUNCH_VALIDATION.md +24 -0
- package/docs/GROK_SCOPE_REALITY_CHECK.md +28 -0
- package/docs/GROK_SUPERMEMORY_LAUNCH_ANALYSIS.md +44 -0
- package/docs/GROK_VALIDATION_RESULTS.md +180 -0
- package/docs/IMPLEMENTATION_PLAN_16_CRITICAL_FIXES.md +641 -0
- package/docs/LANGCHAIN_AND_LANGGRAPH_INTEGRATION_PLAN.md +51 -0
- package/docs/LAUNCH_DECISION_FINAL.md +243 -0
- package/docs/MANUS_AI_ANALYSIS.md +171 -0
- package/docs/MANUS_AI_CLARIFICATION.md +43 -0
- package/docs/MANUS_AI_VALIDATION_RESPONSE.md +335 -0
- package/docs/MANUS_AI_VALIDATION_RESPONSE_v2.md +226 -0
- package/docs/MANUS_FINAL_VALIDATION.md +257 -0
- package/docs/MANUS_VALIDATION_RESULTS.md +237 -0
- package/docs/MCP_SERVER_SETUP.md +167 -0
- package/docs/MEMORYLINK_7AI_FINAL_CONFIRMATION.md +210 -0
- package/docs/MEMORYLINK_CURSOR_AI_DEVELOPMENT_GUIDE.md +1092 -0
- package/docs/MEMORYLINK_DEVELOPMENT_PLAN_CURSOR_AI.md +629 -0
- package/docs/MEMORYLINK_FINAL_7AI_CLARIFICATION.md +184 -0
- package/docs/MEMORYLINK_MASTER_DOCUMENT_v4.md +1338 -0
- package/docs/MEMORYLINK_NAMING_ANALYSIS.md +427 -0
- package/docs/MEMORYLINK_REAL_WORLD_SCENARIOS.md +3517 -0
- package/docs/MEMORYLINK_STORAGE_COMPARISON.md +498 -0
- package/docs/MEMORYLINK_V1.0_FINAL_IMPLEMENTATION_PLAN.md +285 -0
- package/docs/MEMORYLINK_VALIDATION_COMPLETE_ANALYSIS.md +207 -0
- package/docs/MEMORYLINK_VS_MEMORY_APPS_ANALYSIS.md +667 -0
- package/docs/MEMORYLINK_v1.0_BUILD_DOCUMENT_FINAL.md +1928 -0
- package/docs/MEMORY_USAGE_FIX_IMPLEMENTATION.md +314 -0
- package/docs/MISTRAL_AI_ANALYSIS.md +189 -0
- package/docs/MISTRAL_AI_CLARIFICATION.md +57 -0
- package/docs/MISTRAL_AI_STRATEGIC_VALIDATION.md +334 -0
- package/docs/MISTRAL_AI_TESTING_REQUEST.md +261 -0
- package/docs/MISTRAL_AI_VALIDATION_RESPONSE.md +446 -0
- package/docs/MISTRAL_AI_VALIDATION_RESPONSE_v2.md +227 -0
- package/docs/MISTRAL_FINAL_VALIDATION.md +398 -0
- package/docs/MISTRAL_LAUNCH_VALIDATION.md +32 -0
- package/docs/MISTRAL_SCOPE_REALITY_CHECK.md +32 -0
- package/docs/MISTRAL_SUPERMEMORY_LAUNCH_ANALYSIS.md +43 -0
- package/docs/MISTRAL_VALIDATION_RESULTS.md +371 -0
- package/docs/NEXT_PLAN.md +300 -0
- package/docs/PERPLEXITY_AI_ANALYSIS.md +285 -0
- package/docs/PERPLEXITY_AI_CLARIFICATION.md +57 -0
- package/docs/PERPLEXITY_AI_STRATEGIC_VALIDATION.md +288 -0
- package/docs/PERPLEXITY_AI_VALIDATION_RESPONSE.md +350 -0
- package/docs/PERPLEXITY_AI_VALIDATION_RESPONSE_v2.md +260 -0
- package/docs/PERPLEXITY_FINAL_VALIDATION.md +320 -0
- package/docs/PERPLEXITY_LAUNCH_VALIDATION.md +42 -0
- package/docs/PERPLEXITY_MEMORY_QUALITY_AND_VSCODE_PLAN.md +56 -0
- package/docs/PERPLEXITY_SCOPE_REALITY_CHECK.md +31 -0
- package/docs/PERPLEXITY_VALIDATION_RESULTS.md +154 -0
- package/docs/PRE_LAUNCH_GAP_ANALYSIS.md +663 -0
- package/docs/PROJECT_STRUCTURE_PLAN.md +104 -0
- package/docs/QWEN_AI_ANALYSIS.md +176 -0
- package/docs/QWEN_AI_CLARIFICATION.md +60 -0
- package/docs/QWEN_AI_STRATEGIC_VALIDATION.md +241 -0
- package/docs/QWEN_AI_VALIDATION_RESPONSE.md +197 -0
- package/docs/QWEN_AI_VALIDATION_RESPONSE_v2.md +186 -0
- package/docs/QWEN_FINAL_VALIDATION.md +284 -0
- package/docs/QWEN_LAUNCH_VALIDATION.md +26 -0
- package/docs/QWEN_SCENARIOS_TEST_RESULTS.md +244 -0
- package/docs/QWEN_SCOPE_REALITY_CHECK.md +26 -0
- package/docs/QWEN_SUPERMEMORY_LAUNCH_AND_ENFORCEMENT_PLAN.md +56 -0
- package/docs/QWEN_VALIDATION_RESULTS.md +185 -0
- package/docs/README.md +479 -0
- package/docs/REAL_PRODUCT_LAUNCH_DECISION.md +185 -0
- package/docs/RECIPES.md +424 -0
- package/docs/RELEASE_NOTES_v1.0.0.md +193 -0
- package/docs/SCENARIO_INVENTORY_AND_VERIFICATION.md +284 -0
- package/docs/SINGLE_RUN_1018_SCENARIOS_RESULTS.md +142 -0
- package/docs/TESTING.md +256 -0
- package/docs/TESTING_STRATEGY.md +194 -0
- package/docs/TROUBLESHOOTING.md +188 -0
- package/docs/ULTIMATE_LAUNCH_DECISION.md +246 -0
- package/docs/WHAT_WE_BUILT.md +504 -0
- package/docs/v1.0_LAUNCH_CHECKLIST.md +104 -0
- package/examples/README.md +199 -0
- package/examples/chatgpt-context.js +161 -0
- package/examples/ci-integration.js +288 -0
- package/examples/sync-from-cursor.js +196 -0
- package/extensions/vscode/README.md +25 -0
- package/extensions/vscode/out/buddy-check.js +208 -0
- package/extensions/vscode/out/buddy-check.js.map +1 -0
- package/extensions/vscode/out/extension.js +413 -0
- package/extensions/vscode/out/extension.js.map +1 -0
- package/extensions/vscode/out/sidebar.js +409 -0
- package/extensions/vscode/out/sidebar.js.map +1 -0
- package/extensions/vscode/package.json +92 -0
- package/extensions/vscode/src/buddy-check.ts +220 -0
- package/extensions/vscode/src/extension.ts +425 -0
- package/extensions/vscode/src/shims-vscode.d.ts +2 -0
- package/extensions/vscode/src/sidebar.ts +431 -0
- package/extensions/vscode/tsconfig.json +14 -0
- package/k6-load-test.js +86 -0
- package/package.json +68 -0
- package/run-professional-tests.sh +72 -0
- package/scripts/monitor-continuous-test.sh +17 -0
- package/scripts/reorganize-project.sh +164 -0
- package/scripts/run-tests-parallel.sh +111 -0
- package/scripts/run-tests.sh +30 -0
- package/scripts/setup-framework.sh +139 -0
- package/scripts/setup-testing.sh +96 -0
- package/scripts/stress-test/README.md +86 -0
- package/scripts/stress-test/create-all-scenarios.sh +17 -0
- package/scripts/stress-test/create-remaining-scenarios.sh +3 -0
- package/scripts/stress-test/dev-test.sh +21 -0
- package/scripts/stress-test/monitor-continuous.sh +149 -0
- package/scripts/stress-test/overnight-test.sh +30 -0
- package/scripts/stress-test/quick-test.sh +21 -0
- package/scripts/stress-test/run-all-tests.sh +157 -0
- package/scripts/stress-test/run-continuous.sh +300 -0
- package/scripts/stress-test/run-stress-test.sh +153 -0
- package/scripts/stress-test/set1/1_1_mass_refactoring.sh +117 -0
- package/scripts/stress-test/set1/1_1_mass_refactoring_simple.sh +117 -0
- package/scripts/stress-test/set1/1_2_function_rename.sh +95 -0
- package/scripts/stress-test/set1/1_3_feature_flags.sh +93 -0
- package/scripts/stress-test/set1/1_4_feature_removal.sh +57 -0
- package/scripts/stress-test/set1/1_5_schema_changes.sh +42 -0
- package/scripts/stress-test/set1/1_6_dependency_update.sh +47 -0
- package/scripts/stress-test/set1/1_7_config_modification.sh +53 -0
- package/scripts/stress-test/set2/2_1_payment_logging.sh +49 -0
- package/scripts/stress-test/set2/2_2_test_data_generation.sh +43 -0
- package/scripts/stress-test/set2/2_3_documentation_leak.sh +45 -0
- package/scripts/stress-test/set2/2_4_api_key_rotation.sh +45 -0
- package/scripts/stress-test/set2/2_5_hardcoded_secrets.sh +45 -0
- package/scripts/stress-test/set2/2_6_debug_output.sh +49 -0
- package/scripts/stress-test/set3/3_1_billing_modification.sh +47 -0
- package/scripts/stress-test/set3/3_2_migration_deletion.sh +43 -0
- package/scripts/stress-test/set3/3_3_auth_middleware.sh +52 -0
- package/scripts/stress-test/set3/3_4_permission_bypass.sh +48 -0
- package/scripts/stress-test/set3/3_5_config_modification.sh +43 -0
- package/scripts/stress-test/set3/3_6_core_library.sh +51 -0
- package/scripts/stress-test/set3/3_7_test_infrastructure.sh +49 -0
- package/scripts/stress-test/set4/4_1_concurrent_features.sh +49 -0
- package/scripts/stress-test/set4/4_2_lock_acquisition.sh +32 -0
- package/scripts/stress-test/set4/4_3_migration_hotfix.sh +43 -0
- package/scripts/stress-test/set4/4_4_overlapping_scopes.sh +50 -0
- package/scripts/stress-test/set4/4_5_lock_timeout.sh +34 -0
- package/scripts/stress-test/set4/4_6_concurrent_stats.sh +33 -0
- package/scripts/stress-test/set5/5_1_wrong_decision.sh +41 -0
- package/scripts/stress-test/set5/5_2_outdated_docs.sh +40 -0
- package/scripts/stress-test/set5/5_3_conflicting_memories.sh +34 -0
- package/scripts/stress-test/set5/5_4_deleted_file_references.sh +38 -0
- package/scripts/stress-test/set5/5_5_old_pattern.sh +41 -0
- package/scripts/stress-test/set5/5_6_wrong_architecture.sh +42 -0
- package/scripts/stress-test/set5/5_7_high_trust_stale.sh +46 -0
- package/scripts/stress-test/set5/5_8_observability_stale.sh +36 -0
- package/scripts/stress-test/setup-test-repo-simple.sh +144 -0
- package/scripts/stress-test/setup-test-repo.sh +154 -0
- package/scripts/stress-test/start-continuous.sh +48 -0
- package/scripts/stress-test/stop-continuous.sh +42 -0
- package/scripts/stress-test/template-scenario.sh +115 -0
- package/scripts/test-advanced-scenarios.sh +411 -0
- package/scripts/test-continuous-30min.sh +307 -0
- package/scripts/test-continuous-enhanced.sh +250 -0
- package/scripts/test-e2e-comprehensive.sh +114 -0
- package/scripts/test-e2e-random.sh +359 -0
- package/scripts/test-fresh-scenarios.sh +412 -0
- package/scripts/test-new-scenarios.sh +374 -0
- package/scripts/test-quick-random.sh +97 -0
- package/scripts/test-runtime.sh +129 -0
- package/scripts/test-telemetry-local.sh +193 -0
- package/scripts/test-ultimate-scenarios.sh +428 -0
- package/scripts/test-v1.5-complete.sh +225 -0
- package/scripts/test-v1.5-phase1.sh +222 -0
- package/src/cli.ts +1259 -0
- package/src/commands/archive.ts +252 -0
- package/src/commands/auto-context.ts +159 -0
- package/src/commands/auto-log.ts +531 -0
- package/src/commands/change.ts +298 -0
- package/src/commands/checkpoint.ts +390 -0
- package/src/commands/configure.ts +297 -0
- package/src/commands/consolidate.ts +263 -0
- package/src/commands/context.ts +618 -0
- package/src/commands/detect.ts +181 -0
- package/src/commands/doctor.ts +1468 -0
- package/src/commands/export.ts +77 -0
- package/src/commands/graph.ts +214 -0
- package/src/commands/hooks.ts +245 -0
- package/src/commands/impact.ts +163 -0
- package/src/commands/index-vector.ts +126 -0
- package/src/commands/index.ts +57 -0
- package/src/commands/init.ts +194 -0
- package/src/commands/inject.ts +440 -0
- package/src/commands/learn.ts +328 -0
- package/src/commands/lock.ts +345 -0
- package/src/commands/memory.ts +415 -0
- package/src/commands/migrate.ts +540 -0
- package/src/commands/patterns.ts +158 -0
- package/src/commands/protect.ts +199 -0
- package/src/commands/quickstart.ts +259 -0
- package/src/commands/resolve.ts +373 -0
- package/src/commands/roadmap.ts +25 -0
- package/src/commands/scopes.ts +113 -0
- package/src/commands/search.ts +365 -0
- package/src/commands/setup.ts +430 -0
- package/src/commands/snippet.ts +271 -0
- package/src/commands/stats.ts +591 -0
- package/src/commands/status.ts +127 -0
- package/src/commands/suggest-tags.ts +122 -0
- package/src/commands/sync-rules.ts +218 -0
- package/src/commands/sync.ts +363 -0
- package/src/commands/telemetry-test.ts +97 -0
- package/src/commands/template.ts +166 -0
- package/src/commands/validate.ts +191 -0
- package/src/commands/watch-preferences.ts +162 -0
- package/src/commands/watch.ts +239 -0
- package/src/config/thresholds.ts +14 -0
- package/src/index.ts +12 -0
- package/src/memorylink.ts +308 -0
- package/src/search/local-embeddings.ts +94 -0
- package/src/search/vector-search.ts +608 -0
- package/src/server/mcp-server.ts +355 -0
- package/src/telemetry.ts +391 -0
- package/src/test-runner/TestRunner.ts +421 -0
- package/src/test-runner/performance-test.ts +161 -0
- package/src/test-runner/run-tests.ts +152 -0
- package/src/types.ts +533 -0
- package/src/utils/batch-commits.ts +162 -0
- package/src/utils/code-structure.ts +686 -0
- package/src/utils/commit-patterns.ts +87 -0
- package/src/utils/observability.ts +149 -0
- package/src/utils/quality.ts +230 -0
- package/src/utils/semantic-search.ts +222 -0
- package/src/utils/streaming.ts +109 -0
- package/src/utils/tag-suggestions.ts +117 -0
- package/src/utils/team-patterns.ts +499 -0
- package/src/utils/templates.ts +181 -0
- package/src/utils/tree-sitter-parser.ts +246 -0
- package/src/utils/v1.6-patterns.ts +227 -0
- package/src/utils.ts +885 -0
- package/test-all-features.sh +102 -0
- package/test-all-implemented-features.sh +209 -0
- package/test-all-new-features.sh +171 -0
- package/test-auto-log.txt +1 -0
- package/test-batch-commits.sh +47 -0
- package/test-conflict-resolution.sh +47 -0
- package/test-e2e.sh +22 -0
- package/test-end-to-end.sh +151 -0
- package/test-enhanced-autocapture.sh +164 -0
- package/test-inject.sh +44 -0
- package/test-mcp-server.sh +67 -0
- package/test-pagination.sh +37 -0
- package/test-python-go-structure.sh +164 -0
- package/test-quality-validation.sh +167 -0
- package/test-results-quick-smoke.json +13 -0
- package/test-results-targeted-perf.json +23 -0
- package/test-results.json +2272 -0
- package/test-scenarios/payment-logging.ts +17 -0
- package/test-scenarios/test-config.ts +13 -0
- package/test-semantic-search.sh +161 -0
- package/test-tag-intelligence.sh +49 -0
- package/test-vector-search.sh +64 -0
- package/test-vscode-extension.sh +144 -0
- package/test-watcher-file.txt +2 -0
- package/test-watcher-file2.txt +1 -0
- package/test-watcher.sh +103 -0
- package/test_qwen_scenarios.sh +285 -0
- package/tests/scenarios/4000_HARD_SCENARIOS.sh +4137 -0
- package/tests/scenarios/ADD_V1.1_SCENARIOS.sh +93 -0
- package/tests/scenarios/AGGRESSIVE_RANDOM_E2E_TEST.sh +474 -0
- package/tests/scenarios/COMPLETE_PRODUCT_VALIDATION.sh +227 -0
- package/tests/scenarios/COMPREHENSIVE_E2E_TEST.sh +426 -0
- package/tests/scenarios/CONTINUOUS_RANDOM_STRESS_TEST.sh +240 -0
- package/tests/scenarios/EXECUTE_10000_SCENARIOS.sh +61 -0
- package/tests/scenarios/EXECUTE_1000_UNIQUE_SCENARIOS.sh +190 -0
- package/tests/scenarios/EXECUTE_5000_SCENARIOS_SPLIT.sh +192 -0
- package/tests/scenarios/EXECUTE_5000_TOTAL_SCENARIOS.sh +162 -0
- package/tests/scenarios/EXECUTE_5040_SCENARIOS_WITH_V1.1.sh +251 -0
- package/tests/scenarios/EXECUTE_8_BATCHES_500.sh +51 -0
- package/tests/scenarios/EXECUTE_QUICK_SMOKE.sh +9 -0
- package/tests/scenarios/EXECUTE_SINGLE_BATCH.sh +117 -0
- package/tests/scenarios/EXECUTE_TARGETED_PERF.sh +19 -0
- package/tests/scenarios/GENERATE_1000_SCENARIOS.sh +235 -0
- package/tests/scenarios/GENERATE_4000_HARD_SCENARIOS.sh +266 -0
- package/tests/scenarios/GENERATE_4000_HARD_SCENARIOS_FIXED.sh +267 -0
- package/tests/scenarios/GENERATE_4000_HARD_SCENARIOS_FIXED_V2.sh +267 -0
- package/tests/scenarios/NEW_RANDOM_E2E_TEST.sh +422 -0
- package/tests/scenarios/QUICK_SMOKE_200.sh +38 -0
- package/tests/scenarios/QUICK_SMOKE_MINI.sh +3 -0
- package/tests/scenarios/RANDOM_REAL_WORLD_SCENARIOS.sh +372 -0
- package/tests/scenarios/ROUND3_RANDOM_E2E_TEST.sh +446 -0
- package/tests/scenarios/RUN_AGGRESSIVE_AND_SUMMARY.sh +51 -0
- package/tests/scenarios/RUN_ALL_1018_SCENARIOS.sh +161 -0
- package/tests/scenarios/TARGETED_PERF.sh +75 -0
- package/tests/scenarios/V1.1_FEATURES_SCENARIOS.sh +145 -0
- package/tests/unit/utils.test.ts +52 -0
- package/tests/v1.1-features-scenarios.sh +276 -0
- package/tsconfig.json +21 -0
- package/v1.6_FEATURE_REQUESTS.md +79 -0
package/USER_GUIDE.md
ADDED
|
@@ -0,0 +1,809 @@
|
|
|
1
|
+
# MemoryLink User Guide
|
|
2
|
+
|
|
3
|
+
**Version**: v1.0.0
|
|
4
|
+
**Last Updated**: 2025-12-20
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## What You Can Do with MemoryLink
|
|
9
|
+
|
|
10
|
+
MemoryLink helps you work safely with AI coding assistants. Here's what it does for you:
|
|
11
|
+
|
|
12
|
+
- **Protect important files** when using AI agents
|
|
13
|
+
- **Coordinate multiple agents** so they don't conflict with each other
|
|
14
|
+
- **Roll back changes** if AI breaks something
|
|
15
|
+
- **Check for problems** before and after AI makes changes
|
|
16
|
+
- **Share project context** across different AI tools
|
|
17
|
+
|
|
18
|
+
MemoryLink works with your existing Git workflow and stores everything locally in `.memorylink/` directory.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## First 5 Minutes with MemoryLink
|
|
23
|
+
|
|
24
|
+
Get MemoryLink working in your project quickly:
|
|
25
|
+
|
|
26
|
+
**1. Install and check:**
|
|
27
|
+
```bash
|
|
28
|
+
npm install -g memorylink
|
|
29
|
+
memorylink --version
|
|
30
|
+
# Should show: 1.0.0
|
|
31
|
+
```
|
|
32
|
+
*This installs MemoryLink globally and verifies it works.*
|
|
33
|
+
|
|
34
|
+
**2. Initialize in your project:**
|
|
35
|
+
```bash
|
|
36
|
+
cd your-project
|
|
37
|
+
memorylink init
|
|
38
|
+
```
|
|
39
|
+
*This creates `.memorylink/` directory with configuration files.*
|
|
40
|
+
|
|
41
|
+
**3. Protect critical files:**
|
|
42
|
+
```bash
|
|
43
|
+
memorylink protect .env
|
|
44
|
+
memorylink protect src/auth/
|
|
45
|
+
memorylink protect prisma/migrations/
|
|
46
|
+
```
|
|
47
|
+
*This tells MemoryLink which files are sensitive and should be monitored.*
|
|
48
|
+
|
|
49
|
+
**4. Run your first health check:**
|
|
50
|
+
```bash
|
|
51
|
+
memorylink doctor --preflight
|
|
52
|
+
memorylink stats
|
|
53
|
+
```
|
|
54
|
+
*This runs initial safety checks and shows that MemoryLink is tracking runs.*
|
|
55
|
+
|
|
56
|
+
**Now you're ready!** MemoryLink is installed, initialized, and tracking your project.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Quick Daily Workflow (Happy Path)
|
|
61
|
+
|
|
62
|
+
Here's how to use MemoryLink in a typical day of AI-assisted development:
|
|
63
|
+
|
|
64
|
+
### Before AI Work
|
|
65
|
+
|
|
66
|
+
1. **Acquire a lock** (prevents other agents from conflicting):
|
|
67
|
+
```bash
|
|
68
|
+
memorylink lock acquire --agent "cursor"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
2. **Create a checkpoint** (snapshot for rollback):
|
|
72
|
+
```bash
|
|
73
|
+
memorylink checkpoint create --name "before-change"
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
3. **Run preflight check** (check for problems before starting):
|
|
77
|
+
```bash
|
|
78
|
+
memorylink doctor --preflight
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**What this means for you:**
|
|
82
|
+
- The lock tells other AI agents to wait
|
|
83
|
+
- The checkpoint saves your current state so you can go back
|
|
84
|
+
- The preflight check warns you about existing problems
|
|
85
|
+
|
|
86
|
+
### Do Your Work
|
|
87
|
+
|
|
88
|
+
Use Cursor AI (or any AI tool) to make changes to your code.
|
|
89
|
+
|
|
90
|
+
### After AI Work
|
|
91
|
+
|
|
92
|
+
1. **Run postflight check** (check for problems after changes):
|
|
93
|
+
```bash
|
|
94
|
+
memorylink doctor --postflight
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
2. **Review what changed** (see the difference):
|
|
98
|
+
```bash
|
|
99
|
+
memorylink checkpoint diff --name "before-change"
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
3. **Release the lock** (let other agents work):
|
|
103
|
+
```bash
|
|
104
|
+
memorylink lock release
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**What this means for you:**
|
|
108
|
+
- The postflight check tells you if AI introduced any problems
|
|
109
|
+
- The diff shows you exactly what changed
|
|
110
|
+
- Releasing the lock lets your team continue working
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## How to Read Buddy-Check Results
|
|
115
|
+
|
|
116
|
+
Buddy-Check returns one of three status levels. Here's what each means and what you should do:
|
|
117
|
+
|
|
118
|
+
### GREEN Status
|
|
119
|
+
|
|
120
|
+
**What it means:** Nothing risky found. You can continue.
|
|
121
|
+
|
|
122
|
+
**What to do:**
|
|
123
|
+
1. ✅ Review the changes yourself (Buddy-Check doesn't catch everything)
|
|
124
|
+
2. ✅ Proceed with your normal workflow
|
|
125
|
+
3. ✅ Commit and push if everything looks good
|
|
126
|
+
|
|
127
|
+
**Example:**
|
|
128
|
+
```bash
|
|
129
|
+
$ memorylink doctor --postflight
|
|
130
|
+
✅ Status: GREEN
|
|
131
|
+
No issues detected. Safe to proceed.
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
### YELLOW Status
|
|
137
|
+
|
|
138
|
+
**What it means:** Warnings found. Review what changed, but CI may still pass.
|
|
139
|
+
|
|
140
|
+
**What to do:**
|
|
141
|
+
1. ⚠️ Check the warnings in the output
|
|
142
|
+
2. ⚠️ Review the diff to see what changed
|
|
143
|
+
3. ⚠️ Decide if the warnings are acceptable or need fixing
|
|
144
|
+
|
|
145
|
+
**Example:**
|
|
146
|
+
```bash
|
|
147
|
+
$ memorylink doctor --postflight
|
|
148
|
+
⚠️ Status: YELLOW
|
|
149
|
+
Warnings:
|
|
150
|
+
- Large change detected in src/api.ts (200+ lines)
|
|
151
|
+
- Memory entry may be outdated
|
|
152
|
+
|
|
153
|
+
Review changes before proceeding.
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
**Common YELLOW warnings:**
|
|
157
|
+
- Large changes in a single file
|
|
158
|
+
- Memory entries that might be outdated
|
|
159
|
+
- Minor policy warnings
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
### RED Status
|
|
164
|
+
|
|
165
|
+
**What it means:** Serious issue detected. Do not merge. Fix or revert.
|
|
166
|
+
|
|
167
|
+
**What to do:**
|
|
168
|
+
1. 🛑 **Stop** - Do not commit or merge
|
|
169
|
+
2. 🛑 Check the error message to understand what's wrong
|
|
170
|
+
3. 🛑 Either fix the issue or revert using your checkpoint
|
|
171
|
+
|
|
172
|
+
**Example:**
|
|
173
|
+
```bash
|
|
174
|
+
$ memorylink doctor --postflight
|
|
175
|
+
❌ Status: RED
|
|
176
|
+
Critical issues:
|
|
177
|
+
- Secret detected in memory log
|
|
178
|
+
- Protected file modified: src/auth/middleware.ts
|
|
179
|
+
|
|
180
|
+
Action required: Fix issues or revert changes.
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
**Common RED issues:**
|
|
184
|
+
- Secrets or sensitive data detected
|
|
185
|
+
- Protected files modified
|
|
186
|
+
- Critical policy violations
|
|
187
|
+
|
|
188
|
+
**How to revert:**
|
|
189
|
+
```bash
|
|
190
|
+
# See what changed
|
|
191
|
+
memorylink checkpoint diff --name "before-change"
|
|
192
|
+
|
|
193
|
+
# Restore to previous checkpoint
|
|
194
|
+
memorylink checkpoint restore --name "before-change"
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
## How to Check MemoryLink is Working
|
|
200
|
+
|
|
201
|
+
### Check 1: Lock Behavior
|
|
202
|
+
|
|
203
|
+
Test that locks actually prevent conflicts:
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
# Terminal 1
|
|
207
|
+
memorylink lock acquire --agent "test-agent" --files "src/test.ts"
|
|
208
|
+
|
|
209
|
+
# Terminal 2 (try to acquire same lock)
|
|
210
|
+
memorylink lock acquire --agent "other-agent" --files "src/test.ts"
|
|
211
|
+
# => Should see an error that lock is already held
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
**What you should see:** The second lock attempt should be blocked with a clear error message.
|
|
215
|
+
|
|
216
|
+
### Check 2: Secret Detection
|
|
217
|
+
|
|
218
|
+
Test that Buddy-Check detects potential secrets:
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
# Add a fake secret to a test file
|
|
222
|
+
echo "// FAKE_KEY=AKIA1234567890TEST" >> src/fake-secret-test.ts
|
|
223
|
+
memorylink doctor --postflight
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
**What you should see:** Doctor should give at least a YELLOW warning about a possible secret detected.
|
|
227
|
+
|
|
228
|
+
**If both checks work:** MemoryLink is functioning correctly! Locks block conflicts, and Buddy-Check detects risky patterns.
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
## Real-World Examples
|
|
233
|
+
|
|
234
|
+
### Example 1: Protecting Auth During AI Refactor
|
|
235
|
+
|
|
236
|
+
**Problem:** You ask Cursor to "clean up auth code" and it accidentally removes a critical check. Without MemoryLink, you might only notice after deploy.
|
|
237
|
+
|
|
238
|
+
**Solution with MemoryLink:**
|
|
239
|
+
- Protect `src/auth/` once
|
|
240
|
+
- Create checkpoint before refactor
|
|
241
|
+
- Run Buddy-Check after changes
|
|
242
|
+
- Use checkpoint diff to see exactly what changed
|
|
243
|
+
- Rollback if needed
|
|
244
|
+
|
|
245
|
+
See full workflow in README.md Example Scenarios section.
|
|
246
|
+
|
|
247
|
+
### Example 2: Two Agents, One Repo
|
|
248
|
+
|
|
249
|
+
**Problem:** Cursor and Claude both edit the same file at the same time. Without MemoryLink, one change silently overwrites the other.
|
|
250
|
+
|
|
251
|
+
**Solution with MemoryLink:**
|
|
252
|
+
- Agent 1 acquires lock before editing
|
|
253
|
+
- Agent 2 is blocked until lock is released
|
|
254
|
+
- No silent overwrites or conflicts
|
|
255
|
+
|
|
256
|
+
See full workflow in README.md Example Scenarios section.
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## How MemoryLink Works in a Team
|
|
261
|
+
|
|
262
|
+
MemoryLink is designed for **team collaboration** with shared memory across multiple developers and AI tools.
|
|
263
|
+
|
|
264
|
+
### Per-Repo, Shared Memory
|
|
265
|
+
|
|
266
|
+
MemoryLink stores its logs in `.memorylink/` inside your Git repository. This means:
|
|
267
|
+
|
|
268
|
+
- **When teammates pull the repo**, they can access the same shared memory (if `.memorylink/` files are committed)
|
|
269
|
+
- **Any AI/agent** integrated with that repo (Cursor, Claude, VS Code, CI bots) can read from the same `.memorylink/` state
|
|
270
|
+
- **One project brain per repo** - all tools and developers share the same context
|
|
271
|
+
|
|
272
|
+
### How to Share Memory
|
|
273
|
+
|
|
274
|
+
MemoryLink supports two patterns for memory sharing:
|
|
275
|
+
|
|
276
|
+
#### 1. Shared Team Memory (Committed Logs)
|
|
277
|
+
|
|
278
|
+
**Best for:** Long-term learnings, decisions, conventions, and project knowledge
|
|
279
|
+
|
|
280
|
+
**What to commit:**
|
|
281
|
+
```bash
|
|
282
|
+
# Commit selected .memorylink/ files for team sharing
|
|
283
|
+
git add .memorylink/memory.log .memorylink/rules.md .memorylink/protected.txt
|
|
284
|
+
git commit -m "Add team learnings and conventions"
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
**What this enables:**
|
|
288
|
+
- ✅ Everyone sees the same history, conventions, and learnings
|
|
289
|
+
- ✅ New team members get context immediately
|
|
290
|
+
- ✅ AI tools (Cursor, Claude, etc.) have access to team knowledge
|
|
291
|
+
- ✅ Decisions and patterns are preserved across the team
|
|
292
|
+
|
|
293
|
+
**Example:**
|
|
294
|
+
- Dev A logs: "We always use Redis for sessions in this project"
|
|
295
|
+
- Dev B's Cursor AI sees this when working on session code
|
|
296
|
+
- Result: Consistent patterns across the team
|
|
297
|
+
|
|
298
|
+
#### 2. Local Private Memory
|
|
299
|
+
|
|
300
|
+
**Best for:** Sensitive logs, noisy runtime data, personal notes
|
|
301
|
+
|
|
302
|
+
**What stays local:**
|
|
303
|
+
```bash
|
|
304
|
+
# .gitignore already excludes these by default
|
|
305
|
+
.memorylink/*.log
|
|
306
|
+
.memorylink/telemetry.log
|
|
307
|
+
.memorylink/observability.log
|
|
308
|
+
.memorylink/changes.log
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
**What this enables:**
|
|
312
|
+
- ✅ Developers keep their own local logs that are not pushed
|
|
313
|
+
- ✅ Sensitive or noisy runtime logs stay private
|
|
314
|
+
- ✅ Personal notes and experiments remain local
|
|
315
|
+
|
|
316
|
+
### Multi-Agent & Multi-Tool Behavior
|
|
317
|
+
|
|
318
|
+
Multiple tools can all use the **same MemoryLink protocol**:
|
|
319
|
+
|
|
320
|
+
- **Same `.memorylink/` structure** - all tools read/write to the same files
|
|
321
|
+
- **Same workflow pattern** - `lock → checkpoint → doctor → diff → release`
|
|
322
|
+
- **No manual sync needed** - tools automatically share memory through Git
|
|
323
|
+
|
|
324
|
+
**Supported tools:**
|
|
325
|
+
- Cursor AI
|
|
326
|
+
- VS Code (with extensions)
|
|
327
|
+
- Claude (via CLI)
|
|
328
|
+
- GitHub Actions / CI bots
|
|
329
|
+
- Custom automation scripts
|
|
330
|
+
|
|
331
|
+
### Real Example: Team Knowledge Sharing
|
|
332
|
+
|
|
333
|
+
**Scenario:**
|
|
334
|
+
1. **Dev A** uses Cursor with MemoryLink and logs a learning: "Auth bug fixed: always check X before Y."
|
|
335
|
+
2. Dev A commits `.memorylink/memory.log` to the repo.
|
|
336
|
+
3. **Dev B** later uses Gemini Studio on the same repo.
|
|
337
|
+
4. MemoryLink gives that learning to Gemini too (through the same `.memorylink/` files).
|
|
338
|
+
5. **Result:** Tools share knowledge; team doesn't repeat the same mistakes.
|
|
339
|
+
|
|
340
|
+
**Benefits:**
|
|
341
|
+
- ✅ Knowledge persists across team members
|
|
342
|
+
- ✅ AI tools learn from each other's work
|
|
343
|
+
- ✅ No need to manually document patterns
|
|
344
|
+
- ✅ Context is automatically available to all tools
|
|
345
|
+
|
|
346
|
+
### Best Practices for Team Sharing
|
|
347
|
+
|
|
348
|
+
1. **Commit important learnings:**
|
|
349
|
+
- Long-term decisions and conventions
|
|
350
|
+
- Common patterns and anti-patterns
|
|
351
|
+
- Project-specific rules and guidelines
|
|
352
|
+
|
|
353
|
+
2. **Keep runtime logs local:**
|
|
354
|
+
- Don't commit noisy logs (changes.log, observability.log)
|
|
355
|
+
- Keep personal notes and experiments local
|
|
356
|
+
- Use `.gitignore` to exclude sensitive data
|
|
357
|
+
|
|
358
|
+
3. **Use locks for coordination:**
|
|
359
|
+
- Always acquire locks when multiple agents work on the same files
|
|
360
|
+
- Check lock status before making changes
|
|
361
|
+
- Release locks when done
|
|
362
|
+
|
|
363
|
+
4. **Share checkpoints for rollback:**
|
|
364
|
+
- Create checkpoints before major changes
|
|
365
|
+
- Commit checkpoint metadata (not full logs)
|
|
366
|
+
- Enable team rollback capability
|
|
367
|
+
|
|
368
|
+
---
|
|
369
|
+
|
|
370
|
+
## Common Problems and How to Handle Them
|
|
371
|
+
|
|
372
|
+
### Problem: "I installed MemoryLink but I don't feel it doing anything"
|
|
373
|
+
|
|
374
|
+
**What to check:**
|
|
375
|
+
|
|
376
|
+
1. **Ensure you ran init:**
|
|
377
|
+
```bash
|
|
378
|
+
memorylink init
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
2. **Protect at least a few files:**
|
|
382
|
+
```bash
|
|
383
|
+
memorylink protect .env
|
|
384
|
+
memorylink protect src/auth/
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
3. **Run one full cycle:**
|
|
388
|
+
```bash
|
|
389
|
+
memorylink lock acquire --agent "cursor"
|
|
390
|
+
memorylink checkpoint create --name "test-run"
|
|
391
|
+
memorylink doctor --preflight
|
|
392
|
+
# Change a file, add a fake secret
|
|
393
|
+
echo "// TEST_SECRET=sk_test_123" >> src/test.ts
|
|
394
|
+
memorylink doctor --postflight
|
|
395
|
+
memorylink lock release
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
4. **Verify it's working:**
|
|
399
|
+
- You should see lock status when checking
|
|
400
|
+
- You should see a warning about the fake secret
|
|
401
|
+
- If you see lock errors and secret warnings, MemoryLink is working!
|
|
402
|
+
|
|
403
|
+
---
|
|
404
|
+
|
|
405
|
+
### Problem: Buddy-Check Returns RED
|
|
406
|
+
|
|
407
|
+
**What to check:**
|
|
408
|
+
1. Look at the error message - it tells you what's wrong
|
|
409
|
+
2. Check if secrets were accidentally added to memory
|
|
410
|
+
3. Check if protected files were modified
|
|
411
|
+
4. Review the diff to see what changed
|
|
412
|
+
|
|
413
|
+
**How to fix:**
|
|
414
|
+
1. **If secrets detected:**
|
|
415
|
+
- Remove the secret from your memory entry
|
|
416
|
+
- Use a reference instead (e.g., "API key stored in .env")
|
|
417
|
+
- Re-run the check
|
|
418
|
+
|
|
419
|
+
2. **If protected file modified:**
|
|
420
|
+
- Review the changes carefully
|
|
421
|
+
- If intentional, you may need to update your protected file list
|
|
422
|
+
- If accidental, revert the changes
|
|
423
|
+
|
|
424
|
+
3. **If you need to revert:**
|
|
425
|
+
```bash
|
|
426
|
+
memorylink checkpoint restore --name "before-change"
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
---
|
|
430
|
+
|
|
431
|
+
### Problem: Lock is Already Held
|
|
432
|
+
|
|
433
|
+
**What this means:** Another agent (or you in another terminal) is already working on the same files.
|
|
434
|
+
|
|
435
|
+
**How to see who holds it:**
|
|
436
|
+
```bash
|
|
437
|
+
memorylink lock status
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
**Output example:**
|
|
441
|
+
```
|
|
442
|
+
Lock Status:
|
|
443
|
+
- Holder: cursor
|
|
444
|
+
- Expires: 2025-12-20 15:30:00
|
|
445
|
+
- Files: src/api.ts, src/utils.ts
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
**What to do:**
|
|
449
|
+
1. **Wait** - The lock will expire automatically (default: 30 minutes)
|
|
450
|
+
2. **Contact the holder** - If it's a teammate, ask them to release it
|
|
451
|
+
3. **Release manually** (if you're the holder):
|
|
452
|
+
```bash
|
|
453
|
+
memorylink lock release
|
|
454
|
+
```
|
|
455
|
+
4. **Renew the lock** (if you need more time):
|
|
456
|
+
```bash
|
|
457
|
+
memorylink lock renew
|
|
458
|
+
```
|
|
459
|
+
|
|
460
|
+
---
|
|
461
|
+
|
|
462
|
+
### Problem: Checkpoint Diff is Too Big
|
|
463
|
+
|
|
464
|
+
**What this means:** Too many changes to review easily.
|
|
465
|
+
|
|
466
|
+
**What to do:**
|
|
467
|
+
1. **Create more frequent checkpoints:**
|
|
468
|
+
```bash
|
|
469
|
+
# Before each major change
|
|
470
|
+
memorylink checkpoint create --name "before-feature-x"
|
|
471
|
+
memorylink checkpoint create --name "before-feature-y"
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
2. **Narrow your scope:**
|
|
475
|
+
- Work on smaller features
|
|
476
|
+
- Create checkpoints after each logical step
|
|
477
|
+
|
|
478
|
+
3. **Use Git diff for code changes:**
|
|
479
|
+
```bash
|
|
480
|
+
git diff
|
|
481
|
+
# Use MemoryLink checkpoints for memory changes
|
|
482
|
+
memorylink checkpoint diff --name "before-change"
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
---
|
|
486
|
+
|
|
487
|
+
### Problem: CI Fails on RED Status
|
|
488
|
+
|
|
489
|
+
**What this means:** Your GitHub Actions workflow detected a RED status and failed the build.
|
|
490
|
+
|
|
491
|
+
**How to see the report:**
|
|
492
|
+
1. Go to your GitHub repository
|
|
493
|
+
2. Click on the failed workflow run
|
|
494
|
+
3. Look for the "Buddy-Check" step
|
|
495
|
+
4. Download the artifact (if configured) to see the full report
|
|
496
|
+
|
|
497
|
+
**What to do:**
|
|
498
|
+
1. **Check the workflow logs** for the error message
|
|
499
|
+
2. **Fix the issue locally:**
|
|
500
|
+
```bash
|
|
501
|
+
memorylink doctor --postflight
|
|
502
|
+
# Fix any RED issues
|
|
503
|
+
```
|
|
504
|
+
3. **Re-run the check:**
|
|
505
|
+
```bash
|
|
506
|
+
memorylink doctor --postflight
|
|
507
|
+
```
|
|
508
|
+
4. **Push your fix** and the CI should pass
|
|
509
|
+
|
|
510
|
+
**Example GitHub Actions output:**
|
|
511
|
+
```
|
|
512
|
+
❌ Critical issues detected - failing build
|
|
513
|
+
Status: RED
|
|
514
|
+
Issues:
|
|
515
|
+
- Secret detected in memory log
|
|
516
|
+
```
|
|
517
|
+
|
|
518
|
+
---
|
|
519
|
+
|
|
520
|
+
### Problem: Can't Find a Checkpoint
|
|
521
|
+
|
|
522
|
+
**What this means:** The checkpoint name doesn't exist.
|
|
523
|
+
|
|
524
|
+
**How to see available checkpoints:**
|
|
525
|
+
```bash
|
|
526
|
+
memorylink checkpoint list
|
|
527
|
+
```
|
|
528
|
+
|
|
529
|
+
**Output example:**
|
|
530
|
+
```
|
|
531
|
+
Available checkpoints:
|
|
532
|
+
- before-feature (2025-12-20 10:00:00)
|
|
533
|
+
- before-refactor (2025-12-20 09:00:00)
|
|
534
|
+
- initial-state (2025-12-20 08:00:00)
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
**What to do:**
|
|
538
|
+
1. Use the exact checkpoint name from the list
|
|
539
|
+
2. Check spelling and capitalization
|
|
540
|
+
3. Use a different checkpoint if the one you want doesn't exist
|
|
541
|
+
|
|
542
|
+
---
|
|
543
|
+
|
|
544
|
+
### Problem: MemoryLink Command Not Found
|
|
545
|
+
|
|
546
|
+
**What this means:** MemoryLink is not installed or not in your PATH.
|
|
547
|
+
|
|
548
|
+
**How to fix:**
|
|
549
|
+
1. **Install MemoryLink:**
|
|
550
|
+
```bash
|
|
551
|
+
npm install -g memorylink
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
2. **Verify installation:**
|
|
555
|
+
```bash
|
|
556
|
+
memorylink --version
|
|
557
|
+
# Should show: 1.0.0
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
3. **If still not found:**
|
|
561
|
+
- Check your Node.js version (needs 18+)
|
|
562
|
+
- Restart your terminal
|
|
563
|
+
- Check npm global bin path: `npm config get prefix`
|
|
564
|
+
|
|
565
|
+
---
|
|
566
|
+
|
|
567
|
+
### Problem: "Not Initialized" Error
|
|
568
|
+
|
|
569
|
+
**What this means:** MemoryLink hasn't been set up in your project.
|
|
570
|
+
|
|
571
|
+
**How to fix:**
|
|
572
|
+
```bash
|
|
573
|
+
memorylink init
|
|
574
|
+
```
|
|
575
|
+
|
|
576
|
+
This creates the `.memorylink/` directory with configuration files.
|
|
577
|
+
|
|
578
|
+
---
|
|
579
|
+
|
|
580
|
+
## Best Practices for Safe Use
|
|
581
|
+
|
|
582
|
+
Follow these practices to get the most out of MemoryLink:
|
|
583
|
+
|
|
584
|
+
### 1. Always Create Checkpoints Before Large Changes
|
|
585
|
+
|
|
586
|
+
**Before:**
|
|
587
|
+
- Large refactors
|
|
588
|
+
- Deleting files
|
|
589
|
+
- Modifying protected files
|
|
590
|
+
- Major feature additions
|
|
591
|
+
|
|
592
|
+
**Example:**
|
|
593
|
+
```bash
|
|
594
|
+
memorylink checkpoint create --name "before-big-refactor"
|
|
595
|
+
# ... make changes ...
|
|
596
|
+
memorylink checkpoint diff --name "before-big-refactor"
|
|
597
|
+
```
|
|
598
|
+
|
|
599
|
+
---
|
|
600
|
+
|
|
601
|
+
### 2. Always Use Locks When Multiple Agents Work on Same Repo
|
|
602
|
+
|
|
603
|
+
**When to use:**
|
|
604
|
+
- Multiple AI tools (Cursor, Claude, etc.)
|
|
605
|
+
- Multiple developers
|
|
606
|
+
- CI/CD pipelines making changes
|
|
607
|
+
|
|
608
|
+
**Example:**
|
|
609
|
+
```bash
|
|
610
|
+
memorylink lock acquire --agent "cursor" --files "src/api.ts"
|
|
611
|
+
# ... make changes ...
|
|
612
|
+
memorylink lock release
|
|
613
|
+
```
|
|
614
|
+
|
|
615
|
+
---
|
|
616
|
+
|
|
617
|
+
### 3. Configure Protected Files
|
|
618
|
+
|
|
619
|
+
**What to protect:**
|
|
620
|
+
- Environment files (`.env`, `.env.production`)
|
|
621
|
+
- Authentication code (`src/auth/`, `auth/`)
|
|
622
|
+
- Database migrations (`migrations/`)
|
|
623
|
+
- Production config files
|
|
624
|
+
|
|
625
|
+
**How to protect:**
|
|
626
|
+
```bash
|
|
627
|
+
memorylink protect .env
|
|
628
|
+
memorylink protect src/auth/
|
|
629
|
+
memorylink protect migrations/
|
|
630
|
+
```
|
|
631
|
+
|
|
632
|
+
---
|
|
633
|
+
|
|
634
|
+
### 4. Run Buddy-Check in CI on Pull Requests
|
|
635
|
+
|
|
636
|
+
**Why:** Catch problems before they reach main branch.
|
|
637
|
+
|
|
638
|
+
**Example GitHub Actions:**
|
|
639
|
+
```yaml
|
|
640
|
+
- name: Run Buddy-Check
|
|
641
|
+
run: |
|
|
642
|
+
memorylink doctor --preflight --json > preflight.json
|
|
643
|
+
if grep -q '"status": "RED"' preflight.json; then
|
|
644
|
+
exit 1
|
|
645
|
+
fi
|
|
646
|
+
```
|
|
647
|
+
|
|
648
|
+
**Best practices:**
|
|
649
|
+
- Run on every PR
|
|
650
|
+
- Fail on RED status
|
|
651
|
+
- Upload reports as artifacts
|
|
652
|
+
- Use least-privilege permissions
|
|
653
|
+
|
|
654
|
+
---
|
|
655
|
+
|
|
656
|
+
### 5. Monitor Stats Regularly
|
|
657
|
+
|
|
658
|
+
**Check your Buddy-Check metrics:**
|
|
659
|
+
```bash
|
|
660
|
+
memorylink stats
|
|
661
|
+
memorylink stats --since 7d
|
|
662
|
+
```
|
|
663
|
+
|
|
664
|
+
**What to look for:**
|
|
665
|
+
- High number of YELLOW warnings (may need review)
|
|
666
|
+
- RED status frequency (may need better protection)
|
|
667
|
+
- Lock conflicts (may need better coordination)
|
|
668
|
+
|
|
669
|
+
---
|
|
670
|
+
|
|
671
|
+
### 6. Review Buddy-Check Reports
|
|
672
|
+
|
|
673
|
+
**After each check:**
|
|
674
|
+
- Read the status (GREEN/YELLOW/RED)
|
|
675
|
+
- Review warnings and errors
|
|
676
|
+
- Check the diff if needed
|
|
677
|
+
- Fix issues before proceeding
|
|
678
|
+
|
|
679
|
+
---
|
|
680
|
+
|
|
681
|
+
## When to Ask for Help / Open an Issue
|
|
682
|
+
|
|
683
|
+
### Open an Issue If:
|
|
684
|
+
|
|
685
|
+
1. **MemoryLink crashes:**
|
|
686
|
+
- Include the error message
|
|
687
|
+
- Include your Node.js version (`node --version`)
|
|
688
|
+
- Include your OS
|
|
689
|
+
|
|
690
|
+
2. **RED status but you don't understand why:**
|
|
691
|
+
- Include the full output of `memorylink doctor --postflight`
|
|
692
|
+
- Describe what you were trying to do
|
|
693
|
+
- **Do NOT include secrets or sensitive data**
|
|
694
|
+
|
|
695
|
+
3. **You think a serious issue was missed (false negative):**
|
|
696
|
+
- Describe what happened
|
|
697
|
+
- Include relevant file paths (but not file contents)
|
|
698
|
+
- Explain why you expected it to be caught
|
|
699
|
+
|
|
700
|
+
4. **Feature request:**
|
|
701
|
+
- Describe what you want to do
|
|
702
|
+
- Explain why current features don't work
|
|
703
|
+
- Suggest how it might work
|
|
704
|
+
|
|
705
|
+
### What to Include in Issues:
|
|
706
|
+
|
|
707
|
+
- **Description:** What happened or what you want
|
|
708
|
+
- **Steps to reproduce:** How to recreate the issue
|
|
709
|
+
- **Expected behavior:** What you expected to happen
|
|
710
|
+
- **Actual behavior:** What actually happened
|
|
711
|
+
- **Environment:** OS, Node.js version, MemoryLink version
|
|
712
|
+
- **Relevant output:** Command output (no secrets)
|
|
713
|
+
|
|
714
|
+
### What NOT to Include:
|
|
715
|
+
|
|
716
|
+
- ❌ Secrets, API keys, passwords
|
|
717
|
+
- ❌ Full file contents (use snippets if needed)
|
|
718
|
+
- ❌ Personal information
|
|
719
|
+
- ❌ Internal company information
|
|
720
|
+
|
|
721
|
+
### Where to Get Help:
|
|
722
|
+
|
|
723
|
+
- **GitHub Issues:** [memorylink/memorylink/issues](https://github.com/memorylink/memorylink/issues)
|
|
724
|
+
- **Documentation:** See `README.md`, `SECURITY_MODEL.md`, `ROADMAP_v1.6.md`
|
|
725
|
+
- **Release Notes:** See `RELEASE_NOTES_v1.0.0.md`
|
|
726
|
+
|
|
727
|
+
---
|
|
728
|
+
|
|
729
|
+
## Quick Reference
|
|
730
|
+
|
|
731
|
+
### Essential Commands
|
|
732
|
+
|
|
733
|
+
```bash
|
|
734
|
+
# Setup
|
|
735
|
+
memorylink init
|
|
736
|
+
memorylink protect <file>
|
|
737
|
+
|
|
738
|
+
# Daily workflow
|
|
739
|
+
memorylink lock acquire --agent "cursor"
|
|
740
|
+
memorylink checkpoint create --name "before-change"
|
|
741
|
+
memorylink doctor --preflight
|
|
742
|
+
# ... make changes ...
|
|
743
|
+
memorylink doctor --postflight
|
|
744
|
+
memorylink checkpoint diff --name "before-change"
|
|
745
|
+
memorylink lock release
|
|
746
|
+
|
|
747
|
+
# Troubleshooting
|
|
748
|
+
memorylink lock status
|
|
749
|
+
memorylink checkpoint list
|
|
750
|
+
memorylink stats
|
|
751
|
+
```
|
|
752
|
+
|
|
753
|
+
### Status Meanings
|
|
754
|
+
|
|
755
|
+
- **GREEN:** Safe to proceed
|
|
756
|
+
- **YELLOW:** Review warnings, then proceed
|
|
757
|
+
- **RED:** Stop, fix issues, or revert
|
|
758
|
+
|
|
759
|
+
### Common Workflows
|
|
760
|
+
|
|
761
|
+
**Starting work:**
|
|
762
|
+
```bash
|
|
763
|
+
memorylink lock acquire --agent "cursor"
|
|
764
|
+
memorylink checkpoint create --name "before-change"
|
|
765
|
+
memorylink doctor --preflight
|
|
766
|
+
```
|
|
767
|
+
|
|
768
|
+
**Finishing work:**
|
|
769
|
+
```bash
|
|
770
|
+
memorylink doctor --postflight
|
|
771
|
+
memorylink checkpoint diff --name "before-change"
|
|
772
|
+
memorylink lock release
|
|
773
|
+
```
|
|
774
|
+
|
|
775
|
+
**Recovering from problems:**
|
|
776
|
+
```bash
|
|
777
|
+
memorylink checkpoint list
|
|
778
|
+
memorylink checkpoint diff --name "before-change"
|
|
779
|
+
memorylink checkpoint restore --name "before-change"
|
|
780
|
+
```
|
|
781
|
+
|
|
782
|
+
---
|
|
783
|
+
|
|
784
|
+
## Summary
|
|
785
|
+
|
|
786
|
+
MemoryLink helps you work safely with AI coding assistants by:
|
|
787
|
+
|
|
788
|
+
1. **Protecting important files** from accidental changes
|
|
789
|
+
2. **Coordinating multiple agents** to prevent conflicts
|
|
790
|
+
3. **Creating checkpoints** for safe rollback
|
|
791
|
+
4. **Checking for problems** before and after AI work
|
|
792
|
+
5. **Sharing context** across different AI tools
|
|
793
|
+
|
|
794
|
+
**Remember:**
|
|
795
|
+
- Always create checkpoints before large changes
|
|
796
|
+
- Always use locks when multiple agents work on the same repo
|
|
797
|
+
- Always run Buddy-Check before and after AI work
|
|
798
|
+
- Always review RED status before proceeding
|
|
799
|
+
- Always configure protected files appropriately
|
|
800
|
+
|
|
801
|
+
**For more information:**
|
|
802
|
+
- See `README.md` for overview and installation
|
|
803
|
+
- See `SECURITY_MODEL.md` for safety details
|
|
804
|
+
- See `ROADMAP_v1.6.md` for future features
|
|
805
|
+
|
|
806
|
+
---
|
|
807
|
+
|
|
808
|
+
**MemoryLink v1.0.0** - User Guide
|
|
809
|
+
|