Problem
Tutorial uses Astrocyte methods that need verification against actual implementation.
Affected Files
Documentation: /home/matthias/projects/synapse/docs/getting-started/first-app.md (lines 254-259)
Source Code: /home/matthias/projects/synapse/src/glial/Astrocyte.ts
Issue Details
Severity: MEDIUM
Impact: Tutorial code may fail at runtime with "method not found" errors
Methods Requiring Verification
public getStats() {
return {
totalUsers: this.userStore.getKeysByPattern('user:*').length, // Verify this method exists
activeSessions: this.sessionStore.getKeysByPattern('session:*').length, // Verify this method exists
userStoreStats: this.userStore.getStatistics(), // Verify this method exists
sessionStoreStats: this.sessionStore.getStatistics(), // Verify this method exists
};
}
Tasks
- Check if
Astrocyte.getKeysByPattern() exists in source code
- Check if
Astrocyte.getStatistics() exists in source code
- If methods don't exist, find correct method names
- Update tutorial with correct API calls
Priority
MEDIUM - Code verification needed to ensure tutorial accuracy
References
User Story
As a developer following the tutorial, I want method calls to match actual implementation, so that my code runs without method-not-found errors.
Acceptance Criteria
Problem
Tutorial uses Astrocyte methods that need verification against actual implementation.
Affected Files
Documentation:
/home/matthias/projects/synapse/docs/getting-started/first-app.md(lines 254-259)Source Code:
/home/matthias/projects/synapse/src/glial/Astrocyte.tsIssue Details
Severity: MEDIUM
Impact: Tutorial code may fail at runtime with "method not found" errors
Methods Requiring Verification
Tasks
Astrocyte.getKeysByPattern()exists in source codeAstrocyte.getStatistics()exists in source codePriority
MEDIUM - Code verification needed to ensure tutorial accuracy
References
/home/matthias/projects/synapse/DOCUMENTATION_ISSUE_LOG.md(Issue chore(deps-dev): Bump @typescript-eslint/parser from 7.18.0 to 8.46.3 #7)/home/matthias/projects/synapse/DOCUMENTATION_FIXES_NEEDED.md(FIX-6)User Story
As a developer following the tutorial, I want method calls to match actual implementation, so that my code runs without method-not-found errors.
Acceptance Criteria