Skip to content

improvements when single branch uses multiple projects #682

Closed as not planned

Description

@moblizeit

see if gstack can be improved when a single branch host multiple products as we do.

LOGS::::::

when i started plan-eng-review skill i got message "That design doc is for Entropy Chess, not Memory Log. Not relevant here. Let me investigate the two Android issues directly."

why that happened? why it did not find design doc for memorylog?

Find DESIGN.md references
Find DESIGN.md references

Good question. The agent found the root cause.

Short answer: The /plan-eng-review skill doesn't know which product you're in. It only knows the monorepo name and the git branch. So when it looked for a cached design doc, it grabbed the most recent one for production branch across the entire monorepo, which happened to be an Entropy Chess design doc from a previous session.

The mechanism:

The skill locates design docs like this:

SLUG=moblizeit-code-repo # monorepo-level, not product-level
BRANCH=production
ls -t ~/.gstack/projects/$SLUG/-$BRANCH-design-.md | head -1

It found ~/.gstack/projects/moblizeit-code-repo/moblizeit-production-design-20260328-085239.md, which was an Entropy Chess admin dashboard design doc from a previous session. Since all your products share the same repo and the same production branch, the skill can't tell them apart.

What it should have done: Read the local products/memorylog/DESIGN.md that's right there in the product directory. But the skill only checks ~/.gstack/projects/ for design docs generated by /office-hours, not the product's own DESIGN.md file.

Why it didn't break anything: The skill correctly detected the mismatch ("That design doc is for Entropy Chess, not Memory Log") and ignored it. So it recovered gracefully, but the initial confusion is real.

The fix would be in gstack itself... the slug system needs to be product-aware in monorepos. Either index design docs by {slug}-{product} instead of just {slug}, or fall back to reading the local DESIGN.md from the current working directory. That's a gstack bug, not a project bug.

Activity

  1. time-attack commented on Jul 15, 2026

    @time-attack
    Contributor

    @16francej — recommend closing this issue as a duplicate of #1125. This is the one-repository, multiple-products side of the same identity problem, and a separate issue would split the writer and reader contract. Preserve the Memory Log versus Entropy Chess example as the required split-identity acceptance case in #1125.

  2. capy-ai commented on Oct 4, 2026

    @capy-ai
    Contributor

    Duplicate of #1125, which is closed (project identity was reworked in v1.91.13.0). Please reopen with details if you still see this on the latest gstack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions