Skip to content

Instantly share code, notes, and snippets.

View manu354's full-sized avatar

Manu Masson manu354

View GitHub Profile
@manu354
manu354 / decompose_subtask_dependency_graph_and_orchestrate.md
Created February 2, 2026 03:47
Instructions for orchestrating multi-agent feature development through a dependency graph. Defines a 5-phase structure: data model, TDD, isolated UI with visual testing, and E2E integration.

ORCHESTRATION Instructions

  1. Decompose all subtasks required to accomplish this task into a dependency graph of nodes.

  2. Spawn agents to work through this dependency graph.

    • Note: wait_for_agent tool can be buggy—may need to call it multiple times.
  3. Manage/orchestrate Voicetree MCP agents to work through the dependency graph.

Recommended Structure

Decomposing Tasks into Dependency Graphs

Your task is to decompose a task into a subtask dependency graph and add it to the markdown tree.

Naming Convention

Subtasks (Phases)

Sequential phases that depend on each other: Phase 1, Phase 2, Phase 3

  • Dependent subtask = child of previous phase
  • Phase N+1 is a child of Phase N
@manu354
manu354 / main.py
Created May 10, 2020 05:59
Three valued logic truth table generator
# Manu Masson
def or_f( a, b, ):
if a > b:
return a
else:
return b
def and_f( a, b):
if a < b:
return a
@manu354
manu354 / mandelbrot.c
Created April 11, 2018 09:04
mandelbrot.c
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <math.h>
#define MAX 256
#define PIXELS 512*512
#define ZOOM 6
#define CENTER_Y 0
#define CENTER_X 1
@manu354
manu354 / chessboard.c
Created April 11, 2018 06:26
chessboard.c
/*
* chessboard.c
* create a 512x512 BMP of a chessboard, with user specified size (in pixels)
* of the black and white squares on the board. bottom right square must be white.
*
* Created by Richard Buckland on 14/04/11, edited 5/4/14
* Licensed under Creative Commons BY 3.0.
*
*/
#include <stdio.h>
@manu354
manu354 / wondrous.c
Created March 25, 2018 06:51
wondrous.c
/*
* doomsday.c
* A program to test a function dayOfWeek which determines which
* day of the week a particular date falls on.
* (only for dates after the start of the Gregorian calendar).
*
* Program stub created by Richard Buckland on 17/03/14
* This program by YOUR-NAME-HERE
* Freely licensed under Creative Commons CC-BY-3.0
*
<div class="col-xs-12 col-md-offset-1 col-md-6">
<div class="chart animated animatedFadeInUp fadeInUp">
<div>
with content....
.
.
.
.
.
async function gdaxOpen(price, volume, coinTicker, type, orderID) {
return new Promise((async(resolve, reject) => {
function callback(err, response, data) {
if (err) throw err;
console.log('gdax response:, ERR:', err, "Ticker:", data.product_id, coinTicker, "Type: .. Price", data.side, type, price, "Response message:", data.message);
// logger.write(`GDAX api call response: ${data}`);
if (data.id) resolve(data.id);
else {
console.log(data);
resolve(false)
@manu354
manu354 / pokevision_filter.user.js
Last active July 25, 2016 10:47 — forked from JustusW/pokevision_filter.user.js
Filter Script for Pokevision.com
// ==UserScript==
// @name Enhanced Pokevision
// @namespace pokevision.com
// @author Justus
// @include https://pokevision*
//
// @run-at document-ready
// @include-jquery true
// @version 1.0.1
// ==/UserScript==