Skip to content

Feature/Project memory and symbol retrieval hardening#287

Merged
ai21z merged 4 commits into
v0.9.0-beta-devfrom
feature/t708-project-memory-analysis
Jun 7, 2026
Merged

Feature/Project memory and symbol retrieval hardening#287
ai21z merged 4 commits into
v0.9.0-beta-devfrom
feature/t708-project-memory-analysis

Conversation

@ai21z

@ai21z ai21z commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Summary

Implements the T708-T716 batch:

  • adds visible hierarchical project memory with policy gating, prompt-debug visibility, and user override hardening
  • hardens conversation compaction and memory-retention accounting
  • adds structure-first symbol retrieval with symbol sidecar indexing, safety/freshness tests, and sidecar recovery
  • updates retrieval wording so symbol evidence is described as signature matches, not full exact code evidence
  • closes T708, T710, T712, T713, T714, T715, and T716 in the ticket track, while leaving T717 open/deferred

Validation

  • git diff --cached --check
  • .\gradlew.bat check --no-daemon

Both passed before commit. Full check also passed after the final T716 cleanup.

Notes

This is an inner-loop infrastructure batch, not a release candidate. No version bump or live audit is included.

Vissarion Zounarakis added 4 commits June 7, 2026 02:05
Adds visible project memory, compaction accounting, structure-first symbol retrieval, symbol sidecar recovery, and ticket-track updates for T708-T716.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b73301fc7d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

String text = parseIndexableText(rootPath, p);
stats.addParseTime(System.currentTimeMillis() - parseStart);
stats.incrementFilesEmbedded();
refreshedSymbolsByPath.put(rel, SymbolExtractor.extract(rel, text));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Populate symbol sidecars for unchanged files

When a user runs the normal /reindex or talos index path after upgrading from an index that has Lucene chunks but no talos-symbols.json, unchanged files hit the existing store.isUpToDate(...) early return before this map is populated. Because existingSymbolsByPath is empty in that migration case, writeMergedSymbolIndex(...) later writes an empty sidecar even though all code files are already indexed, so exact symbol retrieval stays disabled until the user knows to force a full reindex.

Useful? React with 👍 / 👎.

Comment on lines +22 to +23
"\\b(?:(?:public|protected|private|static|final|synchronized|abstract|native|default|strictfp)\\s+)+"
+ "[A-Za-z_$][A-Za-z0-9_$<>\\[\\],.?\\s]*\\s+([A-Za-z_$][A-Za-z0-9_$]*)\\s*\\([^;{}]*\\)");

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Index package-private Java methods

This method pattern requires at least one modifier before the return type, so package-private declarations such as String buildSetlist() or void helper() are never added to the symbol sidecar. In Java workspaces that use package-private helpers, exact queries for those method names will not get the new structure-first symbol evidence and will silently fall back to less precise snippet retrieval.

Useful? React with 👍 / 👎.

@ai21z ai21z merged commit 8eb5f96 into v0.9.0-beta-dev Jun 7, 2026
1 check passed
@ai21z ai21z deleted the feature/t708-project-memory-analysis branch June 7, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant