Recued
Menu
← Back to recipes

Assemble Evidence Packet

by recued-core v1 13 views

Use “Assemble Evidence Packet” in Recued. Assembles everything Recued holds about one person over a window into a single markdown file on your disk: their mail, files whose names carry your terms, and their memory timeline. Needs contactemail and packetslug (a file collection with the write capability).

How it works 55 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (55 steps)
window date_period
Apply date_period
since date_parse
Parse window start as a date
until date_parse
Parse window end as a date
run_day date_period
Apply date_period
generated_on date_format
Format as a date
email_ready compare
Check if setting contact email has data
entity_ref template
Generate text from a template
email_parts split
Split setting contact email into parts
local_slice slice
Take a subset of
local_part join
Join items with ""
file_terms flatten
Flatten nested lists in
timeline_raw ?
skip: step.email_ready equal false
timeline default
Apply default
timeline_count count
Count items in timeline
timeline_dated map
Extract ts from each item
timeline_rows map
Extract from each item
timeline_body join
Join items with " "
messages_raw ?
skip: step.email_ready equal false
messages default
Apply default
scanned_count count
Count items in messages
from_tagged map
Extract hot_fields.from from each item
party_tagged map
Extract hot_fields.to from each item
party_mails filter
Filter by condition
party_mail_count count
Count items in party mails
mails_safe map
Extract hot_fields.subject from each item
mails_dated map
Extract received_at from each item
mail_rows map
Extract from each item
mail_body join
Join items with " "
files_raw ?
skip: step.email_ready equal false
files default
Apply default
files_scanned_count count
Count items in files
files_tagged map
Extract hot_fields.filename from each item
party_files filter
Filter by condition
party_file_count count
Count items in party files
files_safe map
Extract hot_fields.filename from each item
file_rows map
Extract from each item
file_body join
Join items with " "
file_cards map
Extract from each item
terms_text join
Join items with ", "
has_mails compare
Check if party mails has data
has_files compare
Check if party files has data
has_timeline compare
Check if timeline has data
has_evidence any
Check if any of the conditions are true
slug_ready compare
Check if setting packet slug has data
can_write all
Check if all conditions are true
packet_md template
Generate text from a template
packet_b64 encode_base64
Apply encode_base64
skip: step.can_write equal false
packet_path template
Generate text from a template
write_packet ?
skip: step.packet_b64 is_null
written ?
skip: step.write_packet is_null
written_bytes default
Apply default
packet_state ternary
Apply ternary
mail_table_rows slice
Take a subset of
mail_table to_table
Format results as a data table
card to_summary
Format results as a summary card
Settings 11 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

period setting = last_90_days
file slug setting = received
mail slug setting = primary
row limit setting = 50
file limit setting = 500
packet dir setting = recued-packets
scan limit setting = 1000
extra terms setting =
packet slug setting =
contact email setting =
timeline limit setting = 100

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your memory
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

filepacketevidencetimelinememorymailwarehousedossierpack:file-toolkit

Details

55 steps 11 configurable settings recipe_id: assemble-evidence-packet