feat(psf): implement advanced foundry automation and memory optimization

This commit is contained in:
2026-03-31 18:13:26 -04:00
parent 70be8ab93e
commit b3d89f88e5
17 changed files with 11187 additions and 20 deletions

6309
#inbox.org# Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -14092,3 +14092,648 @@ Take metformin on off days, with a meal, because it is heavy on the stomach
[2023-07-24 Mon 22:14] [2023-07-24 Mon 22:14]
* Someday/Maybe
:PROPERTIES:
:ORG_GTD_REFILE: Someday
:END:
** [[https://www.amazon.com/CANARY-Corrugated-Cardboard-Cutter-DC-191C/dp/B00HEZNHYA?linkId=98555c3c2c3f9b960cdaca3060908da1&language=en_US][Amazon.com: CANARY Cardboard Cutter with Safe Cover, Safety Box Cutter Box Opener Tool, Serrated Japanese Stainless Steel Blade, Orange, Made in JAPAN : Tools & Home Improvement]]
:PROPERTIES:
:CREATED: [2024-08-06 Tue 14:35]
:ID: Amazon-dot-com-CANARY-Cardboard-Cutter-with-Safe-2026-03-31-16-31-08
:TITLE: Amazon.com: CANARY Cardboard Cutter with Safe Cover, Safety Box Cutter Box Opener Tool, Serrated Japanese Stainless Steel Blade, Orange, Made in JAPAN : Tools & Home Improvement
:URI: https://www.amazon.com/CANARY-Corrugated-Cardboard-Cutter-DC-191C/dp/B00HEZNHYA?linkId=98555c3c2c3f9b960cdaca3060908da1&language=en_US
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/GRAVEL-Silicone-Travel-Bottles-Approved/dp/B09NMNWMYT?linkId=e4e52a4a091244f07c31c57a4636fcb1&language=en_US][Amazon.com: Gravel Travel Bottles TSA Approved 2-Pack 3 Oz Travel Bottles - Leakproof, Squeezable, BPA-Free Travel Bottles for Toiletries includes Label System for Travel Containers (Clear Speckle & Gray Speckle) : Beauty & Personal Care]]
:PROPERTIES:
:CREATED: [2024-08-06 Tue 14:42]
:ID: Amazon-dot-com-Gravel-Travel-Bottles-TSA-Approved-2026-03-31-16-33-21
:TITLE: Amazon.com: Gravel Travel Bottles TSA Approved 2-Pack 3 Oz Travel Bottles - Leakproof, Squeezable, BPA-Free Travel Bottles for Toiletries includes Label System for Travel Containers (Clear Speckle & Gray Speckle) : Beauty & Personal Care
:URI: https://www.amazon.com/GRAVEL-Silicone-Travel-Bottles-Approved/dp/B09NMNWMYT?linkId=e4e52a4a091244f07c31c57a4636fcb1&language=en_US
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/Gravel-Explorer-PLUS-Waterproof-Toiletry/dp/B07CWPW7H9?linkId=c2ae74cd51801091eac5e4657b697886&language=en_US][Amazon.com: Gravel Hanging Toiletry Bag, Water Resistant Hanging Travel Toiletry Bag for Shaving Kits, Makeup, Hanging Toiletry Bag for Men Dopp Kit & Hanging Cosmetic Travel Bag for Women (Black, Plus) : Beauty & Personal Care]]
:PROPERTIES:
:CREATED: [2024-08-06 Tue 14:42]
:ID: Amazon-dot-com-Gravel-Hanging-Toiletry-Bag-Water-2026-03-31-16-34-06
:TITLE: Amazon.com: Gravel Hanging Toiletry Bag, Water Resistant Hanging Travel Toiletry Bag for Shaving Kits, Makeup, Hanging Toiletry Bag for Men Dopp Kit & Hanging Cosmetic Travel Bag for Women (Black, Plus) : Beauty & Personal Care
:URI: https://www.amazon.com/Gravel-Explorer-PLUS-Waterproof-Toiletry/dp/B07CWPW7H9?linkId=c2ae74cd51801091eac5e4657b697886&language=en_US
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/WITHINGS-Body-Scan-Segmental-Composition/dp/B0CZTL6Q5G?ufe=app_do%3Aamzn1.fos.1740e8b9-be2d-46a4-a376-9d8efb903409&linkId=13725ec9fc8a20e1e0d6f56d43217993&language=en_US][Amazon.com: WITHINGS Body Scan - Smart Scale with Segmental Body Composition Analysis, Weighing Scales Body Weight & Vascular Age, Visceral Fat, Heart Rate, iOS/Android : Health & Household]]
:PROPERTIES:
:CREATED: [2024-08-06 Tue 14:47]
:ID: Amazon-dot-com-WITHINGS-Body-Scan-Smart-Scale-2026-03-31-16-34-53
:TITLE: Amazon.com: WITHINGS Body Scan - Smart Scale with Segmental Body Composition Analysis, Weighing Scales Body Weight & Vascular Age, Visceral Fat, Heart Rate, iOS/Android : Health & Household
:URI: https://www.amazon.com/WITHINGS-Body-Scan-Segmental-Composition/dp/B0CZTL6Q5G?ufe=app_do%3Aamzn1.fos.1740e8b9-be2d-46a4-a376-9d8efb903409&linkId=13725ec9fc8a20e1e0d6f56d43217993&language=en_US
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.jaquishbiomedical.com/products/x3-bar/][X3 Bar Elite | X3 Bar | Products | Jaquish Biomedical]]
:PROPERTIES:
:CREATED: [2024-08-06 Tue 14:47]
:ID: X3-Bar-Elite-X3-Bar-Products-Jaquish-Biomedical-2026-03-31-16-35-23
:TITLE: X3 Bar Elite | X3 Bar | Products | Jaquish Biomedical
:URI: https://www.jaquishbiomedical.com/products/x3-bar/
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.eightsleep.com/][Eight Sleep | The Intelligent Sleep System]] :sleep:
:PROPERTIES:
:CREATED: [2024-08-07 Wed 12:21]
:ID: Eight-Sleep-The-Intelligent-Sleep-System-2026-03-31-16-41-21
:TITLE: Eight Sleep | The Intelligent Sleep System
:URI: https://www.eightsleep.com/
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/dp/B0020TVDDM?social_share=cm_sw_r_cp_ud_dp_VS8HY1XMQK1EGJWH58WR][Amazon.com : MSR Alpine 2 Stainless Steel Camping Pot Set : Camping Cooking Utensils : Sports & Outdoors]]
:PROPERTIES:
:TITLE: Amazon.com : MSR Alpine 2 Stainless Steel Camping Pot Set : Camping Cooking Utensils : Sports & Outdoors
:URI: https://www.amazon.com/dp/B0020TVDDM?social_share=cm_sw_r_cp_ud_dp_VS8HY1XMQK1EGJWH58WR
:CREATED: [2024-08-08 Thu 12:20]
:ID: Amazon-dot-com-MSR-Alpine-2-Stainless-Steel-2026-03-31-16-47-51
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/dp/B00453QNU4?social_share=cm_sw_r_cp_ud_dp_EN8YCXR2F86GDFN3CW0A][Amazon.com: MSR Alpine Spatula, Black : Home & Kitchen]]
:PROPERTIES:
:TITLE: Amazon.com: MSR Alpine Spatula, Black : Home & Kitchen
:URI: https://www.amazon.com/dp/B00453QNU4?social_share=cm_sw_r_cp_ud_dp_EN8YCXR2F86GDFN3CW0A
:CREATED: [2024-08-08 Thu 12:21]
:ID: Amazon-dot-com-MSR-Alpine-Spatula-Black-Home-and-2026-03-31-16-48-06
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/dp/B000AR7970?social_share=cm_sw_r_cp_ud_dp_GG8XPE6F23TF1DB4FXH6][Amazon.com: TRANGIA Spirit Burner with Screwcap Versatile Easy to Use Alcohol Stove, 0 : Sports & Outdoors]]
:PROPERTIES:
:TITLE: Amazon.com: TRANGIA Spirit Burner with Screwcap Versatile Easy to Use Alcohol Stove, 0 : Sports & Outdoors
:URI: https://www.amazon.com/dp/B000AR7970?social_share=cm_sw_r_cp_ud_dp_GG8XPE6F23TF1DB4FXH6
:CREATED: [2024-08-08 Thu 12:22]
:ID: Amazon-dot-com-TRANGIA-Spirit-Burner-with-2026-03-31-16-48-12
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/dp/B079S2349Y?social_share=cm_sw_r_cp_ud_dp_0YFWT9C1ACDG4Z9HBF88][Amazon.com: Trangia Fuel Bottle Green : Automotive]]
:PROPERTIES:
:TITLE: Amazon.com: Trangia Fuel Bottle Green : Automotive
:URI: https://www.amazon.com/dp/B079S2349Y?social_share=cm_sw_r_cp_ud_dp_0YFWT9C1ACDG4Z9HBF88
:CREATED: [2024-08-08 Thu 12:22]
:ID: Amazon-dot-com-Trangia-Fuel-Bottle-Green-2026-03-31-16-48-20
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://modularbottle.com/products/tmb-standard][TMB - Modular Bottle TMB ModularBottle]] :water:
:PROPERTIES:
:TITLE: TMB - Modular Bottle TMB ModularBottle
:URI: https://modularbottle.com/products/tmb-standard
:CREATED: [2024-08-08 Thu 12:23]
:ID: TMB-Modular-Bottle-TMB-ModularBottle-2026-03-31-17-07-17
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.friendlyelec.com/index.php?route=product%2Fproduct&product_id=294][CM3588]] :computers:nas:
:PROPERTIES:
:CREATED: [2024-08-14 Wed 16:29]
:ID: CM3588-2026-03-31-17-09-29
:TITLE: CM3588
:URI: https://www.friendlyelec.com/index.php?route=product%2Fproduct&product_id=294
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/Odyssey-Friend-Letters-F-Buckley-1954-1961/dp/0895265672][Odyssey of a Friend: Letters to William F. Buckley, Jr. 1954-1961: Chambers, Whittaker: 9780895265678: Amazon.com: Books]]
:PROPERTIES:
:TITLE: Odyssey of a Friend: Letters to William F. Buckley, Jr. 1954-1961: Chambers, Whittaker: 9780895265678: Amazon.com: Books
:URI: https://www.amazon.com/Odyssey-Friend-Letters-F-Buckley-1954-1961/dp/0895265672
:CREATED: [2024-08-16 Fri 11:58]
:ID: Odyssey-of-a-Friend-Letters-to-William-F-dot-2026-03-31-17-12-49
:ORG_GTD: Someday
:CATEGORY: Library
:END:
** [[https://www.squarepegtoys.com/eggplugs/][EggPlugs | SquarePegToys®]] :sex:
:PROPERTIES:
:TITLE: EggPlugs | SquarePegToys®
:URI: https://www.squarepegtoys.com/eggplugs/
:CREATED: [2024-08-22 Thu 18:00]
:ID: EggPlugs-SquarePegToys-2026-03-31-17-14-45
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://store.45homelab.com/presale/hl8][45HomeLab Store]]
:PROPERTIES:
:TITLE: 45HomeLab Store
:URI: https://store.45homelab.com/presale/hl8
:CREATED: [2024-08-28 Wed 11:17]
:ID: 45HomeLab-Store-2026-03-31-17-19-16
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.lovense.store/lovense-hush-2][Lovense Hush 2]] :sex:
:PROPERTIES:
:CREATED: [2024-09-04 Wed 08:35]
:ID: Lovense-Hush-2-2026-03-31-17-23-44
:TITLE: Lovense Hush 2
:URI: https://www.lovense.store/lovense-hush-2
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://choosemuse.com/pages/muse-2-offers?cppid=5792&cpclid=0b5262f7d0c24afabfcd064748db2740][Muse S & Muse 2 - Special Offers | Muse™ EEG-Powered Meditation & Sleep Headband]]
:PROPERTIES:
:TITLE: Muse S & Muse 2 - Special Offers | Muse™ EEG-Powered Meditation & Sleep Headband
:URI: https://choosemuse.com/pages/muse-2-offers?cppid=5792&cpclid=0b5262f7d0c24afabfcd064748db2740
:CREATED: [2024-09-06 Fri 11:48]
:ID: Muse-S-and-Muse-2-Special-Offers-Muse-EEG-Powered-2026-03-31-17-24-21
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.pakboats.com/folding-kayaks/][Pakboats Kayaks - Pakboats]]
:PROPERTIES:
:CREATED: [2024-09-20 Fri 18:41]
:ID: Pakboats-Kayaks-Pakboats-2026-03-31-17-26-44
:TITLE: Pakboats Kayaks - Pakboats
:URI: https://www.pakboats.com/folding-kayaks/
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.crowdsupply.com/eevengers/thunderscope][ThunderScope | Crowd Supply]]
:PROPERTIES:
:CREATED: [2024-09-22 Sun 02:32]
:ID: ThunderScope-Crowd-Supply-2026-03-31-17-27-50
:TITLE: ThunderScope | Crowd Supply
:URI: https://www.crowdsupply.com/eevengers/thunderscope
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/Guerrillas-Guide-Baofeng-Radio/dp/B0BNV21F4P?linkId=fa8d8952af9821a0b68f3706676c02bc&language=en_US][Amazon.com: The Guerrilla's Guide To The Baofeng Radio: 9798366525107: Scout, NC: Books]]
:PROPERTIES:
:CREATED: [2024-09-23 Mon 16:45]
:ID: Amazon-dot-com-The-Guerrilla-s-Guide-To-The-2026-03-31-17-27-57
:TITLE: Amazon.com: The Guerrilla's Guide To The Baofeng Radio: 9798366525107: Scout, NC: Books
:URI: https://www.amazon.com/Guerrillas-Guide-Baofeng-Radio/dp/B0BNV21F4P?linkId=fa8d8952af9821a0b68f3706676c02bc&language=en_US
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.freewellgear.com/en/55-smart-phone][Sherpa iPhone Lens Kit: ND, CPL, Anamorphic & More]]
:PROPERTIES:
:CREATED: [2024-09-24 Tue 15:50]
:ID: Sherpa-iPhone-Lens-Kit-ND-CPL-Anamorphic-and-More-2026-03-31-17-29-19
:TITLE: Sherpa iPhone Lens Kit: ND, CPL, Anamorphic & More
:URI: https://www.freewellgear.com/en/55-smart-phone
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.freewellgear.com/en/][Freewell | Top Camera, Smartphone & Drone Gear for Pros]]
:PROPERTIES:
:CREATED: [2024-09-28 Sat 05:27]
:ID: Freewell-Top-Camera-Smartphone-and-Drone-Gear-for-2026-03-31-17-31-59
:TITLE: Freewell | Top Camera, Smartphone & Drone Gear for Pros
:URI: https://www.freewellgear.com/en/
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** AOOSTAR WTR PRO 4 Bay 90T Storage INTEL N100 Nas Mini PC AOOSTAR Mini PC
:PROPERTIES:
:CREATED: [2024-09-30 Mon 15:18]
:ID: AOOSTAR-WTR-PRO-4-Bay-90T-Storage-INTEL-N100-Nas-2026-03-31-17-32-57
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
https://aoostar.com/products/aoostar-n9e-intel-n100-mini-pc4c-4t-up-to-3-4ghz-with-w11-home-8-16gb-ddr4-3200mhz-ram-256-512gb-m-2-2280-nvme-ssd
** [[https://bellroy.com/products/transit-backpack-plus?color=black&material=dura_nylon_recycled&ranEAID=3707496&ranMID=43345&ranSiteID=zejn0xW3gLs-0gSj8VAMIc2BB7QglxWYMw#slide-15][Transit Backpack Plus | Large laptop travel backpack | Bellroy]]
:PROPERTIES:
:CREATED: [2024-09-30 Mon 15:19]
:ID: Transit-Backpack-Plus-Large-laptop-travel-2026-03-31-17-33-11
:TITLE: Transit Backpack Plus | Large laptop travel backpack | Bellroy
:URI: https://bellroy.com/products/transit-backpack-plus?color=black&material=dura_nylon_recycled&ranEAID=3707496&ranMID=43345&ranSiteID=zejn0xW3gLs-0gSj8VAMIc2BB7QglxWYMw#slide-15
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://bagbuilds.com/products/cerambyx64-mod_01][Cerambyx64 MOD_01 Bag-Builds]]
:PROPERTIES:
:CREATED: [2024-09-30 Mon 15:21]
:ID: Cerambyx64-MOD-01-Bag-Builds-2026-03-31-17-33-56
:TITLE: Cerambyx64 MOD_01 Bag-Builds
:URI: https://bagbuilds.com/products/cerambyx64-mod_01
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.nomatic.com/collections/all-backpacks-bags/products/navigator-collapsible-sling-6l][Navigator Collapsible Sling 6L NOMATIC]]
:PROPERTIES:
:CREATED: [2024-09-30 Mon 15:24]
:ID: Navigator-Collapsible-Sling-6L-NOMATIC-2026-03-31-17-34-46
:TITLE: Navigator Collapsible Sling 6L NOMATIC
:URI: https://www.nomatic.com/collections/all-backpacks-bags/products/navigator-collapsible-sling-6l
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://opensourcesdrlab.com/products/h4m-receiver-and-spectrum-analyzer][H4M Receiver and Spectrum Analyzer,HackRF One & Portapack]]
:PROPERTIES:
:CREATED: [2024-10-06 Sun 11:07]
:ID: H4M-Receiver-and-Spectrum-Analyzer-HackRF-One-and-2026-03-31-17-38-27
:TITLE: H4M Receiver and Spectrum Analyzer,HackRF One & Portapack
:URI: https://opensourcesdrlab.com/products/h4m-receiver-and-spectrum-analyzer
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://pubs.usgs.gov/gip/usgsmaps/usgsmaps.html#7.5-minute][USGS Maps Booklet]]
:PROPERTIES:
:CREATED: [2024-10-07 Mon 20:00]
:ID: USGS-Maps-Booklet-2026-03-31-17-38-40
:TITLE: USGS Maps Booklet
:URI: https://pubs.usgs.gov/gip/usgsmaps/usgsmaps.html#7.5-minute
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://mapstore.mytopo.com/][MyTopo Map Store: Waterproof Maps Shipped in 24 Hours]]
:PROPERTIES:
:CREATED: [2024-10-07 Mon 20:01]
:ID: MyTopo-Map-Store-Waterproof-Maps-Shipped-in-24-2026-03-31-17-38-47
:TITLE: MyTopo Map Store: Waterproof Maps Shipped in 24 Hours
:URI: https://mapstore.mytopo.com/
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://kv4p.com/][kv4p HT - open source ham radio transceiver for your smartphone]]
:PROPERTIES:
:CREATED: [2024-10-15 Tue 13:57]
:ID: kv4p-HT-open-source-ham-radio-transceiver-for-2026-03-31-17-39-46
:TITLE: kv4p HT - open source ham radio transceiver for your smartphone
:URI: https://kv4p.com/
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://roxontool.com/products/s503g?sscid=a1k8_t8q53][Flex Companion Modular SAK for Ultimate Versatility]]
:PROPERTIES:
:CREATED: [2024-10-15 Tue 16:46]
:ID: Flex-Companion-Modular-SAK-for-Ultimate-2026-03-31-17-39-58
:TITLE: Flex Companion Modular SAK for Ultimate Versatility
:URI: https://roxontool.com/products/s503g?sscid=a1k8_t8q53
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/Fix-Manufacturing-separately-wearable-solution/dp/B07GN74GPS?linkId=28cfbe464c0c3715f1e63728996adc91&language=en_US&psc=1][Amazon.com: Fix Manufacturing/All Time Belt/Black/holds tool (sold separately) wearable solution (Medium) : Tools & Home Improvement]]
:PROPERTIES:
:CREATED: [2024-10-19 Sat 09:41]
:ID: Amazon-dot-com-Fix-Manufacturing-All-Time-Belt-2026-03-31-17-40-15
:TITLE: Amazon.com: Fix Manufacturing/All Time Belt/Black/holds tool (sold separately) wearable solution (Medium) : Tools & Home Improvement
:URI: https://www.amazon.com/Fix-Manufacturing-separately-wearable-solution/dp/B07GN74GPS?linkId=28cfbe464c0c3715f1e63728996adc91&language=en_US&psc=1
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/Fix-Manufacturing-Portable-Maintenance-Mountain/dp/B072HM82QX?linkId=04aaf3e29713321e856d9bcf3f196858&language=en_US][Amazon.com : Fix Manufacturing Wheelie Wrench™ Bike Tool Compact and Portable Multi Tool for Bicycle Repair and Maintenance Perfect to fix Most Road, Mountain, and BMX Bikes : Sports & Outdoors]]
:PROPERTIES:
:CREATED: [2024-10-19 Sat 09:41]
:ID: Amazon-dot-com-Fix-Manufacturing-Wheelie-Wrench-2026-03-31-17-40-31
:TITLE: Amazon.com : Fix Manufacturing Wheelie Wrench™ Bike Tool Compact and Portable Multi Tool for Bicycle Repair and Maintenance Perfect to fix Most Road, Mountain, and BMX Bikes : Sports & Outdoors
:URI: https://www.amazon.com/Fix-Manufacturing-Portable-Maintenance-Mountain/dp/B072HM82QX?linkId=04aaf3e29713321e856d9bcf3f196858&language=en_US
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.kickstarter.com/projects/silverfoxtools/neo-pen][Neo Pen by Silver Fox Tools — Kickstarter]]
:PROPERTIES:
:CREATED: [2024-10-19 Sat 09:41]
:ID: Neo-Pen-by-Silver-Fox-Tools-Kickstarter-2026-03-31-17-40-37
:TITLE: Neo Pen by Silver Fox Tools — Kickstarter
:URI: https://www.kickstarter.com/projects/silverfoxtools/neo-pen
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/OUTDOOR-EDGE-UTILIPRO-Utility-Knife/dp/B09X2GLKFD?linkId=b79a428f94e25fea1becf35adfd88ea5&language=en_US][Amazon.com: OUTDOOR EDGE UTILIPRO 5 in 1 Utility Knife - Bottle Opener Flathead/Prybar, Phillips Screw Driver, Line Cutter & Pocket Clip. Uses Standard Utility Razor Blades (Orange) : Tools & Home Improvement]]
:PROPERTIES:
:CREATED: [2024-10-19 Sat 09:44]
:ID: Amazon-dot-com-OUTDOOR-EDGE-UTILIPRO-5-in-1-2026-03-31-17-40-44
:TITLE: Amazon.com: OUTDOOR EDGE UTILIPRO 5 in 1 Utility Knife - Bottle Opener Flathead/Prybar, Phillips Screw Driver, Line Cutter & Pocket Clip. Uses Standard Utility Razor Blades (Orange) : Tools & Home Improvement
:URI: https://www.amazon.com/OUTDOOR-EDGE-UTILIPRO-Utility-Knife/dp/B09X2GLKFD?linkId=b79a428f94e25fea1becf35adfd88ea5&language=en_US
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://veroengineering.com/products/vortex-lite-maintenance-kit][Vortex Lite | Vero Engineering]]
:PROPERTIES:
:CREATED: [2024-10-19 Sat 09:51]
:ID: Vortex-Lite-Vero-Engineering-2026-03-31-17-40-50
:TITLE: Vortex Lite | Vero Engineering
:URI: https://veroengineering.com/products/vortex-lite-maintenance-kit
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
I should be able to make this
** [[https://www.printables.com/model/741124-lilygo-t-deck-td1-case-by-alley-cat][Lilygo T-Deck TD1 Case by Alley Cat by Alley Cat | Download free STL model | Printables.com]]
:PROPERTIES:
:CREATED: [2024-10-21 Mon 09:01]
:ID: Lilygo-T-Deck-TD1-Case-by-Alley-Cat-by-Alley-Cat-2026-03-31-17-41-23
:TITLE: Lilygo T-Deck TD1 Case by Alley Cat by Alley Cat | Download free STL model | Printables.com
:URI: https://www.printables.com/model/741124-lilygo-t-deck-td1-case-by-alley-cat
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.lilygo.cc/products/t-deck][T-Deck LILYGO®]]
:PROPERTIES:
:CREATED: [2024-10-21 Mon 09:02]
:ID: T-Deck-LILYGO-2026-03-31-17-41-32
:TITLE: T-Deck LILYGO®
:URI: https://www.lilygo.cc/products/t-deck
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://beyondclothing.com/collections/mens-collection][Men's Collection | Clothing that Protects, Breathes, & Moves with Ease Beyond Clothing]]
:PROPERTIES:
:CREATED: [2024-10-21 Mon 21:27]
:ID: Men-s-Collection-Clothing-that-Protects-Breathes-2026-03-31-17-41-44
:TITLE: Men's Collection | Clothing that Protects, Breathes, & Moves with Ease Beyond Clothing
:URI: https://beyondclothing.com/collections/mens-collection
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
PCU system
** [[https://store.h2gopurifier.com/products/h2go-purifier-global][H2gO Purifier GLOBAL Model Aqua Research Store]]
:PROPERTIES:
:CREATED: [2024-10-22 Tue 14:49]
:ID: H2gO-Purifier-GLOBAL-Model-Aqua-Research-Store-2026-03-31-17-41-51
:TITLE: H2gO Purifier GLOBAL Model Aqua Research Store
:URI: https://store.h2gopurifier.com/products/h2go-purifier-global
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://unboundmerino.com/collections/mens-merino-wool-clothing/products/compact-travel-hoodie?variant=39707013578846][Men's Compact Travel Hoodie | Unbound Merino]]
:PROPERTIES:
:CREATED: [2024-10-27 Sun 12:43]
:ID: Men-s-Compact-Travel-Hoodie-Unbound-Merino-2026-03-31-17-42-02
:TITLE: Men's Compact Travel Hoodie | Unbound Merino
:URI: https://unboundmerino.com/collections/mens-merino-wool-clothing/products/compact-travel-hoodie?variant=39707013578846
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.amazon.com/Invisibilia-Dei-Collection-Anti-Magical-Cornelius/dp/B0DKD1MHLB?linkId=1bf323b581c60dfce960c4bf9a4c4045&language=en_US][Amazon.com: Invisibilia Dei: A Collection of Hermetic, Mystical, and Anti-Magical Works by Heinrich Cornelius Agrippa: 9798343685282: Attrell, Dan, Sledge, Justin: Books]]
:PROPERTIES:
:CREATED: [2024-10-30 Wed 09:05]
:ID: Amazon-dot-com-Invisibilia-Dei-A-Collection-of-2026-03-31-17-42-14
:TITLE: Amazon.com: Invisibilia Dei: A Collection of Hermetic, Mystical, and Anti-Magical Works by Heinrich Cornelius Agrippa: 9798343685282: Attrell, Dan, Sledge, Justin: Books
:URI: https://www.amazon.com/Invisibilia-Dei-Collection-Anti-Magical-Cornelius/dp/B0DKD1MHLB?linkId=1bf323b581c60dfce960c4bf9a4c4045&language=en_US
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.stelo.com/en-us][Stelo Wearable Glucose Biosensor | Stelo by Dexcom]]
:PROPERTIES:
:CREATED: [2024-11-02 Sat 12:35]
:ID: Stelo-Wearable-Glucose-Biosensor-Stelo-by-Dexcom-2026-03-31-17-43-56
:TITLE: Stelo Wearable Glucose Biosensor | Stelo by Dexcom
:URI: https://www.stelo.com/en-us
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.geoship.is/][Geoship | Bioceramic domes]]
:PROPERTIES:
:CREATED: [2024-11-04 Mon 15:45]
:ID: Geoship-Bioceramic-domes-2026-03-31-17-44-01
:TITLE: Geoship | Bioceramic domes
:URI: https://www.geoship.is/
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.ikoolcore.com/products/ikoolcore-r2-max][R2 Max - Next-Gen 10G Firewall Gateway Server iKOOLCORE]]
:PROPERTIES:
:CREATED: [2024-11-24 Sun 16:44]
:ID: R2-Max-Next-Gen-10G-Firewall-Gateway-Server-2026-03-31-17-44-35
:TITLE: R2 Max - Next-Gen 10G Firewall Gateway Server iKOOLCORE
:URI: https://www.ikoolcore.com/products/ikoolcore-r2-max
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://ezra.com/][Full-Body MRI Screening Service by ezra]]
:PROPERTIES:
:CREATED: [2025-01-05 Sun 10:37]
:ID: Full-Body-MRI-Screening-Service-by-ezra-2026-03-31-17-48-40
:TITLE: Full-Body MRI Screening Service by ezra
:URI: https://ezra.com/
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://mecha.so/comet][Mecha Comet - Modular Linux Handheld Computer powered by Open-Source Software]]
:PROPERTIES:
:CREATED: [2025-01-11 Sat 09:01]
:ID: Mecha-Comet-Modular-Linux-Handheld-Computer-2026-03-31-17-48-48
:TITLE: Mecha Comet - Modular Linux Handheld Computer powered by Open-Source Software
:URI: https://mecha.so/comet
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://blog.adafruit.com/2025/01/03/portable-air-quality-meter/][Portable Air Quality Meter #piday #raspberrypi @Raspberry_Pi « Adafruit Industries Makers, hackers, artists, designers and engineers!]]
:PROPERTIES:
:CREATED: [2025-01-12 Sun 15:19]
:ID: Portable-Air-Quality-Meter-piday-raspberrypi-2026-03-31-17-48-58
:TITLE: Portable Air Quality Meter #piday #raspberrypi @Raspberry_Pi « Adafruit Industries Makers, hackers, artists, designers and engineers!
:URI: https://blog.adafruit.com/2025/01/03/portable-air-quality-meter/
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.seeedstudio.com/SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-p-5913.html][SenseCAP Card Tracker T1000-E for Meshtastic]]
:PROPERTIES:
:CREATED: [2025-02-19 Wed 08:46]
:ID: SenseCAP-Card-Tracker-T1000-E-for-Meshtastic-2026-03-31-17-52-51
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://www.ruarkaudio.com/us/products/r610-music-console][Ruark R610 Music Console]]
:PROPERTIES:
:CREATED: [2025-02-24 Mon 10:06]
:ID: Ruark-R610-Music-Console-2026-03-31-17-54-02
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://true-residential.com/][True Residential | Luxury Refrigerators with Commercial DNA]]
:PROPERTIES:
:CREATED: [2025-03-04 Tue 12:44]
:ID: True-Residential-Luxury-Refrigerators-with-2026-03-31-17-56-09
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://echowater.com/products/echo-flask][Echo Flask Hydrogen Water Bottle]]
:PROPERTIES:
:CREATED: [2025-03-05 Wed 17:14]
:ID: Echo-Flask-Hydrogen-Water-Bottle-2026-03-31-17-57-23
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://echowater.com/products/echo-ultimate-hydrogen-water][Echo Ultimate™ Hydrogen Alkaline Water Machine - Multi-Functional Water Enhancement System]]
:PROPERTIES:
:CREATED: [2025-03-05 Wed 17:48]
:ID: Echo-Ultimate-Hydrogen-Alkaline-Water-Machine-2026-03-31-17-57-49
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://frameless.com/][FRAMELESS | The Ultimate Immersive Art Experience]]
:PROPERTIES:
:CREATED: [2025-03-09 Sun 13:01]
:ID: FRAMELESS-The-Ultimate-Immersive-Art-Experience-2026-03-31-18-00-32
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
For a modern temple
** [[https://www.clockworkpi.com/picocalc][PicoCalc | ClockworkPi]]
:PROPERTIES:
:CREATED: [2025-03-13 Thu 08:47]
:ID: PicoCalc-ClockworkPi-2026-03-31-18-03-11
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://hixfy.com/products/zipfix-quick-repair-tool][ZipFix Quick Repair Tool - Hixfy]]
:PROPERTIES:
:CREATED: [2025-03-13 Thu 09:30]
:ID: ZipFix-Quick-Repair-Tool-Hixfy-2026-03-31-18-03-40
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:
** [[https://lnvpn.net/][LNVPN - Bitcoin VPN & eSIM Service | $0.10 VPN | $0.99 eSIM]]
:PROPERTIES:
:CREATED: [2025-03-16 Sun 02:27]
:ID: LNVPN-Bitcoin-VPN-and-eSIM-Service-0-dot-10-VPN-0-2026-03-31-18-06-10
:ORG_GTD: Someday
:CATEGORY: Atoms
:END:

1
.#inbox.org Symbolic link
View File

@@ -0,0 +1 @@
user@amr.39930:1774959550

1
.#org-gtd-tasks.org Symbolic link
View File

@@ -0,0 +1 @@
user@amr.39930:1774959550

View File

@@ -23,7 +23,15 @@ Today saw the complete architectural transformation of the Memex into a high-int
- *Project Foundry Agent:* Scaffolding high-integrity workspaces. - *Project Foundry Agent:* Scaffolding high-integrity workspaces.
- *Scribe Agent:* Automated distillation and mandate auditing. - *Scribe Agent:* Automated distillation and mandate auditing.
** 4. Advanced "Foundry Native" Features
- **Headless OAuth 2.0:** Implemented professional Google/Gemini authentication with refresh token support and a headless "Copy-Paste" handshake.
- **Onboarding & Calibration:** Developed an interactive environment verification and setup script.
- **PSF Loop Automator:** Established a meta-cognitive skill that autonomously triggers Architect and Analyst roles based on note status.
- **Sparse Tree Perceiver:** Optimized memory retrieval with a two-stage scan/read process, significantly reducing token usage and improving accuracy.
- **Foundry-Sync (GTD Bridge):** Automated the mirroring of project engineering states (Phase A-F) from Zettelkasten notes to gtd.org.
* Current System State * Current System State
- **Architecture:** 100% PSF Compliant (Literate, Kebab-case, Lisp-native state). - **Architecture:** 100% PSF Compliant (Literate, Kebab-case, Lisp-native state).
- **Git Status:** All refactors staged for final commit. - **Core Stability:** Kernel hardened with incremental perception and symbolic safety gating.
- **Next Steps:** Implement automated metadata repair logic and further neural-symbolic loop closures. - **Next Steps:** Begin mass metadata repair using the new inference logic.

3784
gtd_archive_2026 Normal file

File diff suppressed because it is too large Load Diff

23
gtd_archive_2026~ Normal file
View File

@@ -0,0 +1,23 @@
# -*- mode: org -*-
Archived entries from file /tmp/org-gtd/wip-Reliable-Sources-How-Wikipedia-Admin-David-Gerard-Launders-His-Grudges-Into-the--6WRhAj.org
* 2026
** 2026-03 March
*** 2026-03-31 Tuesday
**** DONE [[https://www.tracingwoodgrains.com/p/reliable-sources-how-wikipedia-admin][Reliable Sources: How Wikipedia Admin David Gerard Launders His Grudges Into the Public Record]]
CLOSED: [2026-03-31 Tue 16:23]
:PROPERTIES:
:CREATED: [2024-07-30 Tue 04:50]
:ID: Reliable-Sources-How-Wikipedia-Admin-David-Gerard-Launders-His-Grudges-Into-the-Public-Record-2025-06-04-15-13-43
:TITLE: Reliable Sources: How Wikipedia Admin David Gerard Launders His Grudges Into the Public Record
:URI: https://www.tracingwoodgrains.com/p/reliable-sources-how-wikipedia-admin
:ORG_GTD: Reference
:ARCHIVE_TIME: 2026-03-31 Tue 16:23
:ARCHIVE_FILE: /tmp/org-gtd/wip-Reliable-Sources-How-Wikipedia-Admin-David-Gerard-Launders-His-Grudges-Into-the--6WRhAj.org
:ARCHIVE_CATEGORY: wip-Reliable-Sources-How-Wikipedia-Admin-David-Gerard-Launders-His-Grudges-Into-the--6WRhAj
:ARCHIVE_TODO: DONE
:END:

View File

@@ -31,35 +31,58 @@ Define the interfaces for knowledge retrieval from the atomic note DAG.
:END: :END:
** 1. Architectural Intent ** 1. Architectural Intent
Interfaces for scanning and resolving nodes in the Zettelkasten. Source of truth is `$MEMEX_NOTES`. Interfaces for scanning and resolving nodes in the Zettelkasten. It implements a two-stage retrieval process: Sparse Perception (Headlines/IDs) followed by Targeted Deep-Reading.
** 2. Semantic Interfaces ** 2. Semantic Interfaces
#+begin_src lisp #+begin_src lisp
(defun atomic-notes-perceive (query) (defun atomic-notes-scan (query)
"Performs a sparse-tree scan of the Zettelkasten.") "Stage 1: Returns a sparse list of matching headlines and their unique IDs.")
(defun atomic-notes-resolve-link (link-target) (defun atomic-notes-deep-read (ids)
"Follows a link (ID or file) to retrieve the target node content.") "Stage 2: Retrieves the full content for a specific list of node IDs.")
#+end_src #+end_src
* Phase D: Build (Implementation) * Phase D: Build (Implementation)
** Sparse Perception ** Stage 1: Sparse Scan
#+begin_src lisp :tangle projects/org-skill-atomic-notes/src/retrieval-logic.lisp #+begin_src lisp :tangle projects/org-skill-atomic-notes/src/retrieval-logic.lisp
(defun atomic-notes-perceive (query) (defun atomic-notes-scan (query)
"Performs a sparse-tree scan of the Zettelkasten for the given query." "Uses ripgrep to find matching headlines and extracts their IDs."
(let ((notes-dir (or (uiop:getenv "MEMEX_NOTES") "notes/"))) (let ((notes-dir (or (uiop:getenv "MEMEX_NOTES") "notes/")))
(kernel-log "MEMORY - Scanning Atomic Notes for: ~a" query) (kernel-log "MEMORY - Sparse Scan for: ~a" query)
(uiop:run-program (list "rg" "-i" query notes-dir) :output :string))) ;; We grep for headlines and include the following line which usually has the ID property
(uiop:run-program (list "rg" "-i" "-A" "1" (format nil "^\\*+.*~a" query) notes-dir)
:output :string)))
#+end_src #+end_src
** Link Resolution ** Stage 2: Deep Read
#+begin_src lisp :tangle projects/org-skill-atomic-notes/src/retrieval-logic.lisp #+begin_src lisp :tangle projects/org-skill-atomic-notes/src/retrieval-logic.lisp
(defun atomic-notes-resolve-link (link-target) (defun atomic-notes-deep-read (ids)
"Resolves a link to a physical Org file." "Retrieves the full content subtree for given IDs from the Object Store."
(let ((notes-dir (or (uiop:getenv "MEMEX_NOTES") "notes/"))) (let ((results '()))
;; Logic to handle [[id:UUID]] vs [[file:path.org]] (dolist (id ids)
(format nil "Resolving link: ~a" link-target))) (let ((obj (org-agent:lookup-object id)))
(when obj
(push (list :id id :content (org-agent:org-object-content obj)) results))))
results))
#+end_src
** Neuro-Cognitive Intelligence
#+begin_src lisp :tangle projects/org-skill-atomic-notes/src/retrieval-logic.lisp
(defun neuro-skill-atomic-notes (context)
"Neural stage of Sparse Perception.
It analyzes the search results and decides which specific IDs to 'deep read'."
(let ((query-results (atomic-notes-scan (getf (getf context :payload) :query))))
(format nil "
I found the following headlines matching your query:
---
~a
---
TASK:
Identify the IDs of the most relevant notes.
Return a Lisp plist: (:target :atomic-notes :action :deep-read :ids (\"id1\" \"id2\"))
" query-results)))
#+end_src #+end_src
* Registration * Registration
@@ -67,6 +90,6 @@ Interfaces for scanning and resolving nodes in the Zettelkasten. Source of truth
(defskill :skill-atomic-notes (defskill :skill-atomic-notes
:priority 90 :priority 90
:trigger (lambda (context) nil) :trigger (lambda (context) nil)
:neuro (lambda (context) nil) :neuro #'neuro-skill-atomic-notes
:symbolic #'atomic-notes-perceive) :symbolic #'atomic-notes-scan)
#+end_src #+end_src

View File

@@ -0,0 +1,55 @@
#+TITLE: SKILL: API Key Authentication (Universal Literate Note)
#+ID: skill-auth-api-key
#+STARTUP: content
#+FILETAGS: :auth:security:system:psf:
* Overview
This skill provides the legacy-compatible **Static API Key** authentication method. It retrieves credentials from the system environment variables and provides them to the kernel's neural backends.
* Phase A: Demand (PRD)
:PROPERTIES:
:STATUS: FROZEN
:END:
** 1. Purpose
Provide a simple, environment-driven authentication mechanism for LLM providers.
** 2. User Needs
- **Static Retrieval:** Pull `LLM_API_KEY` from `.env`.
- **Provider Mapping:** Support mapping keys to specific providers (Gemini, OpenAI, etc.).
- **Reliability:** Return NIL gracefully if no key is found.
* Phase B: Blueprint (PROTOCOL)
:PROPERTIES:
:STATUS: SIGNED
:END:
** 1. Architectural Intent
Interfaces for credential retrieval. Source of truth is the system environment.
** 2. Semantic Interfaces
#+begin_src lisp
(defun auth-api-key-get-credentials ()
"Returns a plist containing the :api-key for the default provider.")
#+end_src
* Phase D: Build (Implementation)
#+begin_src lisp
(defun auth-api-key-get-credentials ()
(let ((key (uiop:getenv "LLM_API_KEY")))
(when key
(list :api-key key))))
;; Register as the default auth provider for Gemini during transition
(org-agent:register-auth-provider :gemini #'auth-api-key-get-credentials)
#+end_src
* Registration
#+begin_src lisp
(defskill :skill-auth-api-key
:priority 100
:trigger (lambda (context) nil)
:neuro (lambda (context) nil)
:symbolic (lambda (action context) action))
#+end_src

View File

@@ -0,0 +1,149 @@
#+TITLE: SKILL: Google OAuth 2.0 Authentication (Universal Literate Note)
#+ID: skill-auth-google-oauth
#+STARTUP: content
#+FILETAGS: :auth:oauth:google:security:psf:
* Overview
This skill implements the **Headless OAuth 2.0** handshake for Google services. It enables the agent to acquire and rotate `access_tokens` for Gemini without requiring a local browser session, using a "Copy-Paste" authorization code flow.
* Phase A: Demand (PRD)
:PROPERTIES:
:STATUS: FROZEN
:END:
** 1. Purpose
Provide a secure, professional OAuth 2.0 interface for Google Gemini.
** 2. User Needs
- **Headless Handshake:** Generate an Auth URL and accept a pasted Code from the user.
- **Token Persistence:** Securely store `refresh_token` in a Lisp state file.
- **Auto-Rotation:** Automatically exchange the `refresh_token` for a new `access_token` when expired.
- **Environment Driven:** Pull `CLIENT_ID` and `CLIENT_SECRET` from system settings.
** 3. Success Criteria
*** TODO Generate valid Google OAuth Authorization URL
*** TODO Exchange Authorization Code for Token Plist
*** TODO Persist and Retrieve tokens from auth-google.lisp
*** TODO Automated Token Refresh Loop
* Phase B: Blueprint (PROTOCOL)
:PROPERTIES:
:STATUS: SIGNED
:END:
** 1. Architectural Intent
Interfaces for the OAuth lifecycle. Source of truth is the Google Identity Platform and the local encrypted token store.
** 2. Semantic Interfaces
#+begin_src lisp
(defun auth-google-get-url ()
"Generates the URL for the user to visit in their browser.")
(defun auth-google-receive-code (code)
"Exchanges the manual code for tokens and persists them.")
(defun auth-google-get-header ()
"Returns the Bearer token header, refreshing if necessary.")
#+end_src
* Phase D: Build (Implementation)
** Token State Management
#+begin_src lisp
(defvar *google-token-state* nil)
(defun auth-google-load-state ()
(let ((state-file (merge-pathnames "state/auth-google.lisp" (uiop:getenv "SYSTEM_DIR"))))
(if (uiop:file-exists-p state-file)
(setf *google-token-state* (with-open-file (in state-file) (read in)))
(setf *google-token-state* nil))))
(defun auth-google-save-state ()
(let* ((state-dir (uiop:getenv "SYSTEM_DIR"))
(state-file (merge-pathnames "state/auth-google.lisp" state-dir)))
(ensure-directories-exist state-file)
(with-open-file (out state-file :direction :output :if-exists :supersede)
(print *google-token-state* out))))
#+end_src
** Token Exchange (Handshake)
#+begin_src lisp
(defun auth-google-receive-code (code)
"Exchanges the manual authorization code for access and refresh tokens."
(let ((url "https://oauth2.googleapis.com/token")
(content `(("code" . ,code)
("client_id" . ,(uiop:getenv "GOOGLE_CLIENT_ID"))
("client_secret" . ,(uiop:getenv "GOOGLE_CLIENT_SECRET"))
("redirect_uri" . "urn:ietf:wg:oauth:2.0:oob")
("grant_type" . "authorization_code"))))
(handler-case
(let* ((response (dex:post url :content content))
(json (cl-json:decode-json-from-string response)))
(setf *google-token-state*
`(:access-token ,(cdr (assoc :access--token json))
:refresh-token ,(cdr (assoc :refresh--token json))
:expires-at ,(+ (get-universal-time) (cdr (assoc :expires--in json)))))
(auth-google-save-state)
(kernel-log "OAUTH - Google handshake successful.")
t)
(error (c)
(kernel-log "OAUTH ERROR - Handshake failed: ~a" c)
nil))))
#+end_src
** Token Refresh
#+begin_src lisp
(defun auth-google-refresh-token ()
"Uses the refresh_token to acquire a new access_token."
(let ((refresh-token (getf *google-token-state* :refresh-token))
(url "https://oauth2.googleapis.com/token")
(content `(("refresh_token" . ,(getf *google-token-state* :refresh-token))
("client_id" . ,(uiop:getenv "GOOGLE_CLIENT_ID"))
("client_secret" . ,(uiop:getenv "GOOGLE_CLIENT_SECRET"))
("grant_type" . "refresh_token"))))
(unless refresh-token (return-from auth-google-refresh-token nil))
(handler-case
(let* ((response (dex:post url :content content))
(json (cl-json:decode-json-from-string response)))
(setf (getf *google-token-state* :access-token) (cdr (assoc :access--token json)))
(setf (getf *google-token-state* :expires-at) (+ (get-universal-time) (cdr (assoc :expires--in json))))
(auth-google-save-state)
(kernel-log "OAUTH - Google token refreshed.")
t)
(error (c)
(kernel-log "OAUTH ERROR - Refresh failed: ~a" c)
nil))))
#+end_src
** Kernel Integration
#+begin_src lisp
(defun auth-google-get-header ()
"Returns the Bearer token header, refreshing if necessary."
(unless *google-token-state* (auth-google-load-state))
(let ((expires-at (getf *google-token-state* :expires-at 0)))
(when (<= expires-at (+ (get-universal-time) 60)) ; Refresh if < 1 min left
(auth-google-refresh-token)))
(let ((token (getf *google-token-state* :access-token)))
(if token
(list :bearer-token token)
(progn
(kernel-log "OAUTH - No active Google token. Handshake required.")
(kernel-log "OAUTH - Visit this URL: ~a" (auth-google-get-url))
nil))))
(defun auth-google-get-url ()
(let ((client-id (uiop:getenv "GOOGLE_CLIENT_ID")))
(format nil "https://accounts.google.com/o/oauth2/v2/auth?client_id=~a&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&scope=https://www.googleapis.com/auth/generative-language" client-id)))
;; Register as the primary auth provider for Gemini
(org-agent:register-auth-provider :gemini #'auth-google-get-header)
#+end_src
* Registration
#+begin_src lisp
(defskill :skill-auth-google-oauth
:priority 100
:trigger (lambda (context) nil)
:neuro (lambda (context) nil)
:symbolic (lambda (action context) action))
#+end_src

View File

@@ -0,0 +1,98 @@
#+TITLE: SKILL: PSF Loop Automator (Universal Literate Note)
#+ID: skill-loop-automator
#+STARTUP: content
#+FILETAGS: :psf:automation:meta-cognitive:orchestration:
* Overview
The **PSF Loop Automator** is the meta-cognitive orchestrator of the Personal Software Foundry. It monitors the state of all Master Notes and autonomously triggers the transition between PSF phases (e.g., waking the Architect when a PRD is frozen), ensuring the Consensus Loop maintains high momentum without manual intervention.
* Phase A: Demand (PRD)
:PROPERTIES:
:STATUS: FROZEN
:END:
** 1. Purpose
Define automated state transitions and role-triggering for the PSF Consensus Loop.
** 2. User Needs
- **State Surveillance:** Monitor `notes/org-skill-*.org` for `#+STATUS:` changes.
- **Proactive Role Triggering:**
- If `PRD` is `FROZEN` -> Trigger **Architect** (Phase B).
- If `PROTOCOL` is `SIGNED` -> Trigger **Technical Analyst** (Phase C).
- If `TDD Suite` is `RED` -> Trigger **Coder** (Phase D).
- **GTD Synchronization:** Automatically update the `:PSF-STATE:` property in `gtd.org` during transitions.
** 3. Success Criteria
*** TODO Successful detection of #+STATUS: FROZEN in a Master Note
*** TODO Autonomous stimulus injection for the Architect skill
*** TODO Verified update of :PSF-STATE: in gtd.org
* Phase B: Blueprint (PROTOCOL)
:PROPERTIES:
:STATUS: SIGNED
:END:
** 1. Architectural Intent
Interfaces for cross-note state perception and kernel-level stimulus injection. Source of truth is the Master Note collection and the global skill graph.
** 2. Semantic Interfaces
#+begin_src lisp
(defun loop-automator-perceive-phase (note-path)
"Determines the current PSF phase of a Master Note based on status and sections.")
(defun loop-automator-orchestrate ()
"Scans all notes and dispatches necessary stimuli to the kernel.")
#+end_src
* Phase D: Build (Implementation)
** State Perception
#+begin_src lisp :tangle projects/org-skill-loop-automator/src/automator-logic.lisp
(defun loop-automator-perceive-phase (note-path)
(let ((content (uiop:read-file-string note-path)))
(cond
((and (search ":STATUS: FROZEN" content)
(not (search "* Phase B: Blueprint (PROTOCOL)" content)))
:trigger-architect)
((and (search ":STATUS: SIGNED" content)
(not (search "* Phase D: Build" content)))
:trigger-analyst)
(t :stable))))
#+end_src
** Orchestration Loop
#+begin_src lisp :tangle projects/org-skill-loop-automator/src/automator-logic.lisp
(defun loop-automator-sync-gtd (note-path new-state)
"Updates the :PSF-STATE: property in gtd.org for the project linked to NOTE-PATH."
(let* ((filename (pathname-name note-path))
(project-id (format nil "proj-~a" (subseq filename 10))) ; e.g. proj-memex
(gtd-file (or (uiop:getenv "GTD_FILE") "gtd.org")))
(kernel-log "GTD SYNC - Updating ~a to state ~a" project-id new-state)
;; Dispatches an actuator request to Emacs to perform the surgical property update
(org-agent:inject-stimulus
`(:type :REQUEST :target :emacs
:payload (:action :refactor-subtree
:target-id ,project-id
:properties (("PSF-STATE" . ,new-state)))))))
(defun loop-automator-orchestrate ()
(let ((notes-dir (or (uiop:getenv "MEMEX_NOTES") "notes/")))
(dolist (file (uiop:directory-files notes-dir "org-skill-*.org"))
(let ((intent (loop-automator-perceive-phase file)))
(case intent
(:trigger-architect
(loop-automator-sync-gtd file "B: BLUEPRINT")
(org-agent:inject-stimulus `(:type :EVENT :payload (:sensor :foundry-event :action :blueprint :note ,file))))
(:trigger-analyst
(loop-automator-sync-gtd file "C: SUCCESS")
(org-agent:inject-stimulus `(:type :EVENT :payload (:sensor :foundry-event :action :tdd :note ,file)))))))))
#+end_src
* Registration
#+begin_src lisp
(defskill :skill-loop-automator
:priority 95 ; High priority meta-cognition
:trigger (lambda (context) (eq (getf (getf context :payload) :sensor) :heartbeat))
:neuro (lambda (context) nil)
:symbolic (lambda (action context) (loop-automator-orchestrate)))
#+end_src

View File

@@ -0,0 +1,62 @@
#+TITLE: SKILL: Onboarding & Calibration (Universal Literate Note)
#+ID: skill-onboarding
#+STARTUP: content
#+FILETAGS: :onboarding:calibration:setup:psf:
* Overview
The **Onboarding Skill** ensures that the Lisp Machine environment is correctly calibrated. It automates the "zero-to-one" setup of the Neurosymbolic Kernel, including path normalization, identity personalization, and provider/actuator configuration.
* Phase A: Demand (PRD)
:PROPERTIES:
:STATUS: FROZEN
:END:
** 1. Purpose
Define automated behaviors for verifying and configuring the PSF environment.
** 2. User Needs
- **Environment Verification:** Confirm SBCL, Quicklisp, and core binaries are present.
- **Path Calibration:** Resolve absolute paths for the Memex PARA structure.
- **Neural Calibration:** Interactive selection of LLM providers and models.
- **Actuator Calibration:** Interactive setup of delivery channels (Signal, Telegram, etc.).
- **Identity Persona:** Establish $MEMEX_USER and $MEMEX_ASSISTANT.
** 3. Success Criteria
*** TODO SBCL/Quicklisp Verification Logic
*** TODO Automated .env Generation from Template
*** TODO Model Tiering Property Injection
*** TODO Delivery Channel Actuator Verification
* Phase B: Blueprint (PROTOCOL)
:PROPERTIES:
:STATUS: SIGNED
:END:
** 1. Architectural Intent
Interfaces for system state verification and environment manipulation. Source of truth is the OS environment and the `.env` file.
** 2. Semantic Interfaces
#+begin_src lisp
(defun onboarding-verify-env ()
"Checks host for required runtimes and libraries.")
(defun onboarding-calibrate-paths (base-dir)
"Calculates absolute paths for all PARA directories.")
(defun onboarding-set-identity (user-name assistant-name)
"Writes identity parameters to the kernel configuration.")
#+end_src
* Phase D: Build (Implementation)
The current implementation utilizes a hybrid Bash/Lisp approach located in `projects/org-agent/scripts/onboard.sh`.
** Verification Logic
#+begin_src lisp :tangle projects/org-skill-onboarding/src/onboard-logic.lisp
(defun onboarding-verify-env ()
(let ((results '()))
(push (list :sbcl (uiop:run-program "sbcl --version" :output :string)) results)
results))
#+end_src
* Phase E: Chaos (Verification)
Verification involves running the onboarding loop on a clean Memex instance and verifying that the resulting `.env` allows the kernel to boot without errors.

View File

@@ -14092,3 +14092,8 @@ Take metformin on off days, with a meal, because it is heavy on the stomach
[2023-07-24 Mon 22:14] [2023-07-24 Mon 22:14]
* Someday/Maybe
:PROPERTIES:
:ORG_GTD_REFILE: Someday
:END:

View File

@@ -0,0 +1 @@
/home/user/memex/notes/org-skill-auth-api-key.org

View File

@@ -0,0 +1 @@
/home/user/memex/notes/org-skill-auth-google-oauth.org

View File

@@ -0,0 +1 @@
/home/user/memex/notes/org-skill-loop-automator.org

View File

@@ -0,0 +1 @@
/home/user/memex/notes/org-skill-onboarding.org