Uploaded October 2026 | Updated November 2026, 14 hours ago
This is one of those episodes where a lot of architectural groundwork suddenly pays off.
For the past couple of months I’ve been reorganizing Tsugi around ReqScope, controllers, sessions, and LTI. In this episode I finally try the experiment all of that work has been leading toward:
Can an ordinary Tsugi controller receive an LTI launch, establish the right runtime context, and then continue running as normal controller code?
The answer is yes.
The first experiment uses the ReqScope debug controller. An incoming LTI launch runs through the existing LTI processing, establishes the cookieless session, populates ReqScope, and then lands in controller code that knows nothing about the original launch object.
And when the first real launch works, it is almost anticlimactic — because the visible result is boring. But architecturally, it means a month or more of careful changes have finally connected. Existing controller code can now become reusable from both ordinary logged-in sessions and LTI launches.
Then I push the experiment farther.
I take the simple Trophy grading tool and reproduce its behavior inside the ReqScope controller. That means testing whether an LTI-launched controller can receive a launch, establish ReqScope, maintain the cookieless session, render and process forms, access the LTI result, send grades, and store grading progress, activity progress, and comments locally.
Along the way we discover some interesting consequences of the new architecture. A lot of behavior that used to be conditional on “this is LTI 1.3” really doesn’t have to be. The controller can update the local gradebook regardless of whether the request came from LTI 1.1, LTI 1.3, or eventually a normal session. The external protocol only determines what can be sent back upstream.
There are also the usual AI coding moments: Cursor takes a route I would not have designed, I initially think something is broken when I’m looking at the wrong course, I nearly launch into a database-column rename, and then decide that is definitely a bridge too far for today.
By the end, the important result is clear:
LTI launches into existing Tsugi controllers are now working.
The implementation still needs cleanup, and session-based controllers still need a way to become gradable without an LTI-created resource link. But that is now finite engineering work rather than an architectural unknown.
The floor has been raised.
Tsugi: tsugi.org
Python for Everybody: py4e.com
Django for Everybody: dj4e.com
This is one of those episodes where a lot of architectural groundwork suddenly pays off.
For the past couple of months I’ve been reorganizing Tsugi around ReqScope, controllers, sessions, and LTI. In this episode I finally try the experiment all of that work has been leading toward:
Can an ordinary Tsugi controller receive an LTI launch, establish the right runtime context, and then continue running as normal controller code?
The answer is yes.
The first experiment uses the ReqScope debug controller. An incoming LTI launch runs through the existing LTI processing, establishes the cookieless session, populates ReqScope, and then lands in controller code that knows nothing about the original launch object.
And when the first real launch works, it is almost anticlimactic — because the visible result is boring. But architecturally, it means a month or more of careful changes have finally connected. Existing controller code can now become reusable from both ordinary logged-in sessions and LTI launches.
Then I push the experiment farther.
I take the simple Trophy grading tool and reproduce its behavior inside the ReqScope controller. That means testing whether an LTI-launched controller can receive a launch, establish ReqScope, maintain the cookieless session, render and process forms, access the LTI result, send grades, and store grading progress, activity progress, and comments locally.
Along the way we discover some interesting consequences of the new architecture. A lot of behavior that used to be conditional on “this is LTI 1.3” really doesn’t have to be. The controller can update the local gradebook regardless of whether the request came from LTI 1.1, LTI 1.3, or eventually a normal session. The external protocol only determines what can be sent back upstream.
There are also the usual AI coding moments: Cursor takes a route I would not have designed, I initially think something is broken when I’m looking at the wrong course, I nearly launch into a database-column rename, and then decide that is definitely a bridge too far for today.
By the end, the important result is clear:
LTI launches into existing Tsugi controllers are now working.
The implementation still needs cleanup, and session-based controllers still need a way to become gradable without an LTI-created resource link. But that is now finite engineering work rather than an architectural unknown.
The floor has been raised.
Tsugi: tsugi.org
Python for Everybody: py4e.com
Django for Everybody: dj4e.com










