wkt/federated_project_stores #95

Open
goodboy wants to merge 16 commits from wkt/federated_project_stores into main
17 changed files with 5014 additions and 0 deletions

View File

@ -0,0 +1 @@
../../../../../../taken/wkts/federated_project_stores/.agents/skills/taken/SKILL.md

View File

@ -0,0 +1 @@
../../../../../../../taken/wkts/federated_project_stores/.agents/skills/taken/agents/openai.yaml

View File

@ -0,0 +1 @@
../../../../../../../taken/wkts/federated_project_stores/.agents/skills/taken/references/agents.md

View File

@ -0,0 +1 @@
../../../../../../../taken/wkts/federated_project_stores/.agents/skills/taken/references/writes.md

5
.gitattributes vendored 100644
View File

@ -0,0 +1,5 @@
# Taken requires a blank line after every Org subtree, including EOF.
.taken/*.org whitespace=-blank-at-eof
# Keep the original native crash transcript unchanged.
ai/diagnostics/20261019-chart-253598/gdb.txt -text -whitespace

9
.gitignore vendored
View File

@ -487,6 +487,15 @@ docs/conversations/
/.agents/skills/yt-url-lookup
# END ai.skillz: direct:symlink:agents:yt-url-lookup
# Taken writer locks are local runtime artifacts
.*.taken.lock
# Version the federated project store despite local excludes
!/.taken/
!/.taken/current.org
!/.taken/sources.toml
!/.taken/README.md
# BEGIN ai.skillz: workflow-state
/.ai/state/
/.ai/commit-msg/conf.toml

22
.taken/README.md 100644
View File

@ -0,0 +1,22 @@
# piker project store
`current.org` contains the intact piker scope moved from the
LNS working corpus. Task/checkbox states, carry metadata and prose
remain human-owned. `sources.toml` selects this branch's store.
Read the local `taken` skill through `.agents/skills/taken/SKILL.md`.
It requires a complete-file revision guard for each authorized save.
Use an explicitly selected source; do not write a global LNS copy.
This migration preserves a historical project scope, not a claim that
its old task descriptions or branch paths reflect current reality.
The global storespace is registered in the LNS migration worktree's
`taken/sources.toml`. Modden, Tractor and Piker include snapshots of their pre-existing
local stores. The LNS consolidation ledger pins those inputs. Before
landing, reconcile any newer edits there and retarget active agents;
do not overwrite another agent's source or infer acceptance.
Before removing this migration worktree after landing, update the
global registration and the cross-repository taken skill link to the
landed locations. The skill link intentionally points to the Taken
migration branch until that code and documentation land.

3495
.taken/current.org 100644

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
version = 1
[[sources]]
id = "piker"
path = "current.org"
repo = ".."
enabled = true
agenda = true

View File

@ -0,0 +1,94 @@
# Chart PID 253598 native crash diagnostics
Captured 2026-10-19 from the human-selected systemd core. This is
post-mortem inspection; no chart, provider or order was started.
## Core identity
- PID/TID: 253598 (`python3`), chart actor short UUID `b1326a`.
- Timestamp: 2026-10-19 15:29:39 EDT (19:29:39 UTC).
- Signal: 11 / SIGSEGV, `si_code: SEGV_MAPERR`.
- Boot ID: `b418978aeaef486d8413548e0ecbd79a`.
- Executable:
`/nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/bin/python3.13`
- Command: evaluation `py313/bin/piker -l info --pdb chart mnq.cme.ib mnq.cme.20270319.ib`.
- Original systemd core, present at inspection (58.6 MiB compressed):
`/var/lib/systemd/coredump/core.python3.1000.b418978aeaef486d8413548e0ecbd79a.253598.1792438179000000.zst`
- Source checkout: `/home/goodboy/repos/piker/wkts/ib_downstream_pin_eval`,
baseline `eed58566226d5476b548c6dd3bb6a44fcd6325f9` plus dirty changes.
- Runtime Tractor imported from
`/home/goodboy/repos/tractor/wkts/address_logging_levels`; its state may
have advanced since earlier trial evidence. Do not substitute current
HEAD for a historical crash revision without checking provenance.
## Journal-native fault stack
Extracted from `coredumpctl info 253598`; worker stacks in that output
include OpenBLAS condition waits and Polars Rayon/Tokio parked workers.
```text
Stack trace of thread 253598:
#0 0x00007fffb6574ad0 sip_api_get_address (sip.cpython-313-x86_64-linux-gnu.so + 0x8ad0)
#1 0x00007fffa68629c2 _ZL15cleanup_qobjectP17_sipSimpleWrapperPv (QtCore.abi3.so + 0x2629c2)
#2 0x00007fffb6574ee9 sip_api_visit_wrappers (sip.cpython-313-x86_64-linux-gnu.so + 0x8ee9)
#3 0x00007fffa68620be _ZL15cleanup_on_exitP7_objectS0_ (QtCore.abi3.so + 0x2620be)
#4 0x00007ffff7983ec4 cfunction_vectorcall_NOARGS (libpython3.13.so.1.0 + 0x183ec4)
#5 0x00007ffff7a5288d atexit_callfuncs (libpython3.13.so.1.0 + 0x25288d)
#6 0x00007ffff7bcab6f _Py_Finalize.part.0.constprop.0 (libpython3.13.so.1.0 + 0x3cab6f)
#7 0x00007ffff7bcb603 Py_Exit (libpython3.13.so.1.0 + 0x3cb603)
#8 0x00007ffff7bc9f1d _PyErr_PrintEx (libpython3.13.so.1.0 + 0x3c9f1d)
#9 0x00007ffff7bef832 _PyRun_SimpleFileObject (libpython3.13.so.1.0 + 0x3ef832)
#10 0x00007ffff7bf1891 Py_RunMain (libpython3.13.so.1.0 + 0x3f1891)
#11 0x00007ffff742b285 __libc_start_call_main (libc.so.6 + 0x2b285)
#12 0x00007ffff742b338 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2b338)
#13 0x0000555555555085 _start (python3.13 + 0x1085)
```
This identifies the fault during PyQt QObject/SIP wrapper cleanup at
Python atexit/finalization. It does not prove which wrapper is invalid,
whether earlier cleanup corrupted it, or whether Qt/Trio guest ordering
caused the invalid state. No Trio/Qt event-loop frame appears in this
journal fault stack itself.
The human's preceding Python output shows cancellation groups relayed
from FSPs, followed by MainWindow.closeEvent self-SIGINT and KBI. Treat
that as preceding evidence, not a native root-cause diagnosis.
## Detailed debugger capture
[gdb.txt](gdb.txt) contains the thread inventory (82 threads), all-thread
backtraces, fault-thread `bt full` and shared-library inventory. GDB 17.2
successfully opened the systemd core and resolved the same fault chain.
The fault-thread trace begins at line 886; `bt full` begins at line 903.
PyQt6 6.11.0 and pyqt6-sip 13.10.2 resolve to the Nix store paths recorded
there; Qtbase is 6.11.1. Wayland and qt6ct plugins were loaded.
Most libraries lack debug information. Function symbols resolve, but
`bt full` reports no symbol-table information for the fault frames;
wrapper arguments/locals and source lines are not available. Full debug
builds/symbols are still needed to identify the invalid wrapper state.
GDB auto-load and debuginfod were disabled for this capture. No inferior
code was executed. The first debugger invocation had an argument-quoting
failure; the corrected invocation completed successfully.
Capture through `coredumpctl debug 253598` with the installed debugger:
```xsh
coredumpctl --debugger=/nix/store/mvfz8qyy2nklpdfpjny285j8d3yswf7w-gdb-17.2/bin/gdb --debugger-arguments "-nx -batch -iex 'set auto-load safe-path /nonexistent' -iex 'set debuginfod enabled off' -ex 'set pagination off' -ex 'info threads' -ex 'thread apply all bt' -ex 'thread 1' -ex 'bt full' -ex 'info sharedlibrary'" debug 253598
```
The saved run additionally enabled GDB logging to `gdb.txt` before those
inspection commands. The original core is not copied into Git. Preserve
it separately before systemd expiry if later work needs memory inspection.
Saved `gdb.txt` SHA-256:
`0aa3f74aa68ea8d148c3a45ef47fed3db9b1656493c67d52be33abc22ff8f5b2`.
## Source and handoff
The human authorized diagnostics and a linked task in the repo-local
Taken source on `wkt/federated_project_stores`. Existing task states are
preserved. The task owns the follow-up investigation; this report is
supporting evidence, not a claim of a fix or test acceptance.
Task ID: `piker-qt6-chart-teardown-sigsegv`, source ID: `piker`.
The guarded append succeeded; read-only Taken lint reported no diagnostics.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
---
created_at: 2026-10-03T00:18:37.208688+00:00
generated_by:
harness: codex
provider: openai
model: gpt-6
git_ref: 9115d24
scope: data
substantive: true
raw_file: 20261003T001837Z_9115d24_project_stores.raw.md
---
## Prompt
Split the LNS working corpus into per-repository federated stores on
open-wkt branches and connect them to one global storespace. Preserve
human task states. Add a local agent workflow, update taken-export,
and design rollover, supervised concurrency, activity and ranked views.
## Response summary
Create the repository's migration branch and preserve its imported
scope, with revision-aware local source configuration and a shared
local taken skill. Keep original checkout stores and indexes intact.
Existing live branch stores remain independently registered. The LNS
manifest and migration ledger describe the authoritative split paths.
## Human edits
The human chose the per-repo split and worktree delivery, authorized
local auto-mode, and required supervisor-based locking: the supervisor
owns write authority and can revoke delegated human/subagent edit
grants through cancellation. The agent applied these directions.
No task/checkbox acceptance changes or Git commits were authorized.

View File

@ -0,0 +1,36 @@
---
created_at: 2026-10-03T00:18:37.208688+00:00
generated_by:
harness: codex
provider: openai
model: gpt-6
git_ref: 9115d24
scope: data
substantive: true
raw_file: 20261003T001837Z_9115d24_project_stores.raw.md
---
## Prompt excerpts
“break it up into appropriate per repo federated store files”
“intro the sub-store updates each on /open-wkt branches”
“a concise entrypoint to view all sub-project repo's federated stores”
“supervisor based locking”
“an edit capability can only be acquired from the supervisor”
“a human editor can be cancelled from their write access”
## Generated output (diff reference)
> `git diff HEAD~1..HEAD -- .taken/current.org`
Create the repository's migration branch and preserve its imported
scope, with revision-aware local source configuration and a shared
local taken skill. Keep original checkout stores and indexes intact.
Existing live branch stores remain independently registered. The LNS
manifest and migration ledger describe the authoritative split paths.
## Explanation
The global launch now works: one Neovim window shows all 13 sources,
with normal highlighting and the new help menu. The full AI export
reports complete coverage with no diagnostics.

View File

@ -0,0 +1,47 @@
---
created_at: 2026-10-23T14:38:56.802088+00:00
generated_by:
harness: codex
provider: openai
git_ref: 91769016
session: 01a1691b-455c-7b32-9f90-72331a112e46
scope: data
substantive: true
---
## Prompt
Consolidate project notes and ongoing human/agent work into Piker's
federated Taken store, preserving original content and ranking work
against main. Work from `wkt/federated_project_stores` and prepare a
commit plan for human review.
## Response summary
Added an identified work inventory, seven TODO assignments, advisory
priorities and references to complete original documents. Carried
forward existing follow-ups and their native crash evidence. Used
guarded writes and preserved existing task states and source notes.
## Diff reference
Inspect the committed store changes from the original base:
```xsh
git diff 91769016513342d0960436fc79690f31b5e3cb17 HEAD -- \
.taken/current.org
```
## Human edits
The human set the scope and rejected both the bulk AI-state archive
and the duplicated raw store draft, directing concise provenance and
the Taken/Tractor/ai.skillz conventions. The agent applied those
corrections. The untouched raw draft and audit archive remain local
under ignored `.ai/state/project-work-inventory/2026-10-23/`.
No task acceptance is inferred.
## Verification
Taken lint, source-link checks and preservation checks passed during
cleanup. No application tests, live services or orders were executed.

View File

@ -0,0 +1,12 @@
# AI Prompt I/O Log
These records preserve prompts, original coding-harness attribution,
and generated output for AI-assisted repository work. Historical
records remain in their original locations. Human review and task
acceptance are separate from generated implementation evidence.
Substantive contributions use a structured record and raw partner.
Follow the [NLNet generative AI policy][nlnet-ai] when preparing work
for publication. No external submission is performed by this log.
[nlnet-ai]: https://nlnet.nl/foundation/policies/generativeAI/

View File

@ -0,0 +1,58 @@
---
created_at: 2026-10-05T23:00:13.353081+00:00
generated_by:
harness: codex
provider: OpenAI
git_ref: 9555e20c
scope: data
substantive: true
raw_file: 20261005T230013Z_9555e20c_trend_followups_d48a77_prompt_io.raw.md
---
## Prompt
The human asked to capture all ongoing Trend Calculus/Jev follow-ups
in Taken, supplied the federated_project_stores worktree, and then
requested a complete commit plan for that branch. They confirmed
that workflow configuration already exists on moar_ai_skillz and
asked why the earlier trend package duplicated it.
## Response summary
Resolved the registered Piker corpus and unique structural parent.
Used Taken's guarded whole-document save to append six identified
TODO tasks and 24 unchecked items. Preserved every prior byte,
existing state, property and order. Linked the existing FSP review
instead of duplicating it and kept annotation IPC follow-ups with
the existing task. Recorded known harness/worktree/branch provenance.
Corrected only the new prototype-review task's prose to require the
existing f148fbcc/moar_ai_skillz workflow dependency and regenerate
six Trend Calculus behavior boundaries. No task marker was changed.
Added a whitespace attribute limited to .taken Org documents so the
required final empty subtree separator passes standard Git checks.
No other workflow configuration is included in this commit package.
## Verification
Taken lint previously passed on the saved corpus and standard Git
whitespace checks pass with the path-scoped Org attribute. Saved
bytes were checked against the guarded candidate; all original
corpus content and state markers are intact. The commit package
selects a read-only lint against its exact boundary store, with
application tests excluded for this data-only change. That check
remains pending until package execution; no earlier whole-worktree
result is claimed as an exact-boundary reusable pass.
## Human edits
The human authorized loading the registered store and requested
planning, not execution. Their workflow-history correction directly
changed the new review task. Existing human tasks remain unaccepted;
no commits, pushes, rebases, mainlining or existing-state changes
were performed. The main checkout's staged content was preserved.
## Files changed
- `.taken/current.org`
- `.gitattributes`

View File

@ -0,0 +1,52 @@
---
created_at: 2026-10-05T23:00:13.353081+00:00
generated_by:
harness: codex
provider: OpenAI
git_ref: 9555e20c
scope: data
substantive: true
---
## Human instruction (verbatim)
after this pass i want us to start loading our taken store with all the ongoing / todos/ follow ups anyway - we can hash it all out there.
it's on another unmerged wkt we have to mainline, not sure what the
best stopgap for that is rn but the existing taken is here,
wkt/federated_project_stores
can we do a $commit-plan for that wkt branch with this stuff then as
well? i'm going to try and get it landed to main asap so we can start
always updating it directly from our working branch/wkt.
uhh isn't this already in f148fbcc and the moar_ai_skillz branch??
## Captured assistant output (verbatim)
The style pass and seven-commit package are finished. I added
six follow-up tasks with 24 unchecked items to the registered
Taken corpus and verified that all prior content is unchanged.
Taken lint passes.
You’re right: the three `.ai` files are byte-for-byte identical
to `f148fbcc` on `moar_ai_skillz`. That commit isn’t in this
checkout or local `main` yet, but I should have treated it as
an existing branch dependency, not proposed a duplicate commit.
I’m withdrawing that workflow step from the Trend Calculus plan.
Those files are now staged here; I’ll leave your index untouched.
## Data/configuration pointers
> `git diff HEAD~1..HEAD -- .taken/current.org`
> `git diff HEAD~1..HEAD -- .gitattributes`
These pointers name the completed one-boundary commit after human
review/execution. The prepared package captures the pending delta.
Six identified tasks retain all existing states and record prototype
review, live Jev qualification, service wiring, Pine parity, chart
qualification and native subsecond source work. A narrow Org
attribute permits Taken's required blank separator at EOF while
retaining other whitespace diagnostics. No Git commit ran.