Skip to content

Feat/plan id allocation fix - #9

Merged
caesar0301 merged 4 commits into
mainfrom
feat/plan-id-allocation-fix
Jul 12, 2026
Merged

Feat/plan id allocation fix#9
caesar0301 merged 4 commits into
mainfrom
feat/plan-id-allocation-fix

Conversation

@caesar0301

Copy link
Copy Markdown
Collaborator

No description provided.

caesar0301 and others added 4 commits July 12, 2026 09:34
Replace the 4096-attempt random sampler with full 3-char search, normalize
prior scoped step ids before replanning, and expand plan ids to uppercase
letters plus digits to avoid resolve_decision allocation failures.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace exhaustive A-Z0-9 search with a random 3-letter plan scope id and
strip prior plan prefixes only for ids already used in the loop, avoiding
false matches on planner step ids like ASK-01.

Co-authored-by: Cursor <cursoragent@cursor.com>
Bring the workflow validator in line with ruff format/check so the
code-quality job passes when the PR merges against main.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the ruff-formatted version so code-quality lint passes after merge.

Co-authored-by: Cursor <cursoragent@cursor.com>
@caesar0301
caesar0301 merged commit 636ed79 into main Jul 12, 2026
4 checks passed
@caesar0301
caesar0301 deleted the feat/plan-id-allocation-fix branch July 12, 2026 04:12
caesar0301 added a commit that referenced this pull request Jul 13, 2026
* fix: harden plan id allocation with A-Z0-9 scoping and exhaustive search

Replace the 4096-attempt random sampler with full 3-char search, normalize
prior scoped step ids before replanning, and expand plan ids to uppercase
letters plus digits to avoid resolve_decision allocation failures.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix: simplify plan id generation to random uppercase letters

Replace exhaustive A-Z0-9 search with a random 3-letter plan scope id and
strip prior plan prefixes only for ids already used in the loop, avoiding
false matches on planner step ids like ASK-01.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix: format scripts/validate_workflow.py for CI lint

Bring the workflow validator in line with ruff format/check so the
code-quality job passes when the PR merges against main.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
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