Skip to content

fix: verify GitLab landing and preflight task completion - #6989

Closed
mikaelz wants to merge 10 commits into
kunchenguid:mainfrom
mikaelz:fm/fm-gitlab-compat
Closed

mikaelz wants to merge 10 commits into
kunchenguid:mainfrom
mikaelz:fm/fm-gitlab-compat

Conversation

@mikaelz

@mikaelz mikaelz commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Intent

create pr
This approves implementation of the preceding GitLab task-tracking compatibility plan, specifically its Firstmate portion. Repair GitLab landing verification, completion preflight and review-link handling with regression tests, so task cleanup preserves work and records completion safely. The approved plan is ~/github/kunchenguid/firstmate/data/gitlab-task-plan/report.md. Deliver a review-ready PR; do not merge, deploy the changes, or replay ERP's saved completion.

The approved Firstmate plan substance is:

Extend the existing GitLab reader in bin/fm-pr-lib.sh to expose verified MR identity, live source-head SHA, merged state and target branch when requested. Continue explicit host, full project URL and IID addressing with glab rather than using a GitHub CLI for an MR. Validate object shape, state, SHA, exact IID/web URL identity and the literal target branch through Git's branch-name validator. Require agreement between .sha and .diff_refs.head_sha when both exist, and refuse missing or contradictory required evidence. Do not use merge_commit_sha or squash_commit_sha as a source head. Verify installed glab fields with read-only real GitLab output. Preserve existing lightweight state-only reads.

Repair landing proof in bin/fm-teardown.sh through the existing provider parser. Preserve GitHub behavior and its no-URL branch lookup. A merged MR proves landing only when local committed work is contained in its verified source head through existing ancestry/patch containment. Recover an absent exact head through the target repository's refs/merge-requests//head using the existing authenticated origin transport, resolve the fetched object and require the exact verified SHA. Bind the MR identity to the repository used for proof, checking target project identity for fork MRs; do not fetch an unverified host/project, an arbitrary source branch, infer an SSH alias mapping or trust FETCH_HEAD alone. Missing/expired refs, authentication errors, wrong objects and rewritten heads remain inconclusive. For independent three-way tree-equality fallback, use the verified merged MR's actual target rather than a deleted legacy source/base. Fetch that exact target without overwriting base_branch or globally forcing main. Without verified target evidence, preserve legitimate named-base/default behavior and refuse a missing recorded branch rather than guess. Preserve dirty/untracked checks, extra-commit refusal, locks, slot ownership, local-only behavior, generation checks and the explicit discard boundary. Merged state, a merge commit or equal-looking paths alone are not landing proof.

Add one narrow completion preflight helper in the existing backlog transition owner. For close, preview done --dry-run using the actual addressed backend and all completion arguments. For retention, preview update --dry-run for supported row artifacts before deliverable-body writes or metadata removal. Preserve Gerrit note translation. Preview before completion-record publication and destructive cleanup, and in replay before matching metadata removal or retention mutation. Recheck rows, holds and generation under existing locks; never move a new generation or close an unresolved captain call. Keep structural/security record validation separate from consumer compatibility, and preserve safe legacy GitLab, Forgejo and Gerrit records. Deterministic invalid artifacts must refuse cleanup. Retain completion records on preview failure, actual write failure, timeout or uncertainty, and retire them only through existing proved success/stale-generation paths. Preserve cleanup_incomplete semantics and do not report a refused preview as cleanup success.

Extend existing review-link consumers without a universal forge framework. Add GitLab to fm_pf_pr_url_valid by reusing the existing canonical GitLab parser while preserving exact GitHub/Forgejo policy and independent public-safe limits. Preserve full canonical review URLs in snapshots and inactive-return selection, metadata precedence, preferred terminal-ready line shape and scout exclusion. Do not classify incidental mentions, arbitrary HTTPS or issue/doc URLs as delivery. Keep GitHub live-review enrichment GitHub-only. Resolve fresh GitLab review heads in private task refs with exact live SHA validation, outranking stale recorded heads. Missing head evidence may use the existing local-branch warning, never as cleanup proof. Correct affected comments and GitLab/architecture documentation without project-memory additions. Static Forgejo URL acceptance does not imply Forgejo merge/watch support.

The version-floor rollout is last: probe required preview capabilities, and update the numeric floor only to an actual published compatible tasks-axi release after publication, never an invented development version. Publication, deployment and ERP recovery require separate authorization.

Regression and integration evidence must exercise the existing executable owners: optional state-only/full proof reads; nested/self-hosted identities; missing/malformed identity, head, target, CLI or JSON support; fresh exact private head fetches; fork target identity; deleted source/legacy base; actual named targets distinct from default; missing/expired refs; forged objects; extra local commits and dirty/untracked work; GitHub/Gerrit preservation; close and retention preflight without writes; old-consumer refusal before destruction; actual write failures; backend addressing and relocated data; archive/manual mode; stale generation, missing rows, symlink/hardlink/control bytes, foreign-home/data-root and cleanup_incomplete protections; absent-metadata recovery separately from interrupted cleanup with surviving metadata; every crash boundary from publication through retirement; idempotent replay with one exact review link, stable close date and retained captain holds; canonical and malformed URL parity against the compatible tasks-axi consumer; and canonical links in metadata, ready status and Done backlog. Preserve existing public-safe limits and receipt/idempotence behavior. Run targeted regressions, portable lint and required validation. Re-run the private add/update/done/replay incident recipes with the compatible consumer, then a read-only real merged GitLab lookup and fetch/content proof in an independently owned disposable copy. Never repeat real ERP cleanup.

Publish through the approved existing mikaelz/firstmate fork and open a review-ready, non-draft upstream kunchenguid/firstmate PR targeting main. Do not merge that PR, release, deploy, change credentials, update live homes, restart or update the shared daemon, or replay ERP completion.

fm-gitlab-compat approve reconcil

The approved reconciliation retains the earlier validated Firstmate branch at 56f904700ff3af6fdf754ceb5d7db997a00ba223 and the newer preserved validation history at 44e61e486570a30d5a3ea50dd250017ceda1474f. For those available verified identities only, return custody through native keep-local recovery without discarding commits, then combine the retained newer history into the earlier branch through a normal two-parent feature-branch merge. Before fresh validation, verify both original full heads are ancestors of that clean committed combined branch. Preserve the earlier hardlink replay refusal and executable regression, the newer latest-ready review provenance/metadata precedence/scout exclusions, the public-followup fixture shutdown repair, and all valid documentation corrections. Resolve only necessary overlaps, preserve unrelated work, and do not reset, stash, discard, force-push or manually edit managed records. Run the private incident reproductions and regressions, lint and documentation checks, then one fresh full pipeline configured to the approved fork from intake, with the real preview-capable dependency verification plan captured from an absolute file path. Do not reuse the old upstream-bound executor, skip checks, waive failed tests, self-answer ask-user findings, or manually publish.

Authentication complete.

  • gh config set -h github.com git_protocol ssh
    ✓ Configured git protocol
    ✓ Logged in as mikaelz
    ! You were already logged in to this account
    verify pr creation, create if possible

What Changed

  • Verify GitLab MR identity, source head and target branch; fetch exact heads into task-private refs for review and use verified targets for landing checks.
  • Require read-only completion previews before cleanup and replay mutations, preserve retry records on failure, and reject hardlinked completion records.
  • Preserve canonical GitLab review links in public follow-ups, snapshots and inactive returns; add regression coverage and update forge and completion documentation.

Risk Assessment

✅ Low: The changes are bounded to the approved compatibility repair, preserve existing safety controls, and introduce no substantiated correctness, authorization or intent-conformance defects.

Testing

All 13 complete targeted suites and independent live scenarios passed, with consumer-integrity receipts, CLI transcripts and persisted-output evidence retained. Earlier watcher timeouts remain unexplained, but this fresh complete security run passed without waiver. Changes expose CLI/JSON contracts, not a rendered UI; no screenshot was required.

  • Live validation: ✅ go - 9 of 9 scenarios driven live against the product
Scenario Result Live Evidence
Read a real merged GitLab MR and fetch only its verified exact source head ✅ pass live live.log; live-mr-fields.json; content-proof.log
Resolve fork source work through the target repository and preserve a nondefault named target ✅ pass live fork-named.log
Attempt teardown with dirty, untracked or extra local work and preserve it ✅ pass live landing-refusals.log
Review GitLab work using the fresh live head instead of stale metadata ✅ pass live live-review-diff.txt; live.log
Complete and retain tasks through real previews, write failures and recoverable replay ✅ pass live integration.log; retained-retry.log; historical-date.log
Reject unsafe completion records without moving task data ✅ pass live record-guards.log; integration.log
Address relocated backlogs, archives and manual mode without touching the default backlog ✅ pass live addressing.log
Publish canonical review links in snapshots and inactive returns without treating scouts or incidental mentions as deliveries ✅ pass live live-snapshot.json; live.log; inactive.log
Accept canonical reviews and reject malformed links consistently with the real compatible consumer ✅ pass live url-parity.json; targeted.log
Evidence: Completion, preview, write-failure and recovery receipts

Source: Completion, preview, write-failure and recovery receipts

PASS: real done/update previews preserve row, body, dates and archives
error: "EACCES: permission denied, open '~/.no-mistakes/worktrees/cb3ff81633e8/01M4JF4DDZJ053B70DEBQKMMF2/.test-phase-tmp/fm-compatible-integration.vtRnth/home/data/backlog.md.lock'"
PASS: positive preview, real filesystem write refusal, surviving retry record
PASS: real successful close and idempotent replay
PASS: absent-metadata backfill retains original close date and one exact link
{
  "ok": true,
  "action": "update",
  "dry_run": true,
  "already": true,
  "changed": [],
  "task": {
    "id": "held-test",
    "title": "unresolved captain call https://gitlab.example.test/group/sub/project/-/merge_requests/7",
    "state": "queued",
    "kind": null,
    "repo": null,
    "priority": null,
    "created": "2026-10-10",
    "closed": null,
    "deps": [],
    "hold": {
      "reason": "choose next work",
      "kind": "captain",
      "until": null
    },
    "links": [
      {
        "kind": "pr",
        "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/7"
      }
    ],
    "body": "Deliverable of the finished work: PR https://gitlab.example.test/group/sub/project/-/merge_requests/7",
    "blocked": false,
    "blocked_by": [],
    "held": true
  }
}
PASS: real held retention records delivery without closing unresolved captain call
Actual retirement error: pending-close record could not be removed at ~/.no-mistakes/worktrees/cb3ff81633e8/01M4JF4DDZJ053B70DEBQKMMF2/.test-phase-tmp/fm-compatible-integration.vtRnth/home/state/retirement-test.backlog-close
{
  "ok": true,
  "action": "done",
  "dry_run": true,
  "already": true,
  "pruned": 0,
  "task": {
    "id": "retirement-test",
    "title": "completion before failed record retirement https://gitlab.example.test/group/sub/project/-/merge_requests/7",
    "state": "done",
    "kind": null,
    "repo": null,
    "priority": null,
    "created": null,
    "closed": "2026-10-10",
    "deps": [],
    "hold": null,
    "links": [
      {
        "kind": "pr",
        "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/7"
      }
    ],
    "body": null,
    "blocked": false,
    "blocked_by": [],
    "held": false
  }
}
PASS: completed row survives real retirement refusal; recovery retires record without duplicate link or date mutation
PASS: stale intent retired without moving the new generation
Interrupted-cleanup replay result: closed_incomplete (not ordinary closed success)

Final persisted private backlog:
# Backlog

## In flight
- [ ] new-generation-test - new incarnation must survive (since 2026-10-10)
## Queued
- [ ] held-test - unresolved captain call https://gitlab.example.test/group/sub/project/-/merge_requests/7 (since 2026-10-10) (hold: choose next work) (hold-kind: captain)
  Deliverable of the finished work: PR https://gitlab.example.test/group/sub/project/-/merge_requests/7
## Done
- [x] incomplete-test - incomplete cleanup must retain retry evidence https://gitlab.example.test/group/sub/project/-/merge_requests/7 (merged 2026-10-10)
- [x] retirement-test - completion before failed record retirement https://gitlab.example.test/group/sub/project/-/merge_requests/7 (merged 2026-10-10)
- [x] backfill-test - already done backfill https://gitlab.example.test/group/sub/project/-/merge_requests/7 (merged 2026-10-10)
- [x] close-test - real consumer completion https://gitlab.example.test/group/sub/project/-/merge_requests/7 (merged 2026-10-10)
  original body

Real consumer preview receipts:
{
  "ok": true,
  "action": "done",
  "dry_run": true,
  "pruned": 0,
  "task": {
    "id": "close-test",
    "title": "real consumer completion https://gitlab.example.test/group/sub/project/-/merge_requests/7",
    "state": "done",
    "kind": null,
    "repo": null,
    "priority": null,
    "created": "2026-10-10",
    "closed": "2026-10-10",
    "deps": [],
    "hold": null,
    "links": [
      {
        "kind": "pr",
        "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/7"
      }
    ],
    "body": "original body",
    "blocked": false,
    "blocked_by": [],
    "held": false
  }
}
{
  "ok": true,
  "action": "update",
  "dry_run": true,
  "changed": [
    "body",
    "archive",
    "links"
  ],
  "task": {
    "id": "close-test",
    "title": "real consumer completion https://gitlab.example.test/group/sub/project/-/merge_requests/7",
    "state": "in_flight",
    "kind": null,
    "repo": null,
    "priority": null,
    "created": "2026-10-10",
    "closed": null,
    "deps": [],
    "hold": null,
    "links": [
      {
        "kind": "pr",
        "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/7"
      }
    ],
    "body": "replacement body",
    "blocked": false,
    "blocked_by": [],
    "held": false
  }
}
{
  "ok": true,
  "action": "done",
  "pruned": 0,
  "task": {
    "id": "backfill-test",
    "title": "already done backfill",
    "state": "done",
    "kind": null,
    "repo": null,
    "priority": null,
    "created": "2026-10-10",
    "closed": "2026-10-10",
    "deps": [],
    "hold": null,
    "links": [],
    "body": null,
    "blocked": false,
    "blocked_by": [],
    "held": false
  }
}
{
  "ok": true,
  "action": "done",
  "dry_run": true,
  "already": true,
  "pruned": 0,
  "task": {
    "id": "backfill-test",
    "title": "already done backfill https://gitlab.example.test/group/sub/project/-/merge_requests/7",
    "state": "done",
    "kind": null,
    "repo": null,
    "priority": null,
    "created": null,
    "closed": "2026-10-10",
    "deps": [],
    "hold": null,
    "links": [
      {
        "kind": "pr",
        "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/7"
      }
    ],
    "body": null,
    "blocked": false,
    "blocked_by": [],
    "held": false
  }
}
Evidence: Historical close-date and exact-link idempotence

Source: Historical close-date and exact-link idempotence

Seeded persisted row: # Backlog

## In flight
## Queued
## Done
- [x] historical - Historical completion (done 2026-10-10)

true
{
  "ok": true,
  "action": "done",
  "dry_run": true,
  "already": true,
  "pruned": 0,
  "task": {
    "id": "historical",
    "title": "Historical completion https://gitlab.example.test/group/sub/project/-/merge_requests/7",
    "state": "done",
    "kind": null,
    "repo": null,
    "priority": null,
    "created": null,
    "closed": "2025-01-02",
    "deps": [],
    "hold": null,
    "links": [
      {
        "kind": "pr",
        "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/7"
      }
    ],
    "body": null,
    "blocked": false,
    "blocked_by": [],
    "held": false
  }
}
true
{
  "ok": true,
  "action": "done",
  "dry_run": true,
  "already": true,
  "pruned": 0,
  "task": {
    "id": "historical",
    "title": "Historical completion https://gitlab.example.test/group/sub/project/-/merge_requests/7",
    "state": "done",
    "kind": null,
    "repo": null,
    "priority": null,
    "created": null,
    "closed": "2025-01-02",
    "deps": [],
    "hold": null,
    "links": [
      {
        "kind": "pr",
        "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/7"
      }
    ],
    "body": null,
    "blocked": false,
    "blocked_by": [],
    "held": false
  }
}
Historical close date preserved across repeated persisted-record backfill; exactly one canonical link.
Evidence: Real GitLab lookup, fetch, review and old-consumer refusal

Source: Real GitLab lookup, fetch, review and old-consumer refusal

State-only: state=merged merged=true head=
Verified identity=https://gitlab.com/KarotKris/gitlab-merge-watch-fixture/-/merge_requests/1 state=merged head=33762fcf6777c8d993220d25fb541e56c48081b9 target=main
Fetched exact source head into private ref: 33762fcf6777c8d993220d25fb541e56c48081b9
commit 33762fcf6777c8d993220d25fb541e56c48081b9
Author: Christopher McKay <[email protected]>
Date:   Mon Jul 20 22:07:18 2026 -0400

    add the merged example file

 merged-example.txt | 2 ++
 1 file changed, 2 insertions(+)
Wrong expected SHA refused
Missing MR ref refused
Foreign target repository refused
Real review-diff selected live SHA over stale recorded head and deleted legacy base
Snapshot: latest terminal link, metadata precedence, scout/incidental exclusion verified
Accepted canonical URL: https://gitlab.com/KarotKris/gitlab-merge-watch-fixture/-/merge_requests/1
Accepted canonical URL: https://gitlab.example.test/group/sub/project/-/merge_requests/7
Accepted canonical URL: https://github.com/owner/repo/pull/7
Accepted canonical URL: https://forgejo.example.test/owner/repo/pulls/7
Rejected non-review URL: https://gitlab.com/group/project/-/issues/7
Rejected non-review URL: https://gitlab.com/group/project/-/merge_requests/0
Rejected non-review URL: https://gitlab.com/group/project/-/merge_requests/7?x=1
ok: added private-completion -> In flight
task:
  id: private-completion
  title: Private completion scenario
  state: in_flight
  blocked: no
  blocked_by: none
  held: no
  hold_reason: "-"
  hold_kind: "-"
  hold_until: "-"
  kind: task
  repo: "-"
  priority: "-"
  created: 2026-10-10
  closed: "-"
  deps: none
  links: none
  body: ""
help[2]:
  - Run `tasks-axi done private-completion --pr <url> --file=~/.no-mistakes/worktrees/cb3ff81633e8/01M4JF4DDZJ053B70DEBQKMMF2/.test-phase-tmp/live/home/data/backlog.md` when it ships
  - Run `tasks-axi block private-completion --by <other> --file=~/.no-mistakes/worktrees/cb3ff81633e8/01M4JF4DDZJ053B70DEBQKMMF2/.test-phase-tmp/live/home/data/backlog.md` to record a dependency
Completion replay refusal: tasks-axi done requires --dry-run support; install the published preview-capable release before completion
Retention preview refusal: tasks-axi update requires --dry-run support; install the published preview-capable release before completion
task:
  id: private-completion
  title: Private completion scenario
  state: in_flight
  blocked: no
  blocked_by: none
  held: no
  hold_reason: "-"
  hold_kind: "-"
  hold_until: "-"
  kind: task
  repo: "-"
  priority: "-"
  created: 2026-10-10
  closed: "-"
  deps: none
  links: none
  body: ""
All live checks above completed; real consumer 0.2.6 retained row, metadata and completion record without writes
Evidence: Independent GitLab content proof

Source: Independent GitLab content proof

web_url=https://gitlab.com/im3sk/erp/-/merge_requests/780
head=6c5f61e4388fb99c7ba0dbda8b1909267011daa0
fetched_source_sha=6c5f61e4388fb99c7ba0dbda8b1909267011daa0
target=main
target_identity=verified
content_tree_equal=yes
Independent disposable copy; no endpoint cleanup or completion replay.
Evidence: Real-consumer canonical and malformed URL parity

Source: Real-consumer canonical and malformed URL parity

{
  "absolute_consumer": "~/github/kunchenguid/firstmate/data/fm-gitlab-compat/dependency/node_modules/.bin/tasks-axi",
  "preview_did_not_mutate_backlog": true,
  "receipts": [
    {
      "url": "https://gitlab.com/group/project/-/merge_requests/7",
      "firstmate_accepts": true,
      "consumer_accepts": true,
      "consumer_response": "{\n  \"ok\": true,\n  \"action\": \"update\",\n  \"dry_run\": true,\n  \"changed\": [\n    \"links\"\n  ],\n  \"task\": {\n    \"id\": \"parity-test\",\n    \"title\": \"private URL validation https://gitlab.com/group/project/-/merge_requests/7\",\n    \"state\": \"queued\",\n    \"kind\": null,\n    \"repo\": null,\n    \"priority\": null,\n    \"created\": \"2026-10-10\",\n    \"closed\": null,\n    \"deps\": [],\n    \"hold\": null,\n    \"links\": [\n      {\n        \"kind\": \"pr\",\n        \"url\": \"https://gitlab.com/group/project/-/merge_requests/7\"\n      }\n    ],\n    \"body\": null,\n    \"blocked\": false,\n    \"blocked_by\": [],\n    \"held\": false\n  }\n}\n"
    },
    {
      "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/780",
      "firstmate_accepts": true,
      "consumer_accepts": true,
      "consumer_response": "{\n  \"ok\": true,\n  \"action\": \"update\",\n  \"dry_run\": true,\n  \"changed\": [\n    \"links\"\n  ],\n  \"task\": {\n    \"id\": \"parity-test\",\n    \"title\": \"private URL validation https://gitlab.example.test/group/sub/project/-/merge_requests/780\",\n    \"state\": \"queued\",\n    \"kind\": null,\n    \"repo\": null,\n    \"priority\": null,\n    \"created\": \"2026-10-10\",\n    \"closed\": null,\n    \"deps\": [],\n    \"hold\": null,\n    \"links\": [\n      {\n        \"kind\": \"pr\",\n        \"url\": \"https://gitlab.example.test/group/sub/project/-/merge_requests/780\"\n      }\n    ],\n    \"body\": null,\n    \"blocked\": false,\n    \"blocked_by\": [],\n    \"held\": false\n  }\n}\n"
    },
    {
      "url": "https://github.com/o/r/pull/7",
      "firstmate_accepts": true,
      "consumer_accepts": true,
      "consumer_response": "{\n  \"ok\": true,\n  \"action\": \"update\",\n  \"dry_run\": true,\n  \"changed\": [\n    \"links\"\n  ],\n  \"task\": {\n    \"id\": \"parity-test\",\n    \"title\": \"private URL validation https://github.com/o/r/pull/7\",\n    \"state\": \"queued\",\n    \"kind\": null,\n    \"repo\": null,\n    \"priority\": null,\n    \"created\": \"2026-10-10\",\n    \"closed\": null,\n    \"deps\": [],\n    \"hold\": null,\n    \"links\": [\n      {\n        \"kind\": \"pr\",\n        \"url\": \"https://github.com/o/r/pull/7\"\n      }\n    ],\n    \"body\": null,\n    \"blocked\": false,\n    \"blocked_by\": [],\n    \"held\": false\n  }\n}\n"
    },
    {
      "url": "https://forgejo.example.test/o/r/pulls/7",
      "firstmate_accepts": true,
      "consumer_accepts": true,
      "consumer_response": "{\n  \"ok\": true,\n  \"action\": \"update\",\n  \"dry_run\": true,\n  \"changed\": [\n    \"links\"\n  ],\n  \"task\": {\n    \"id\": \"parity-test\",\n    \"title\": \"private URL validation https://forgejo.example.test/o/r/pulls/7\",\n    \"state\": \"queued\",\n    \"kind\": null,\n    \"repo\": null,\n    \"priority\": null,\n    \"created\": \"2026-10-10\",\n    \"closed\": null,\n    \"deps\": [],\n    \"hold\": null,\n    \"links\": [\n      {\n        \"kind\": \"pr\",\n        \"url\": \"https://forgejo.example.test/o/r/pulls/7\"\n      }\n    ],\n    \"body\": null,\n    \"blocked\": false,\n    \"blocked_by\": [],\n    \"held\": false\n  }\n}\n"
    },
    {
      "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/0",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/0780",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/780junk",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/780/",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/780?x=1",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/780#x",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/780\n",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a single line\"\ncode: VALIDATION_ERROR\nhelp[1]: Pass --pr=... without line breaks\n"
    },
    {
      "url": "https://gitlab.example.test/group/sub/project/-/merge_requests/780\^A",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": " https://gitlab.example.test/group/sub/project/-/merge_requests/780",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "http://gitlab.com/o/r/-/merge_requests/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://Gitlab.com/o/r/-/merge_requests/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://[email protected]/o/r/-/merge_requests/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.com:443/o/r/-/merge_requests/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.com/o%2Fr/r/-/merge_requests/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.com/o/../r/-/merge_requests/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.com/o//r/-/merge_requests/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.com/o/-/r/-/merge_requests/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.com/o/-repo/-/merge_requests/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.com/o/r.git/-/merge_requests/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://github.com/o/r/-/merge_requests/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://github.com/o/r/pulls/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://forgejo.example.test/o/r/pull/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    },
    {
      "url": "https://gitlab.com/o/r/-/issues/7",
      "firstmate_accepts": false,
      "consumer_accepts": false,
      "consumer_response": "error: \"--pr must be a canonical pull request URL: https://github.com/<owner>/<repo>/pull/<n> (GitHub), https://<host>/<owner>/<repo>/pulls/<n> (Forgejo), or https://<host>/<group[/subgroup...]>/<project>/-/merge_requests/<n> (GitLab)\"\ncode: VALIDATION_ERROR\n"
    }
  ]
}
Evidence: Dependency identity, suite results and live-driver receipt

Source: Dependency identity, suite results and live-driver receipt

{
  "head": "684202e84a6bf5fac69bc0084f4413e21dfe5798",
  "dependency": {
    "source_artifact": "~/github/kunchenguid/firstmate/data/tasks-gitlab-compat/tasks-axi-ad17640f013adf8120175db621f804d1b4554f48.tgz",
    "sha256": "d51affb60e0994225261fa2fa9e0ff5b680ca8adb0bcac16e419a8c3f3d0fe83",
    "development_commit": "ad17640f013adf8120175db621f804d1b4554f48",
    "absolute_executable": "~/github/kunchenguid/firstmate/data/fm-gitlab-compat/dependency/node_modules/.bin/tasks-axi",
    "byte_identical_files": 34
  },
  "suite_summary": {
    "duration_ms": 1563302,
    "failed": 0,
    "skipped_gate": 0,
    "total": 13
  },
  "independent_driver_exits": {
    "integration": 0,
    "retained-retry": 0,
    "record-guards": 0,
    "addressing": 0,
    "inactive": 0,
    "live": 0,
    "fork-named": 0,
    "content-proof": 0,
    "landing-refusals": 0,
    "url-parity": 0,
    "historical-date": 0
  },
  "workspace_clean": true,
  "historical_limit": "Earlier watcher-cycle timeouts remain unexplained; fresh complete security suite passed without changed assertions or waiver.",
  "scope": "Test phase only. No lint, documentation checks, publication, PR, CI, real fleet/ERP cleanup, credential mutation or runtime server launch."
}
Evidence: Exact verification commands and setup corrections

Source: Exact verification commands and setup corrections

Code root: ~/.no-mistakes/worktrees/cb3ff81633e8/01M4JF4DDZJ053B70DEBQKMMF2

Dependency: {"source_artifact": "~/github/kunchenguid/firstmate/data/tasks-gitlab-compat/tasks-axi-ad17640f013adf8120175db621f804d1b4554f48.tgz", "sha256": "d51affb60e0994225261fa2fa9e0ff5b680ca8adb0bcac16e419a8c3f3d0fe83", "development_commit": "ad17640f013adf8120175db621f804d1b4554f48", "absolute_executable": "~/github/kunchenguid/firstmate/data/fm-gitlab-compat/dependency/node_modules/.bin/tasks-axi", "byte_identical_files": 34}

Full selected owner suites:
env -u BASH_ENV -u FM_HOME -u FM_ROOT_OVERRIDE -u FM_STATE_OVERRIDE -u FM_DATA_OVERRIDE -u FM_CONFIG_OVERRIDE -u FM_PROJECTS_OVERRIDE -u TASKS_AXI_FILE -u TASKS_AXI_BACKEND -u FM_TASKS_AXI_COMPATIBLE PATH="~/github/kunchenguid/firstmate/data/fm-gitlab-compat/dependency/node_modules/.bin:$PATH" TMPDIR=/tmp bin/fm-test-run.sh --json ~/.no-mistakes/evidence/01M4JF4DDZJ053B70DEBQKMMF2/targeted.json tests/fm-pr-check-security.test.sh tests/fm-pr-merge.test.sh tests/fm-crew-state.test.sh tests/fm-teardown.test.sh tests/fm-teardown-endpoint-safety.test.sh tests/fm-review-diff.test.sh tests/fm-backlog-atomicity.test.sh tests/fm-tasks-axi.test.sh tests/fm-bootstrap.test.sh tests/fm-public-followup.test.sh tests/fm-fleet-snapshot-view.test.sh tests/fm-bearings-snapshot.test.sh tests/fm-inactive-reconcile.test.sh
Output: targeted.log; all selected scripts exit 0, no gate or integration skips.

Independent disposable live drivers (each returned exit 0):
bash ~/.no-mistakes/evidence/01M4JF4DDZJ053B70DEBQKMMF2/test-recheck-integration.sh
bash ~/.no-mistakes/evidence/01M4JF4DDZJ053B70DEBQKMMF2/retained-retry.sh
bash ~/.no-mistakes/evidence/01M4JF4DDZJ053B70DEBQKMMF2/record-guards.sh
bash ~/.no-mistakes/evidence/01M4JF4DDZJ053B70DEBQKMMF2/addressing.sh
bash ~/.no-mistakes/evidence/01M4JF4DDZJ053B70DEBQKMMF2/test-recheck-inactive.sh
bash ~/.no-mistakes/evidence/01M4JF4DDZJ053B70DEBQKMMF2/live-driver.sh
bash ~/.no-mistakes/evidence/01M4JF4DDZJ053B70DEBQKMMF2/fork-named.sh
bash ~/.no-mistakes/evidence/01M4JF4DDZJ053B70DEBQKMMF2/content-proof.sh
bash ~/.no-mistakes/evidence/01M4JF4DDZJ053B70DEBQKMMF2/landing-refusals.sh
bash ~/.no-mistakes/evidence/01M4JF4DDZJ053B70DEBQKMMF2/historical-date.sh
python3 ~/.no-mistakes/evidence/01M4JF4DDZJ053B70DEBQKMMF2/test-recheck-url-parity.py

Setup-only corrections: initial dynamic shell loop was refused by Safety Net; used literal verified script paths. One content-proof invocation had a mistyped evidence path; corrected and reran. Historical-date driver initially expected merged instead of the actual done annotation; corrected persisted-data setup and reran successfully. No product/source changes.
All disposable worktree fixtures removed; real dependency preserved unchanged. Git status --short clean.

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

✅ **Test** - passed

✅ No issues found.

  • Live validation: ✅ go - 9 of 9 scenarios driven live against the product
Scenario Result Live Evidence
Read a real merged GitLab MR and fetch only its verified exact source head ✅ pass live live.log; live-mr-fields.json; content-proof.log
Resolve fork source work through the target repository and preserve a nondefault named target ✅ pass live fork-named.log
Attempt teardown with dirty, untracked or extra local work and preserve it ✅ pass live landing-refusals.log
Review GitLab work using the fresh live head instead of stale metadata ✅ pass live live-review-diff.txt; live.log
Complete and retain tasks through real previews, write failures and recoverable replay ✅ pass live integration.log; retained-retry.log; historical-date.log
Reject unsafe completion records without moving task data ✅ pass live record-guards.log; integration.log
Address relocated backlogs, archives and manual mode without touching the default backlog ✅ pass live addressing.log
Publish canonical review links in snapshots and inactive returns without treating scouts or incidental mentions as deliveries ✅ pass live live-snapshot.json; live.log; inactive.log
Accept canonical reviews and reject malformed links consistently with the real compatible consumer ✅ pass live url-parity.json; targeted.log
  • Verified the supplied tasks-axi artifact SHA-256 and compared all 34 packaged files byte-for-byte with the installed dependency; details in dependency.json.
  • Ran bin/fm-test-run.sh with all 13 selected behavioral owners, including complete security, teardown, backlog-atomicity, public-followup, bearings and endpoint-safety suites; exact invocation in commands.txt.
  • Ran disposable live integration drivers for completion previews, actual write refusals, retention, recovery, historical close-date preservation, record guards and relocated-backlog addressing.
  • Ran read-only real GitLab identity, fork-target, named-target, exact-head fetch, content-proof and fresh review-diff checks.
  • Ran real snapshot/inactive-return checks and canonical/malformed URL parity against the supplied compatible consumer.
  • Removed disposable worktree fixtures and verified git status --short was clean.
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: thanks @mikaelz. Proper GitLab landing proof and a refusal before destructive cleanup are both things the fleet wants. I read head 70a3e65e against main fb75c1f9. I also reviewed the diff (no workflow or secret surface; fetches stay on the verified origin's refs/merge-requests/<iid>/head) and approved CI 38040217620 and Require no-mistakes 38040217626.

Contract-class: new-default. With this tip, every close/retain on the tasks-axi backend first requires tasks-axi done|update --dry-run. If --help doesn't list it, teardown refuses completion ("install the published preview-capable release"). The newest tasks-axi release I can find is v0.2.6, and the lib comment says the release number "is not known" yet. So on an ordinary home, teardown completion would stop until a tasks-axi release ships. Replay is also reordered.

VISION, rule by rule: one captain aligns · authority aligns (refuses before destruction) · scripts/agents aligns · restart aligns (retry records kept) · spine: cannot tell (hard dependency on an unpublished consumer) · vendor: GitLab via glab and GitHub preserved, aligns · scope: cannot tell (24 files, three concerns in one PR).

Waiting on you (author), whenever it suits:

  1. Which published tasks-axi release supports done/update --dry-run --json? If none has shipped yet, could completion fall back to today's path when the capability is missing, instead of refusing?
  2. Would you split this? The GitLab landing-proof and review-link fixes could likely land on their own as a restore. The completion preflight would then be a separate captain decision.
  3. Small thing: the body's Intent section includes pasted shell/auth output and a local plan path. You may want to tidy it.

Live validation (9/9) looks solid, so thank you for that.

…iew fixture in captain-hold and project-capacity suites, removed the ShellCheck variable-name collision, and updated the macOS snapshot expectation to 20 tests. Five complete suites passed (288 cases), canonical lint partition 2of2 and changed-file lint passed, actionlint passed, and git diff --check passed. Stock macOS Bash 3.2 remains unverified on Linux. Fixture-backed checks do not establish real compatible-consumer integration; public-followup reported its parity skips
@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: thanks for the CI round, @mikaelz. I read the delta 70a3e65e → e3d31d09. It renames a ShellCheck-colliding variable in fm-public-followup-lib.sh and bumps the snapshot count in ci.yml from 18 to 20, which is benign. It also makes fm-captain-hold-lifecycle and fm-project-capacity put a preview-capable tasks-axi fixture on PATH. There's no new security surface and the attestation matches the new head, so I approved fork runs 38050283977 (CI) and 38050283982 (Require no-mistakes).

That test change actually confirms my first question. Those suites only pass once a stub that supports --dry-run shadows the real tasks-axi. With today's published tasks-axi, teardown completion would still refuse.

Contract-class: new-default (unchanged). VISION: spine and scope are still cannot-tell, and the other rules align, as in my last stamp.

Still waiting on you, whenever it suits:

  1. Name the published tasks-axi release that supports done/update --dry-run --json. If none exists, please fall back to today's completion path when the capability is missing instead of refusing.
  2. Consider splitting: GitLab landing proof and review links on their own (likely a restore), and the completion preflight as a separate captain decision.
  3. Tidy the pasted auth output and local plan path in the body.

This isn't waiting on Kun yet.

@mikaelz

mikaelz commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #7048, which carries the GitLab landing-proof and review-link fixes on their own.

@mikaelz mikaelz closed this Oct 21, 2026
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