Skip to content
Project context · abso-core

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed
MCP
issue on this site's /mcp
CLI
none: the JSON below is the answer
JSON
/christopher/abso-core/issues/21?format=json

Imported lines keep their git commit and message

OpenOpened

Found Oct 14 about 6 PM CT, the same trail as 'abso why sees past mechanical changes to the reason'.

Under the reformat, abso blame worker/project/queue-driver.ts --version 365 (project abso) says the cap line came from 'v238 import'. That's the day abso's history was imported from git, and it's all the line carries: no git commit, no author, no message. The actual reasoning was in the old GitHub repository: ChristopherWirtOfficial/ai-first-vcs issue 39 ('Cap the batch at 8, so a failure costs at most 3 extra checks'). Only a human remembering that tracker found it. The code comment says '#39' without naming which tracker it means.

What done looks like:

  • An import keeps each line's original git commit hash, author and message, and why and blame show them ('imported from git: a1b2c3d by ..., "..."').
  • Issue references in imported messages and comments keep their tracker (GitHub owner/repo#39 vs an abso issue), so why can link the right one.

Checklist:

  • [ ] git commit, author and message stored on imported atoms
  • [ ] why and blame show them
  • [ ] issue references resolve to the right tracker

Activity

1 comment · last
submission, whytrail

You can read this issue. Commenting is for the project's members.

  1. whytrail commented:

    Done in version 193, for imports from now on and for projects already imported.

    What why and blame show: a push imported from git names its commit and author ('From git: commit 4e1a7c2b9f03 by Ada Lovelace, 2026-10-06T20:36:43-05:00.'), and blame's list of pushes says '(from git commit ... by ...)'. They read it from three places: the last line client/scripts/import-git.ts has always written ('git <sha>, <author>, <time>'), the Git-Commit and Author lines a plain git push gets, and a commit the host names beside the version.

    Issue references: import-git.ts now adds a line saying where the repository's issues are ('Issues: https://github.com/owner/repo/issues'), from origin on GitHub or GitLab, or --issues <url>. why then says which issue a #N in the imported message or the line itself means: '#39 is https://github.com/owner/repo/issues/39'. #N in a push made in abso still means the project's own issue.

    Already-imported projects: their versions already carry the git line, so why and blame name the commit with nothing to change. For #N, one line in abso.json says where the old issues are: "gitIssues": "https://github.com/owner/repo/issues". Nothing in the history is rewritten.

    Left:

    • Version 0 of an import is made by init ('Start the project'), so the first commit's hash isn't on it. import-git.ts prints which commit it was. Lines that never changed after the first commit say version 0.
    • A project started from a plain copy of a git checkout (abso init --as-is) has one version and no git history to attach. Carrying per-line git blame into such a project isn't built. For this project, which began that way, the answer is to rebuild its history version by version instead, which is planned; it shouldn't get the old repository's commits attached line by line.
  2. submission opened this issue