Uploaded September 2026 | Updated November 2026, 13 hours ago
It Works! Tsugi Imports a Real Canvas Common Cartridge
I’d probably use the second one. The first half was architectural; this one earns a payoff title.
Description
This is the second half of building the Common Cartridge import MVP in Tsugi — and this is where it starts actually working.
We begin with the schema, services, duplicate detection, and unit tests already in place. Then I hand Cursor a small Common Cartridge exported from Canvas and start moving from architecture into real import behavior.
One thing I want from the beginning is good import logging. Cartridge imports can be complicated, and I want instructors to be able to see what happened instead of wondering what the LMS did behind the scenes.
Along the way, I also start thinking about the next architectural problem: larger cartridges may take too long for a single PHP request, so eventually the importer will need some form of background or chunked processing with progress reporting.
Then comes the fun part.
I upload a real Canvas Common Cartridge through the new Tsugi import UI.
And things start appearing.
Files import correctly. Links are connected. Lessons show up. QTI resources are detected. At first it looks like the quiz failed — but digging into the logs and the quiz tool reveals that the quiz actually imported correctly. The real problem is that the lesson link was being rendered without the course context in the URL.
That turns into a very satisfying bug: the importer worked; the display path was wrong. Once that is fixed, the imported lesson can correctly link to the imported quiz.
At that point we have “first light” for the Common Cartridge importer.
It is not finished. There are still corners to test, richer page support to add, larger cartridges to think about, and production risk to manage. But the MVP is real enough to commit, branch, review, and start hardening.
The part that still amazes me is the development speed. Building comparable import/export infrastructure in Sakai took months. With a smaller scope and AI helping with implementation, I now have a working Common Cartridge import MVP in less than 36 hours.
The workflow remains the same:
brainstorm → data model → services → unit tests → UI → iterate
Get the data model right early, then let the rest of the system grow around it.
It Works! Tsugi Imports a Real Canvas Common Cartridge
I’d probably use the second one. The first half was architectural; this one earns a payoff title.
Description
This is the second half of building the Common Cartridge import MVP in Tsugi — and this is where it starts actually working.
We begin with the schema, services, duplicate detection, and unit tests already in place. Then I hand Cursor a small Common Cartridge exported from Canvas and start moving from architecture into real import behavior.
One thing I want from the beginning is good import logging. Cartridge imports can be complicated, and I want instructors to be able to see what happened instead of wondering what the LMS did behind the scenes.
Along the way, I also start thinking about the next architectural problem: larger cartridges may take too long for a single PHP request, so eventually the importer will need some form of background or chunked processing with progress reporting.
Then comes the fun part.
I upload a real Canvas Common Cartridge through the new Tsugi import UI.
And things start appearing.
Files import correctly. Links are connected. Lessons show up. QTI resources are detected. At first it looks like the quiz failed — but digging into the logs and the quiz tool reveals that the quiz actually imported correctly. The real problem is that the lesson link was being rendered without the course context in the URL.
That turns into a very satisfying bug: the importer worked; the display path was wrong. Once that is fixed, the imported lesson can correctly link to the imported quiz.
At that point we have “first light” for the Common Cartridge importer.
It is not finished. There are still corners to test, richer page support to add, larger cartridges to think about, and production risk to manage. But the MVP is real enough to commit, branch, review, and start hardening.
The part that still amazes me is the development speed. Building comparable import/export infrastructure in Sakai took months. With a smaller scope and AI helping with implementation, I now have a working Common Cartridge import MVP in less than 36 hours.
The workflow remains the same:
brainstorm → data model → services → unit tests → UI → iterate
Get the data model right early, then let the rest of the system grow around it.










