Skip to content

Instantly share code, notes, and snippets.

@qizwiz
qizwiz / PR_DESCRIPTION.md
Created August 16, 2025 04:56
Professional CrewAI Workflow Transparency Implementation - Issue #3268 Solution

🏆 Professional Workflow Transparency Implementation (Issue #3268)

Executive Summary

This pull request provides a comprehensively tested, production-ready solution for CrewAI workflow transparency, addressing Issue #3268: "How to know which steps crew took to complete the goal."

Key Achievement: Fixed critical dataclass field ordering issues and implemented dynamic field iteration that eliminates manual maintenance while supporting unlimited enterprise fields.

🔍 Technical Problem Solved

def email_task_link(task)
patient = task.patient
practice = patient.practice
types = %w[sm_dso_doctor_setup_review_approve_order_aligner
assign_clinical_advisor
select_package_type]
options = [
{ link: 'task_setup_review_url', args: %i[practice task] },
{ link: 'edit_practice_patient_url', args: %i[practice task] },
{ link: 'new_order_url', args: %i[practice patient] }
def email_task_link(task)
product = task.product
practice = task.patient.practice
patient = task.patient
types = %w(sm_dso_doctor_setup_review_approve_order_aligner assign_clinical_advisor select_package_type)
options = [
{ link: 'task_setup_review_url', args: %i(practice task) },
{ link: 'edit_practice_patient_url', args: %i(practice task) },
{ link: 'new_order_url', args: %i(practice patient) }
]
@qizwiz
qizwiz / xmonad.hs
Last active October 30, 2019 16:34
my first xmonad config file
import Data.Char
import XMonad
import XMonad.Actions.WindowGo
import XMonad.Config.Desktop
import XMonad.Hooks.ManageDocks
import XMonad.Prompt
import XMonad.Prompt.RunOrRaise
import XMonad.Util.EZConfig (additionalKeysP)
xpConfig :: XPConfig
modified code/lib/eCarList/Bridge/eCarList/V1/REST.pm
@@ -47,6 +47,7 @@ Returns a new eCarList::Bridge::eCarList::V1::REST object.
Returns:
$self -- a blessed eCarList::Bridge::eCarList::V1::REST object
+
=cut
sub new {
my ($class, %args) = @_;
@@ -56,11 +57,10 @@ sub new {
Tramp: Opening connection for default using ssh...
Tramp: Sending command `exec ssh -o ControlPath=/var/folders/h5/fsftfbjd6z989gkv2gxrjf300000gq/T/tramp.29975Y4Q.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none default'
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on `default'
Tramp: Opening connection for default using ssh...done
<!DOCTYPE html>
<html>
<script src="scripts/jquery.js"></script>
<script src="scripts/underscore.js"></script>
<script src="scripts/backbone.js"></script>
<script src="scripts/admin.js"></script>
<body>
<h1>THIS IS AN ADMIN INTERFACE</h1>
<table id="feeds-view" class="table table-striped">
<div class="page-header">
<h1>>Navy Feeds</h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>Name></th>
<th>URL</th>
<th>Tags</th>
<th>Actions</th>
Create a tweets fixture in the tweets.yml file. The Tweet model has a zombie_id that's an Integer and a status that's a String.
# test/fixtures/tweets.yml
hello_world:
# zombies.yml
ash:
id: 1
name: 'Ash'
# We want to make sure that each game is a valid game object - in this case a simple hash of values. Even still, we wouldn't want to return a hash with a nil name. Raise an InvalidGameError error in the new_game method if name is nil.
class InvalidGameError < StandardError; end
def new_game(name, options={})
{
name: name,
year: options[:year],
system: options[:system]