Coding 2025-04-19

By Max Woerner Chase

Okay, let's see... I was pretty tired today, so I didn't get as much done as I'd like. Let's see if I can sketch out the next steps I want to take, to make sure I can course-correct with MOTR.

I have a set of tasks. Some of these tasks are Cmd objects. The most important thing to look at about them is their lists of arguments. What I want to do is match on the contents of the argument lists. Two kinds of match are relevant: one is to treat the string as a path, and only look at the final segment; the other is to do an exact string match. My hope is that it will suffice to match one or two arguments. Once I've isolated a single Cmd object to inspect, I want to write assertions around their contents. Some of these assertions should be of the form "after this argument, expect this other argument". Others might need to be purely positional, which seems a little dicey. I'll need to think on this more, and get to bed for now.

Good night.