The virtue of Less Privilege
Great episode (#238) of Identerati Office Hours that poses the focus question: "Have you considered 'less' privilege?" Good one! It got me reflecting hard on some bad practices of mine- e.g. overuse of the 'sudo' command -but also served to remind me WHY it is important to follow the rather more ceremonious approach i am taking to code these days, vs the YOLO approach that characterised my initial forays into the world of vibe coding.
This approach, as enforced by Bram- the harness that i now use to keep me and my AI agent(s) swimming in our own proper lanes -is quite nicely explained in this episode by Bram developer Jon Udell (who has written well on this topic before). Key points i took away from it are as follows:
- "Understanding is a deliverable," says Jon, channelling the work of Peggy Storey. Don't hand the work to a swarm of agents and stop following it, which he calls "cognitive surrender".
- 100 times faster (i.e. "Ridiculous Speed," in Spaceballs terms) ought to be enough for any mere mortal, while 1,000x (i.e. "ludicrous speed") is beyond human understanding.
- The Worklist is plain good practice: break the work into tasks, agree what each one should do, and agree how you'll check it was done.
- Control comes in three layers:
a. written guidance for the agent, which agents follow unevenly;
b. hard checks built into the tool;
c. agents having their own identity, tied to a responsible person. - Agents write detailed logs and other agents read them. Whatever slips through gets new logging, so it's caught next time.
- Within these reasonable bounds, observe the principle of parsimony, and prune away the superfluous when no longer useful.
Note to self: Looking back through my recent record of commits (as channelled through Bram), i'm following this guidance pretty well overall... Yet it is that last point that i need to apply with a bit more diligence!
@judell : Good insight you brought to this panel i just happened to stumble across (searching for Bram-related content). Nice one!