Skip to content

Ar/260713 improved agentic system - #109

Merged
Foxfire1st merged 27 commits into
mainfrom
ar/260713_improved-agentic-system
Sep 16, 2026
Merged

Foxfire1st merged 27 commits into
mainfrom
ar/260713_improved-agentic-system

Conversation

@Foxfire1st

Copy link
Copy Markdown
Owner

No description provided.

3b552f5 added `abandoned` to FrontierState without regenerating
dashboard/src/types/projection.{ts,schema.json}, so the pre-commit generated-projection
check failed on every commit made after it -- and regenerating alone was not enough,
because the sprint-graph frontier recipe had no variant for the new state and the
dashboard typecheck then failed on it. The recipe takes the dormant tone, which is how
the dashboard renders an abandoned thing everywhere else (grammar/Dot.tsx:77).

Projection produced by the sanctioned generator:
  PYTHONPATH=mcp/src python scripts/sync-projection-types.py
The child-admission seal refused new and reopened leaves whenever any lifecycle cell left
its default. That was a fair reading of "closeout has begun" while the integration
vocabulary held only not-started/completed/blocked, but `checkpointed` joined it on
2026-09-12, and from then on every checkpoint landing silently sealed its own master:
worktree_checkpoint_landing retires nothing and keeps the enclosure "for the work that
continues", yet the master could never admit another leaf again. The guard's own test
file had been deleted on 2026-08-24, so nothing caught it.

Closeout is the only thing that closes a child set, so closeout is the only thing that
decides now, and the module is gone with all four call sites. The integration cell stays
in the refusal message as evidence, so an operator can still tell a master that closed
out from one that merely landed a line.

worktree_pause had the matching defect: a master holding no selection is already in the
state a release produces -- it is the ordinary state of a master between landings -- and
refusing it failed an intent the caller had just satisfied. It now reports
atomic-series-already-vacant, paused, publishing nothing, with the same stop next step.
An unreadable record and a record naming another master are still refused, because
neither proves the master is inactive.

mcp/tests/test_lifecycle_playthrough_end_to_end.py plays the whole lifecycle in order --
start, close out, integrate, checkpoint, pause, resume, and a leaf started after the
landing -- because no single-boundary case could have seen either defect. It failed on
its first run, at the pause.
The ledger is derived state and its rebuild is the authority, so a row the rebuild
cannot resolve is a reported exclusion -- ledger_projection already publishes
sourceRowsExcluded and sourceExcludedReasons for it. The sync transaction kept a
second copy of that judgement: a descendant or merged memory.md had to carry every
row its source did.

Measured on this master: thirteen rows (eleven stale duplicates whose code commits
map to a different memory commit, two naming memory commits that exist nowhere) were
dropped from the ledger by its own closeouts, and the same rows then refused the
integration gate and this one. The master whose closeouts had been correct became
permanently unsyncable -- worktree_start for the next leaf refused with
"sync-work-branch-invalid: resolved memory ledger dropped parent mapping(s)" while
both sides were already current, so there was no merge to resolve and nothing the
operator could do. This removes the sync half of the rule, so one answer applies
everywhere and no surface restates the projection's judgement where it can drift
from the reasons it classifies.

A selection left mid-flight now says so and never as this call's own success: the
reconciling result names the stuck master, when it was published, what it was doing
and both exits, and a pass that succeeded beside a mid-flight record reports
atomic-series-reconciling rather than synced.

The shipped c-09 skill text and its eight generated copies are corrected in the same
commit: they told agents that a memory merge validates that every exact parent ledger
row survives, which was the third place the removed rule was stated.

Proof: a descendant memory branch that dropped its source row syncs as
already-current (mutation-proved against the removed rule), and a completed pass
beside a mid-flight selection returns non-ok with the master, revision, time and both
exits named. Unit 853/157, integration 219/33; ruff, ruff format, pyright and the
layering gate clean.

Landed through sanctioned direct execution: this defect blocks worktree_start for
every leaf of this master, including the leaf that owns it (260913-LCA-L13), so no
leaf enclosure could be created for the fix.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-16T07:48:11.660339Z 67b21ae PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 416 files, which is 316 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 1b0a7bfc-f902-44c1-8031-eaeba8e54dc2

📥 Commits

Reviewing files that changed from the base of the PR and between 4ded4ec and 67b21ae.

📒 Files selected for processing (416)
  • .agents/skills/c-03-repo-bootstrap/SKILL.md
  • .agents/skills/c-05-create-or-update-onboarding-files/SKILL.md
  • .agents/skills/c-09-git-worktree-manager/SKILL.md
  • .agents/skills/c-10-adopt-memory-baseline/SKILL.md
  • .agents/skills/c-11-memory-carryover-from-branch/SKILL.md
  • .agents/skills/c-12-closeout/SKILL.md
  • .agents/skills/c-13-install-and-onboard/SKILL.md
  • .agents/skills/l-01-agent-lifecycles/criteria/plan-review.md
  • .agents/skills/l-01-agent-lifecycles/roles/architect.md
  • .agents/skills/l-01-agent-lifecycles/roles/curator.md
  • .agents/skills/l-01-agent-lifecycles/roles/manager.md
  • .agents/skills/l-01-agent-lifecycles/roles/orchestrator.md
  • .agents/skills/l-01-agent-lifecycles/roles/strategist.md
  • .agents/skills/l-01-agent-lifecycles/templates/curator-brief.md
  • .agents/skills/l-01-agent-lifecycles/templates/manager-brief.md
  • .agents/skills/l-01-agent-lifecycles/templates/master-handover-packet.md
  • .agents/skills/l-01-agent-lifecycles/templates/orchestration-task.md
  • .agents/skills/w-02-light-task-workflow/SKILL.md
  • .agents/skills/w-02-light-task-workflow/workflow.md
  • .claude/skills/c-03-repo-bootstrap/SKILL.md
  • .claude/skills/c-05-create-or-update-onboarding-files/SKILL.md
  • .claude/skills/c-09-git-worktree-manager/SKILL.md
  • .claude/skills/c-10-adopt-memory-baseline/SKILL.md
  • .claude/skills/c-11-memory-carryover-from-branch/SKILL.md
  • .claude/skills/c-12-closeout/SKILL.md
  • .claude/skills/c-13-install-and-onboard/SKILL.md
  • .claude/skills/l-01-agent-lifecycles/criteria/plan-review.md
  • .claude/skills/l-01-agent-lifecycles/roles/architect.md
  • .claude/skills/l-01-agent-lifecycles/roles/curator.md
  • .claude/skills/l-01-agent-lifecycles/roles/manager.md
  • .claude/skills/l-01-agent-lifecycles/roles/orchestrator.md
  • .claude/skills/l-01-agent-lifecycles/roles/strategist.md
  • .claude/skills/l-01-agent-lifecycles/templates/curator-brief.md
  • .claude/skills/l-01-agent-lifecycles/templates/manager-brief.md
  • .claude/skills/l-01-agent-lifecycles/templates/master-handover-packet.md
  • .claude/skills/l-01-agent-lifecycles/templates/orchestration-task.md
  • .claude/skills/w-02-light-task-workflow/SKILL.md
  • .claude/skills/w-02-light-task-workflow/workflow.md
  • .codex/skills/c-03-repo-bootstrap/SKILL.md
  • .codex/skills/c-05-create-or-update-onboarding-files/SKILL.md
  • .codex/skills/c-09-git-worktree-manager/SKILL.md
  • .codex/skills/c-10-adopt-memory-baseline/SKILL.md
  • .codex/skills/c-11-memory-carryover-from-branch/SKILL.md
  • .codex/skills/c-12-closeout/SKILL.md
  • .codex/skills/c-13-install-and-onboard/SKILL.md
  • .codex/skills/l-01-agent-lifecycles/criteria/plan-review.md
  • .codex/skills/l-01-agent-lifecycles/roles/architect.md
  • .codex/skills/l-01-agent-lifecycles/roles/curator.md
  • .codex/skills/l-01-agent-lifecycles/roles/manager.md
  • .codex/skills/l-01-agent-lifecycles/roles/orchestrator.md
  • .codex/skills/l-01-agent-lifecycles/roles/strategist.md
  • .codex/skills/l-01-agent-lifecycles/templates/curator-brief.md
  • .codex/skills/l-01-agent-lifecycles/templates/manager-brief.md
  • .codex/skills/l-01-agent-lifecycles/templates/master-handover-packet.md
  • .codex/skills/l-01-agent-lifecycles/templates/orchestration-task.md
  • .codex/skills/w-02-light-task-workflow/SKILL.md
  • .codex/skills/w-02-light-task-workflow/workflow.md
  • .cursor/skills/c-03-repo-bootstrap/SKILL.md
  • .cursor/skills/c-05-create-or-update-onboarding-files/SKILL.md
  • .cursor/skills/c-09-git-worktree-manager/SKILL.md
  • .cursor/skills/c-10-adopt-memory-baseline/SKILL.md
  • .cursor/skills/c-11-memory-carryover-from-branch/SKILL.md
  • .cursor/skills/c-12-closeout/SKILL.md
  • .cursor/skills/c-13-install-and-onboard/SKILL.md
  • .cursor/skills/l-01-agent-lifecycles/criteria/plan-review.md
  • .cursor/skills/l-01-agent-lifecycles/roles/architect.md
  • .cursor/skills/l-01-agent-lifecycles/roles/curator.md
  • .cursor/skills/l-01-agent-lifecycles/roles/manager.md
  • .cursor/skills/l-01-agent-lifecycles/roles/orchestrator.md
  • .cursor/skills/l-01-agent-lifecycles/roles/strategist.md
  • .cursor/skills/l-01-agent-lifecycles/templates/curator-brief.md
  • .cursor/skills/l-01-agent-lifecycles/templates/manager-brief.md
  • .cursor/skills/l-01-agent-lifecycles/templates/master-handover-packet.md
  • .cursor/skills/l-01-agent-lifecycles/templates/orchestration-task.md
  • .cursor/skills/w-02-light-task-workflow/SKILL.md
  • .cursor/skills/w-02-light-task-workflow/workflow.md
  • .github-vscode/skills/c-03-repo-bootstrap/SKILL.md
  • .github-vscode/skills/c-05-create-or-update-onboarding-files/SKILL.md
  • .github-vscode/skills/c-09-git-worktree-manager/SKILL.md
  • .github-vscode/skills/c-10-adopt-memory-baseline/SKILL.md
  • .github-vscode/skills/c-11-memory-carryover-from-branch/SKILL.md
  • .github-vscode/skills/c-12-closeout/SKILL.md
  • .github-vscode/skills/c-13-install-and-onboard/SKILL.md
  • .github-vscode/skills/l-01-agent-lifecycles/criteria/plan-review.md
  • .github-vscode/skills/l-01-agent-lifecycles/roles/architect.md
  • .github-vscode/skills/l-01-agent-lifecycles/roles/curator.md
  • .github-vscode/skills/l-01-agent-lifecycles/roles/manager.md
  • .github-vscode/skills/l-01-agent-lifecycles/roles/orchestrator.md
  • .github-vscode/skills/l-01-agent-lifecycles/roles/strategist.md
  • .github-vscode/skills/l-01-agent-lifecycles/templates/curator-brief.md
  • .github-vscode/skills/l-01-agent-lifecycles/templates/manager-brief.md
  • .github-vscode/skills/l-01-agent-lifecycles/templates/master-handover-packet.md
  • .github-vscode/skills/l-01-agent-lifecycles/templates/orchestration-task.md
  • .github-vscode/skills/w-02-light-task-workflow/SKILL.md
  • .github-vscode/skills/w-02-light-task-workflow/workflow.md
  • .hermes/skills/c-03-repo-bootstrap/SKILL.md
  • .hermes/skills/c-05-create-or-update-onboarding-files/SKILL.md
  • .hermes/skills/c-09-git-worktree-manager/SKILL.md
  • .hermes/skills/c-10-adopt-memory-baseline/SKILL.md
  • .hermes/skills/c-11-memory-carryover-from-branch/SKILL.md
  • .hermes/skills/c-12-closeout/SKILL.md
  • .hermes/skills/c-13-install-and-onboard/SKILL.md
  • .hermes/skills/l-01-agent-lifecycles/criteria/plan-review.md
  • .hermes/skills/l-01-agent-lifecycles/roles/architect.md
  • .hermes/skills/l-01-agent-lifecycles/roles/curator.md
  • .hermes/skills/l-01-agent-lifecycles/roles/manager.md
  • .hermes/skills/l-01-agent-lifecycles/roles/orchestrator.md
  • .hermes/skills/l-01-agent-lifecycles/roles/strategist.md
  • .hermes/skills/l-01-agent-lifecycles/templates/curator-brief.md
  • .hermes/skills/l-01-agent-lifecycles/templates/manager-brief.md
  • .hermes/skills/l-01-agent-lifecycles/templates/master-handover-packet.md
  • .hermes/skills/l-01-agent-lifecycles/templates/orchestration-task.md
  • .hermes/skills/w-02-light-task-workflow/SKILL.md
  • .hermes/skills/w-02-light-task-workflow/workflow.md
  • .openclaw/workspace/skills/c-03-repo-bootstrap/SKILL.md
  • .openclaw/workspace/skills/c-05-create-or-update-onboarding-files/SKILL.md
  • .openclaw/workspace/skills/c-09-git-worktree-manager/SKILL.md
  • .openclaw/workspace/skills/c-10-adopt-memory-baseline/SKILL.md
  • .openclaw/workspace/skills/c-11-memory-carryover-from-branch/SKILL.md
  • .openclaw/workspace/skills/c-12-closeout/SKILL.md
  • .openclaw/workspace/skills/c-13-install-and-onboard/SKILL.md
  • .openclaw/workspace/skills/l-01-agent-lifecycles/criteria/plan-review.md
  • .openclaw/workspace/skills/l-01-agent-lifecycles/roles/architect.md
  • .openclaw/workspace/skills/l-01-agent-lifecycles/roles/curator.md
  • .openclaw/workspace/skills/l-01-agent-lifecycles/roles/manager.md
  • .openclaw/workspace/skills/l-01-agent-lifecycles/roles/orchestrator.md
  • .openclaw/workspace/skills/l-01-agent-lifecycles/roles/strategist.md
  • .openclaw/workspace/skills/l-01-agent-lifecycles/templates/curator-brief.md
  • .openclaw/workspace/skills/l-01-agent-lifecycles/templates/manager-brief.md
  • .openclaw/workspace/skills/l-01-agent-lifecycles/templates/master-handover-packet.md
  • .openclaw/workspace/skills/l-01-agent-lifecycles/templates/orchestration-task.md
  • .openclaw/workspace/skills/w-02-light-task-workflow/SKILL.md
  • .openclaw/workspace/skills/w-02-light-task-workflow/workflow.md
  • .pi/skills/c-03-repo-bootstrap/SKILL.md
  • .pi/skills/c-05-create-or-update-onboarding-files/SKILL.md
  • .pi/skills/c-09-git-worktree-manager/SKILL.md
  • .pi/skills/c-10-adopt-memory-baseline/SKILL.md
  • .pi/skills/c-11-memory-carryover-from-branch/SKILL.md
  • .pi/skills/c-12-closeout/SKILL.md
  • .pi/skills/c-13-install-and-onboard/SKILL.md
  • .pi/skills/l-01-agent-lifecycles/criteria/plan-review.md
  • .pi/skills/l-01-agent-lifecycles/roles/architect.md
  • .pi/skills/l-01-agent-lifecycles/roles/curator.md
  • .pi/skills/l-01-agent-lifecycles/roles/manager.md
  • .pi/skills/l-01-agent-lifecycles/roles/orchestrator.md
  • .pi/skills/l-01-agent-lifecycles/roles/strategist.md
  • .pi/skills/l-01-agent-lifecycles/templates/curator-brief.md
  • .pi/skills/l-01-agent-lifecycles/templates/manager-brief.md
  • .pi/skills/l-01-agent-lifecycles/templates/master-handover-packet.md
  • .pi/skills/l-01-agent-lifecycles/templates/orchestration-task.md
  • .pi/skills/w-02-light-task-workflow/SKILL.md
  • .pi/skills/w-02-light-task-workflow/workflow.md
  • dashboard/src/fixtures/snapshot.json
  • dashboard/src/panels/sprint-graph/styles.ts
  • dashboard/src/test/contract.test.ts
  • dashboard/src/types/projection.schema.json
  • dashboard/src/types/projection.ts
  • docs/architecture.md
  • docs/design/observable-lifecycle.md
  • docs/guides/carryover-from-branch.md
  • docs/reference/execution-topology-migration.md
  • docs/reference/mcp-tools.md
  • docs/reference/skills.md
  • docs/reference/worktrees-c09.md
  • mcp/src/agents_remember/application/memory_tools.py
  • mcp/src/agents_remember/application/provider_runtime.py
  • mcp/src/agents_remember/application/task_docs/task_doc_steps.py
  • mcp/src/agents_remember/application/task_docs/task_doc_tools.py
  • mcp/src/agents_remember/application/task_docs/task_execution_topology.py
  • mcp/src/agents_remember/application/task_docs/task_unstarted_evidence.py
  • mcp/src/agents_remember/application/worktree_tool_requests.py
  • mcp/src/agents_remember/application/worktree_tools.py
  • mcp/src/agents_remember/benchmarks/runner_modules/commands.py
  • mcp/src/agents_remember/certification/lifecycle_models.py
  • mcp/src/agents_remember/cli/__main__.py
  • mcp/src/agents_remember/cli/memory_backfill.py
  • mcp/src/agents_remember/controlplane/closeout_queue_records.py
  • mcp/src/agents_remember/kernel/coordination_context/cross_repo.py
  • mcp/src/agents_remember/kernel/git_closeout_publication.py
  • mcp/src/agents_remember/kernel/git_command.py
  • mcp/src/agents_remember/kernel/git_facts.py
  • mcp/src/agents_remember/kernel/git_freshness.py
  • mcp/src/agents_remember/kernel/git_preparation.py
  • mcp/src/agents_remember/kernel/memory_attribution.py
  • mcp/src/agents_remember/kernel/memory_backfill.py
  • mcp/src/agents_remember/kernel/memory_cache.py
  • mcp/src/agents_remember/kernel/memory_ledger.py
  • mcp/src/agents_remember/kernel/route_index_census.py
  • mcp/src/agents_remember/mcp/registration/closeout.py
  • mcp/src/agents_remember/mcp/registration/memory.py
  • mcp/src/agents_remember/mcp/registration/tasks.py
  • mcp/src/agents_remember/mcp/registration/worktrees.py
  • mcp/src/agents_remember/mcp/tools/__init__.py
  • mcp/src/agents_remember/mcp/tools/base.py
  • mcp/src/agents_remember/mcp/tools/worktree.py
  • mcp/src/agents_remember/memory/baseline.py
  • mcp/src/agents_remember/memory/carryover.py
  • mcp/src/agents_remember/memory_quality/memory_candidate_pair.py
  • mcp/src/agents_remember/memory_quality/style/citations/claim_change_router.py
  • mcp/src/agents_remember/memory_quality/style/citations/claim_reopen.py
  • mcp/src/agents_remember/memory_quality/style/citations/drafts.py
  • mcp/src/agents_remember/memory_quality/style/citations/fixer.py
  • mcp/src/agents_remember/memory_quality/style/citations/migration.py
  • mcp/src/agents_remember/memory_quality/style/citations/provenance.py
  • mcp/src/agents_remember/memory_quality/style/citations/repair.py
  • mcp/src/agents_remember/models/closeout/input.py
  • mcp/src/agents_remember/models/closeout/projection.py
  • mcp/src/agents_remember/models/direct_landing.py
  • mcp/src/agents_remember/models/lifecycles/direct_landing.py
  • mcp/src/agents_remember/models/lifecycles/door.py
  • mcp/src/agents_remember/models/lifecycles/evidence_dependencies.py
  • mcp/src/agents_remember/models/lifecycles/legacy.py
  • mcp/src/agents_remember/models/lifecycles/memory_candidate.py
  • mcp/src/agents_remember/models/lifecycles/mutation_evidence.py
  • mcp/src/agents_remember/models/lifecycles/operation.py
  • mcp/src/agents_remember/models/lifecycles/operation_kinds.py
  • mcp/src/agents_remember/models/lifecycles/operation_projection.py
  • mcp/src/agents_remember/models/lifecycles/preparation.py
  • mcp/src/agents_remember/models/lifecycles/preparation_state.py
  • mcp/src/agents_remember/models/queue/closeout_queue.py
  • mcp/src/agents_remember/models/structural/atomic_series_activation.py
  • mcp/src/agents_remember/models/task_document.py
  • mcp/src/agents_remember/models/tools/public_roster.py
  • mcp/src/agents_remember/models/tools/tool_registry.py
  • mcp/src/agents_remember/models/worktree.py
  • mcp/src/agents_remember/observer/projection.py
  • mcp/src/agents_remember/observer/projection_graph.py
  • mcp/src/agents_remember/package_data/runtime/skills/c-03-repo-bootstrap/SKILL.md
  • mcp/src/agents_remember/package_data/runtime/skills/c-05-create-or-update-onboarding-files/SKILL.md
  • mcp/src/agents_remember/package_data/runtime/skills/c-09-git-worktree-manager/SKILL.md
  • mcp/src/agents_remember/package_data/runtime/skills/c-10-adopt-memory-baseline/SKILL.md
  • mcp/src/agents_remember/package_data/runtime/skills/c-11-memory-carryover-from-branch/SKILL.md
  • mcp/src/agents_remember/package_data/runtime/skills/c-12-closeout/SKILL.md
  • mcp/src/agents_remember/package_data/runtime/skills/c-13-install-and-onboard/SKILL.md
  • mcp/src/agents_remember/package_data/runtime/skills/l-01-agent-lifecycles/criteria/plan-review.md
  • mcp/src/agents_remember/package_data/runtime/skills/l-01-agent-lifecycles/roles/architect.md
  • mcp/src/agents_remember/package_data/runtime/skills/l-01-agent-lifecycles/roles/curator.md
  • mcp/src/agents_remember/package_data/runtime/skills/l-01-agent-lifecycles/roles/manager.md
  • mcp/src/agents_remember/package_data/runtime/skills/l-01-agent-lifecycles/roles/orchestrator.md
  • mcp/src/agents_remember/package_data/runtime/skills/l-01-agent-lifecycles/roles/strategist.md
  • mcp/src/agents_remember/package_data/runtime/skills/l-01-agent-lifecycles/templates/curator-brief.md
  • mcp/src/agents_remember/package_data/runtime/skills/l-01-agent-lifecycles/templates/manager-brief.md
  • mcp/src/agents_remember/package_data/runtime/skills/l-01-agent-lifecycles/templates/master-handover-packet.md
  • mcp/src/agents_remember/package_data/runtime/skills/l-01-agent-lifecycles/templates/orchestration-task.md
  • mcp/src/agents_remember/package_data/runtime/skills/w-02-light-task-workflow/SKILL.md
  • mcp/src/agents_remember/package_data/runtime/skills/w-02-light-task-workflow/workflow.md
  • mcp/src/agents_remember/package_data/runtime/system/defaults/examples/memory-repo/git-workflow.md
  • mcp/src/agents_remember/providers/cgc/seed.py
  • mcp/src/agents_remember/serving/build_info.py
  • mcp/src/agents_remember/serving/projections/snapshots_impl/_task_documents.py
  • mcp/src/agents_remember/tasks/__init__.py
  • mcp/src/agents_remember/tasks/document.py
  • mcp/src/agents_remember/tasks/document_field_effects.py
  • mcp/src/agents_remember/tasks/document_refs.py
  • mcp/src/agents_remember/tasks/leaf_doc.py
  • mcp/src/agents_remember/tasks/master_sync.py
  • mcp/src/agents_remember/tasks/readiness.py
  • mcp/src/agents_remember/tasks/render.py
  • mcp/src/agents_remember/tasks/task_paths.py
  • mcp/src/agents_remember/worktrees/activation/atomic_series_activation.py
  • mcp/src/agents_remember/worktrees/activation/atomic_series_activation_release.py
  • mcp/src/agents_remember/worktrees/activation/atomic_series_activation_transaction.py
  • mcp/src/agents_remember/worktrees/activation/atomic_series_admission.py
  • mcp/src/agents_remember/worktrees/atomic_series_seal.py
  • mcp/src/agents_remember/worktrees/closeout_input.py
  • mcp/src/agents_remember/worktrees/direct_landing.py
  • mcp/src/agents_remember/worktrees/git_worktree_manager.py
  • mcp/src/agents_remember/worktrees/integration/closeout/door.py
  • mcp/src/agents_remember/worktrees/integration/closeout/door_evidence.py
  • mcp/src/agents_remember/worktrees/integration/closeout/door_source.py
  • mcp/src/agents_remember/worktrees/integration/closeout/integration_reopen.py
  • mcp/src/agents_remember/worktrees/integration/closeout/ledger_recovery.py
  • mcp/src/agents_remember/worktrees/integration/closeout/preparation/code_execution.py
  • mcp/src/agents_remember/worktrees/integration/closeout/preparation/code_view.py
  • mcp/src/agents_remember/worktrees/integration/closeout/preparation/finalization.py
  • mcp/src/agents_remember/worktrees/integration/closeout/preparation/memory_execution.py
  • mcp/src/agents_remember/worktrees/integration/closeout/preparation/memory_output.py
  • mcp/src/agents_remember/worktrees/integration/closeout/preparation/memory_reuse.py
  • mcp/src/agents_remember/worktrees/integration/closeout/preparation/private_execution.py
  • mcp/src/agents_remember/worktrees/integration/closeout/recovery_projection.py
  • mcp/src/agents_remember/worktrees/integration/direct_landing/direct_landing_execution.py
  • mcp/src/agents_remember/worktrees/integration/direct_landing/direct_landing_operation.py
  • mcp/src/agents_remember/worktrees/integration/direct_landing/direct_landing_recovery_state.py
  • mcp/src/agents_remember/worktrees/integration/integration_branch_authority.py
  • mcp/src/agents_remember/worktrees/integration/integration_operation_authority.py
  • mcp/src/agents_remember/worktrees/integration/integration_ref_state.py
  • mcp/src/agents_remember/worktrees/integration/integration_ref_transaction.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/generation/creation.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/lifecycle_closeout_claim_evidence.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/lifecycle_enclosure_terminal.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/lifecycle_operation_control_errors.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/lifecycle_operation_control_evidence.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/lifecycle_operation_control_projection.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/lifecycle_operation_controls.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/lifecycle_operation_identity.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/lifecycle_operation_live_decision.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/lifecycle_operation_projection.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/lifecycle_operation_store.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/lifecycle_operations.py
  • mcp/src/agents_remember/worktrees/integration/lifecycle/lifecycle_public_evidence.py
  • mcp/src/agents_remember/worktrees/integration/mutation_evidence.py
  • mcp/src/agents_remember/worktrees/integration/organizational_completion.py
  • mcp/src/agents_remember/worktrees/integration/organizational_completion_repair.py
  • mcp/src/agents_remember/worktrees/ledger_projection.py
  • mcp/src/agents_remember/worktrees/modules/abandon.py
  • mcp/src/agents_remember/worktrees/modules/args.py
  • mcp/src/agents_remember/worktrees/modules/cleanup.py
  • mcp/src/agents_remember/worktrees/modules/cleanup_report.py
  • mcp/src/agents_remember/worktrees/modules/cli.py
  • mcp/src/agents_remember/worktrees/modules/closeout.py
  • mcp/src/agents_remember/worktrees/modules/closeout_external.py
  • mcp/src/agents_remember/worktrees/modules/finalize.py
  • mcp/src/agents_remember/worktrees/modules/git.py
  • mcp/src/agents_remember/worktrees/modules/guidance.py
  • mcp/src/agents_remember/worktrees/modules/integrate.py
  • mcp/src/agents_remember/worktrees/modules/integration_recovery.py
  • mcp/src/agents_remember/worktrees/modules/landing.py
  • mcp/src/agents_remember/worktrees/modules/landing_record.py
  • mcp/src/agents_remember/worktrees/modules/onboarding.py
  • mcp/src/agents_remember/worktrees/modules/pause.py
  • mcp/src/agents_remember/worktrees/modules/quality/clean_executor.py
  • mcp/src/agents_remember/worktrees/modules/record_landing.py
  • mcp/src/agents_remember/worktrees/modules/start.py
  • mcp/src/agents_remember/worktrees/modules/startup/master_series_admission.py
  • mcp/src/agents_remember/worktrees/modules/startup/series_attach.py
  • mcp/src/agents_remember/worktrees/modules/startup/start_contract.py
  • mcp/src/agents_remember/worktrees/modules/startup/start_memory.py
  • mcp/src/agents_remember/worktrees/modules/terminal_validation.py
  • mcp/src/agents_remember/worktrees/named_ref_memory.py
  • mcp/src/agents_remember/worktrees/queue/closeout_preview.py
  • mcp/src/agents_remember/worktrees/queue/closeout_projection.py
  • mcp/src/agents_remember/worktrees/queue/closeout_projection_activation.py
  • mcp/src/agents_remember/worktrees/queue/closeout_queue_errors.py
  • mcp/src/agents_remember/worktrees/queue/closeout_queue_graph.py
  • mcp/src/agents_remember/worktrees/queue/closeout_recovery.py
  • mcp/src/agents_remember/worktrees/reopen.py
  • mcp/src/agents_remember/worktrees/scheduling_mode.py
  • mcp/src/agents_remember/worktrees/series_closeout.py
  • mcp/src/agents_remember/worktrees/sync_transaction.py
  • mcp/src/agents_remember/worktrees/sync_transaction_authority.py
  • mcp/src/agents_remember/worktrees/sync_transaction_git.py
  • mcp/src/agents_remember/worktrees/sync_transaction_recovery.py
  • mcp/src/agents_remember/worktrees/sync_transaction_results.py
  • mcp/src/agents_remember/worktrees/task_leaf_binding.py
  • mcp/src/agents_remember/worktrees/task_resolver.py
  • mcp/src/agents_remember/worktrees/worktree_contract.py
  • mcp/test_support/agents_remember_test_support/code_quality/dependency_ownership.py
  • mcp/tests/checkpoint_landing_test_support.py
  • mcp/tests/closeout_input_test_support.py
  • mcp/tests/evidence-lifecycle.toml
  • mcp/tests/integration_branch_authority_test_support.py
  • mcp/tests/test-evidence-lanes.toml
  • mcp/tests/test_activation_admission_registered.py
  • mcp/tests/test_atomic_series_activation.py
  • mcp/tests/test_automatic_post_integration_cleanup.py
  • mcp/tests/test_checkpoint_landing.py
  • mcp/tests/test_checkpoint_landing_end_to_end.py
  • mcp/tests/test_citation_document_transaction.py
  • mcp/tests/test_closeout_kept_rules_pins.py
  • mcp/tests/test_closeout_projection_source_classification.py
  • mcp/tests/test_closeout_queue.py
  • mcp/tests/test_cross_master_concurrency.py
  • mcp/tests/test_direct_landing.py
  • mcp/tests/test_git_command.py
  • mcp/tests/test_integration_branch_authority.py
  • mcp/tests/test_leaf_doc_master_link_binding.py
  • mcp/tests/test_lifecycle_operation_model_helpers.py
  • mcp/tests/test_lifecycle_playthrough_end_to_end.py
  • mcp/tests/test_memory_attribution_producers.py
  • mcp/tests/test_memory_backfill.py
  • mcp/tests/test_memory_citation_fix.py
  • mcp/tests/test_memory_citation_fix_scopes.py
  • mcp/tests/test_memory_citation_grammars.py
  • mcp/tests/test_memory_citation_resolution.py
  • mcp/tests/test_memory_ledger.py
  • mcp/tests/test_pause_is_not_publication.py
  • mcp/tests/test_pause_stop_only_end_to_end.py
  • mcp/tests/test_post_integration_cleanup_guidance.py
  • mcp/tests/test_record_landing.py
  • mcp/tests/test_retired_door_publication_fields.py
  • mcp/tests/test_source_lineage.py
  • mcp/tests/test_suite_budget.py
  • mcp/tests/test_sync_parked_candidate.py
  • mcp/tests/test_task_doc_review_public.py
  • mcp/tests/test_task_document.py
  • mcp/tests/test_task_document_application_1.py
  • mcp/tests/test_task_documents_graph_projection.py
  • mcp/tests/test_task_execution_topology_segments.py
  • mcp/tests/test_terminal_blocker_reasons.py
  • mcp/tests/test_tools.py
  • mcp/tests/test_transaction_only_worktree_delivery.py
  • mcp/tests/test_worktree_status_terminal_next_tool.py
  • mcp/tests/test_worktree_support.py
  • mcp/tests/test_worktree_support_tests_1.py
  • mcp/tests/test_worktree_sync.py
  • pyproject.toml
  • skills/c-03-repo-bootstrap/SKILL.md
  • skills/c-05-create-or-update-onboarding-files/SKILL.md
  • skills/c-09-git-worktree-manager/SKILL.md
  • skills/c-10-adopt-memory-baseline/SKILL.md
  • skills/c-11-memory-carryover-from-branch/SKILL.md
  • skills/c-12-closeout/SKILL.md
  • skills/c-13-install-and-onboard/SKILL.md
  • skills/l-01-agent-lifecycles/criteria/plan-review.md
  • skills/l-01-agent-lifecycles/roles/architect.md
  • skills/l-01-agent-lifecycles/roles/curator.md
  • skills/l-01-agent-lifecycles/roles/manager.md
  • skills/l-01-agent-lifecycles/roles/orchestrator.md
  • skills/l-01-agent-lifecycles/roles/strategist.md
  • skills/l-01-agent-lifecycles/templates/curator-brief.md
  • skills/l-01-agent-lifecycles/templates/manager-brief.md
  • skills/l-01-agent-lifecycles/templates/master-handover-packet.md
  • skills/l-01-agent-lifecycles/templates/orchestration-task.md
  • skills/w-02-light-task-workflow/SKILL.md
  • skills/w-02-light-task-workflow/workflow.md
  • system/defaults/examples/memory-repo/git-workflow.md

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Foxfire1st
Foxfire1st merged commit bd43280 into main Sep 16, 2026
2 checks passed

@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: 67b21aeb66

ℹ️ 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".

Comment on lines +321 to +323
return LedgerRow(
_full_name(memory_repo, row.code_commit),
_full_name(memory_repo, row.memory_commit),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Resolve abbreviated code cells in the code repository

When a historical ledger contains an abbreviated code SHA, this resolves it against the memory repository, where the code object normally does not exist. The abbreviation therefore survives into the selected mapping and gets written into the Code-Commit trailer; lookups using the full code HEAD then fail immediately, and the attribution can disappear entirely if the prefix later becomes ambiguous. Pass code_repo here and resolve the code and memory columns against their respective repositories.

Useful? React with 👍 / 👎.

Comment on lines +291 to +292
if earlier.integrated_code_commit == later.integrated_code_commit:
return False

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Preserve ordering for memory-only leaf landings

For two external-memory leaves that change only onboarding, both integrations legitimately reuse the same code commit while their memory commits remain ordered. Returning False solely because the code commits are equal means neither leaf precedes the other, so _ordered_atomic_landing_chain finds zero candidates and permanently refuses the master's closeout as an invalid chain. Equal code commits need to defer to the memory ancestry rather than making the pair incomparable.

Useful? React with 👍 / 👎.

Comment on lines +121 to +127
updated = record_landed_integration(
contract,
landed=LandedIntegration(
strategy=PR_STRATEGY,
code_commit=commit,
memory_content_commit=args.landed_memory_content_commit.strip(),
),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Require the external-memory landing commit before completion

For an external-memory contract, the public tool defaults landed_memory_content_commit to an empty string and this path still records integration.status=completed. A retry with the actual memory commit is then ignored by the earlier already-recorded branch, while organizational completion requires an exact nonblank landed memory edge, leaving the contract terminally recorded but impossible to finalize correctly. Validate and prove the memory landing before writing the completed integration cell for external-memory contracts.

Useful? React with 👍 / 👎.

Comment on lines +135 to +140
attributed = [
match.group("value")
for line in message.splitlines()
if (match := _TRAILER_LINE.match(line.strip()))
]
return attributed[-1] if attributed else None

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 Parse only Git's terminal trailer block

This scans every message line even though the runtime attribution reader uses Git's trailer parser. If a historical commit body mentions Code-Commit: <sha> outside its final trailer block, the backfill treats it as already attributed and skips rewriting it, but %(trailers:key=Code-Commit) later returns no attribution, so the migrated mapping remains missing and repeated backfill plans continue to report it as complete.

Useful? React with 👍 / 👎.

Comment on lines +923 to +925
"strategy": args.strategy,
"integrated_code_commit": commits.code,
"integrated_memory_content_commit": commits.memory_content,

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 Emit checkpoint commits under the declared wire names

The checkpoint result emits integrated_code_commit and integrated_memory_content_commit, while WorktreeCheckpointLandingResponse declares the camel-case fields integratedCodeCommit and integratedMemoryContentCommit with empty defaults. Because the envelope allows extras, serialization returns both the real snake-case hashes and empty camel-case values; clients following the declared response schema therefore observe that no commits landed. Emit the values using the model's declared field names.

Useful? React with 👍 / 👎.

members: list[CloseoutProjectionMember] = Field(
default_factory=list, max_length=MAX_CLOSEOUT_CANDIDATES
)
members: list[CloseoutProjectionMember] = Field(default_factory=list)

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 Restore a bound on closeout queue members

The response now accepts an unbounded members list, and the same change removes the MAX_CLOSEOUT_CANDIDATES refusal from graph validation. Since each of the at most 256 masters can contain an unbounded number of subtasks, one authored sprint can force the queue census and MCP response to materialize arbitrarily many candidates, increasing memory and response size without limit. Restore a hard admission bound or introduce bounded pagination.

AGENTS.md reference: AGENTS.md:L204-L206

Useful? React with 👍 / 👎.

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.

2 participants