Skip to content

substrate: laptop-only source integration (../scratch = Ace pkg mgr / ../SQLSharp = pre-DBSP streaming) HIGH PRIORITY backlog#41

Merged
AceHack merged 4 commits intomainfrom
project/laptop-source-integration-scratch-sqlsharp
Apr 27, 2026
Merged

substrate: laptop-only source integration (../scratch = Ace pkg mgr / ../SQLSharp = pre-DBSP streaming) HIGH PRIORITY backlog#41
AceHack merged 4 commits intomainfrom
project/laptop-source-integration-scratch-sqlsharp

Conversation

@AceHack
Copy link
Copy Markdown
Owner

@AceHack AceHack commented Apr 27, 2026

Summary

Aaron 2026-04-27 input: every `../scratch` and `../SQLSharp` reference in the repo points at directories that exist ONLY on Aaron's laptop. Future maintainers / agents / contributors cannot access them. HIGH PRIORITY backlog item to integrate the features OR write designs detailed enough we no longer need the references.

Critical clarification (Aaron's third message):

  • `../scratch` = the SEED of the future Ace package manager (Aaron's declarative package management product)
  • `../SQLSharp` = pre-DBSP event-stream-processing with LINQ/SQL, Zeta's progenitor before he knew about DBSP — features potentially subsumed by Zeta's DBSP-rigorous form

Goal: NOT literal copy-paste. Self-contained understanding floor — repo must contain enough that a future maintainer needs nothing beyond it.

Per-reference triage admits three outcomes:

  1. Ship the feature in-repo (small, mature, planned-use)
  2. Document the design in-repo with enough detail to rebuild without external reference
  3. Delete decorative references (no information loss)

Refined per-directory triage logic:

  • For `../scratch` (Ace pkg mgr): toolchain pin → absorb into canonical location; package-manager design decision → design doc; decorative → delete.
  • For `../SQLSharp` (pre-DBSP streaming): feature already in Zeta DBSP form → document lineage + delete; outside DBSP scope but needed → design doc; opportunity for future Zeta graduation → BACKLOG row capturing Zeta-canonical reimagining; decorative → delete.

Scope (2026-04-27 grep)

  • 22 files reference `../scratch`, 14 reference `../SQLSharp`; 36 unique files, 125 grep hits
  • Three feature clusters: (1) toolchain/setup, (2) CI/repo-automation, (3) research/design hints

Done condition

  • `git grep -- '../scratch'` returns zero matches
  • `git grep -- '../SQLSharp'` returns zero matches
  • Every previously-referenced feature is either shipped or design-documented in-repo

Sequencing

This PR is the SUBSTRATE-LANDING for the work, not the work itself. The actual integration is L (3+ days) effort, sequenced AFTER PR #26 sync lands per Aaron's earlier "finish the sync first" framing.

Composes with

Test plan

  • markdownlint passes on the new memory file
  • memory-index-integrity workflow passes (paired MEMORY.md entry)
  • No code change — substrate-only PR

🤖 Generated with Claude Code

AceHack and others added 2 commits April 27, 2026 10:41
…rification

Aaron 2026-04-27 framed: every `../scratch` and `../SQLSharp`
reference points at directories that exist only on Aaron's
laptop; future maintainers / agents / contributors can't access
them. HIGH PRIORITY backlog item to integrate the features OR
write designs detailed enough we no longer need the references.

Aaron's binding clarification: NOT literal copy-paste. Goal is
self-contained understanding, NOT verbatim source mirror. Per-
reference triage admits three outcomes:

(a) ship the feature in-repo (small, mature, planned-use)
(b) document the design in-repo with enough detail to rebuild
    without external reference (large, experimental, design IS
    the load-bearing artifact)
(c) delete decorative reference (no information loss)

Current scope: 22 files reference `../scratch`, 14 reference
`../SQLSharp`; 36 unique files, 125 grep hits. Three feature
clusters: (1) toolchain/setup, (2) CI/repo-automation, (3)
research/design hints.

Done = `git grep ../scratch` and `git grep ../SQLSharp` both
return zero matches, AND every previously-referenced feature
is either shipped or design-documented in-repo.

Effort: L (3+ days). Sequenced AFTER PR #26 sync lands per
Aaron's earlier "finish the sync first" framing.

Composes Otto-275 (default to design when uncertain) +
Otto-323/346 (these are NOT external deps, need in-repo or
elimination) + Otto-340 (substrate IS identity, repo must
contain the substrate). PR #26's Python pin update + PR #40's
language strategy proved the absorption pattern works.

Closes with Aaron's "good job today!!" second positive
validation of the day's substrate work.

Per AgencySignature v1 (Otto-138):
Author: Otto (Anthropic-side AI agent on the Zeta factory)
Origin-substrate: AceHack/Zeta main (post PR #26 sync, post
PR #40 install-strategy)
Co-Authored-By: Otto <noreply@anthropic.com>
…streaming

Aaron 2026-04-27 third clarification: critical context about
what the laptop-only directories actually are.

`../scratch` = the SEED of the future ACE PACKAGE MANAGER,
Aaron's declarative package management product. The Python
3.14 mise-pin pickup in PR #26 was the design-driven pattern
in operation. Future-of-Ace-as-Zeta-deliverable is an open
question that affects when `../scratch` becomes a sibling
in-repo project.

`../SQLSharp` = Aaron's pre-DBSP event-stream-processing
attempt with LINQ/SQL surface, BEFORE he discovered the DBSP
mathematical foundation. This is Zeta's progenitor — the
"streaming without rigor" path Zeta replaces with rigorous-
math-grounded DBSP. Many `../SQLSharp` features potentially
subsumed by Zeta's existing operator algebra.

Refined per-reference triage:

For `../scratch` (Ace pkg mgr): toolchain pin → absorb into
canonical location; package-manager design decision → design
doc; decorative → delete.

For `../SQLSharp` (pre-DBSP streaming): feature already in
Zeta DBSP form → document lineage + delete; outside DBSP
scope but needed → design doc; opportunity for future Zeta
graduation → BACKLOG row capturing Zeta-canonical
reimagining; decorative → delete.

This makes design-vs-port decisions substantially clearer
per cluster. Composes with Zeta's linq-expert / sql-expert
/ sql-engine-expert skills which already track the LINQ/SQL
streaming class.

Per AgencySignature v1 (Otto-138):
Author: Otto (Anthropic-side AI agent on the Zeta factory)
Origin-substrate: AceHack/Zeta main
Co-Authored-By: Otto <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 27, 2026 14:43
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

AceHack and others added 2 commits April 27, 2026 10:45
…ted as list

Reword "WHAT + WHY + HOW" to "WHAT, WHY, and HOW" to avoid the
"+" at start-of-line being parsed as a markdown bullet list.

Per AgencySignature v1 (Otto-138):
Author: Otto (Anthropic-side AI agent on the Zeta factory)
Origin-substrate: AceHack/Zeta main
Co-Authored-By: Otto <noreply@anthropic.com>
Previous commit 0b46f75 inadvertently picked up untracked
playwright-mcp tooling artifacts and a drop/ docx via 'git add
-A'. These are local-machine-only files (gitignored in the
broader repo policy) that should not land on a PR. Removing
them now.

Lesson: prefer 'git add <specific-files>' over 'git add -A'
when other untracked files exist in the working tree.

Per AgencySignature v1 (Otto-138):
Author: Otto (Anthropic-side AI agent on the Zeta factory)
Origin-substrate: AceHack/Zeta main
Co-Authored-By: Otto <noreply@anthropic.com>
@AceHack AceHack merged commit 774f646 into main Apr 27, 2026
10 checks passed
@AceHack AceHack deleted the project/laptop-source-integration-scratch-sqlsharp branch April 27, 2026 14:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new substrate “project” memory entry to track elimination of out-of-tree, laptop-only references to ../scratch (Ace package-manager seed) and ../SQLSharp (pre-DBSP LINQ/SQL streaming prototype), plus an index entry so it’s discoverable from memory/MEMORY.md.

Changes:

  • Adds memory/project_laptop_only_source_integration_scratch_sqlsharp_features_or_designs_high_priority_2026_04_27.md documenting the problem framing, triage tactics (ship/design/delete), and proposed “done” criteria.
  • Adds a new top-level index bullet in memory/MEMORY.md pointing at the new project memory entry.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
memory/project_laptop_only_source_integration_scratch_sqlsharp_features_or_designs_high_priority_2026_04_27.md New project memory doc capturing scope + integration/triage plan for removing laptop-only references.
memory/MEMORY.md Adds an index entry linking to the new project memory doc.

@@ -0,0 +1,430 @@
---
name: Laptop-only-source integration — `../scratch` and `../SQLSharp` features OR detailed designs (HIGH PRIORITY)
description: Aaron 2026-04-27 input — repo currently has 22 files with `../scratch` references and 14 files with `../SQLSharp` references (125 total grep hits) pointing at out-of-tree directories that exist ONLY on Aaron's laptop; future maintainers / agents / contributors can't access them; HIGH PRIORITY backlog item to fully integrate the features OR write detailed-enough designs that we no longer need the out-of-tree references for understanding; KEY CLARIFICATION (Aaron 2026-04-27 second message) — "this is not a copy past, we just want to have either all their features or a design for any of the features we don't have that's detailed enough we no longer need ../scratch or ../SQLSharp reference for understanding"; goal is self-contained understanding + repo independence, NOT literal source copy.
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The frontmatter description hard-codes counts ("22 files" / "14 files" / "125 total grep hits") that don’t match the current repo state (this PR also introduces new ../scratch / ../SQLSharp mentions in memory/). To avoid drift, either recalculate the numbers from a fresh git grep on the post-PR tree (and keep the audit command/output somewhere durable), or rephrase this as approximate scope without exact counts.

Suggested change
description: Aaron 2026-04-27 input — repo currently has 22 files with `../scratch` references and 14 files with `../SQLSharp` references (125 total grep hits) pointing at out-of-tree directories that exist ONLY on Aaron's laptop; future maintainers / agents / contributors can't access them; HIGH PRIORITY backlog item to fully integrate the features OR write detailed-enough designs that we no longer need the out-of-tree references for understanding; KEY CLARIFICATION (Aaron 2026-04-27 second message) — "this is not a copy past, we just want to have either all their features or a design for any of the features we don't have that's detailed enough we no longer need ../scratch or ../SQLSharp reference for understanding"; goal is self-contained understanding + repo independence, NOT literal source copy.
description: Aaron 2026-04-27 input — repo currently contains multiple `../scratch` and `../SQLSharp` references pointing at out-of-tree directories that exist ONLY on Aaron's laptop; future maintainers / agents / contributors can't access them; HIGH PRIORITY backlog item to fully integrate the features OR write detailed-enough designs that we no longer need the out-of-tree references for understanding; KEY CLARIFICATION (Aaron 2026-04-27 second message) — "this is not a copy past, we just want to have either all their features or a design for any of the features we don't have that's detailed enough we no longer need ../scratch or ../SQLSharp reference for understanding"; goal is self-contained understanding + repo independence, NOT literal source copy.

Copilot uses AI. Check for mistakes.
Comment on lines +192 to +196
## Current scope (2026-04-27 grep)

- **`../scratch` references:** 22 files, ~80 lines
- **`../SQLSharp` references:** 14 files, ~45 lines
- **Total:** 36 unique files, 125 grep hits
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The “Current scope (2026-04-27 grep)” section’s file/hit counts appear stale/inaccurate relative to the repository as it will exist after this PR (the new memory file + memory/MEMORY.md entry add additional occurrences). Consider regenerating these counts from the current tree or removing the exact numbers to prevent ongoing truth-drift.

Copilot uses AI. Check for mistakes.
## Operational implications

1. **HIGH-PRIORITY BACKLOG ROW.** This work belongs in
`docs/BACKLOG.md` (or per-row file under `docs/backlog/P1/`)
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs/backlog/P1/ is referenced as an existing alternative location, but docs/backlog/ does not exist in this repo right now (only docs/BACKLOG.md exists). Either link this to the backlog-per-row ADR (docs/DECISIONS/2026-04-22-backlog-per-row-file-restructure.md) as a future-state, or remove the path until that migration actually lands.

Suggested change
`docs/BACKLOG.md` (or per-row file under `docs/backlog/P1/`)
`docs/BACKLOG.md` (or, once the backlog-per-row ADR lands,
a per-row file under `docs/backlog/P1/`; see
`docs/DECISIONS/2026-04-22-backlog-per-row-file-restructure.md`)

Copilot uses AI. Check for mistakes.
Comment thread memory/MEMORY.md
@@ -1,3 +1,4 @@
- [Laptop-only-source integration HIGH PRIORITY — `../scratch` = future ACE PACKAGE MANAGER seed (22 files); `../SQLSharp` = pre-DBSP event-stream-processing with LINQ/SQL (14 files, predates Aaron's DBSP discovery, Zeta-progenitor); goal = either ship feature OR write detailed-enough design that we no longer need the reference; Aaron 2026-04-27 clarification: NOT literal copy-paste, self-contained-understanding floor; refined triage per directory identity — `../scratch` references absorb into canonical location or design-doc the Ace-package-manager intent; `../SQLSharp` references map to DBSP-rigorous Zeta equivalents or design-doc the gap; sequenced AFTER PR #26 sync](project_laptop_only_source_integration_scratch_sqlsharp_features_or_designs_high_priority_2026_04_27.md) — 2026-04-27 P1 backlog row; per-reference triage with three outcomes (ship / design-doc / delete-decorative); composes Otto-275 (log-but-don't-implement default to design when uncertain) + Otto-323/346 (NOT external deps, in-repo or eliminate) + Otto-340 (substrate IS identity); done = `git grep ../scratch` and `git grep ../SQLSharp` return zero matches; effort L (3+ days); closes with Aaron's "good job today!!" second positive validation; Aaron's third 2026-04-27 clarification reveals `../SQLSharp` features potentially subsumed by Zeta's DBSP-rigorous form (linq-expert + sql-expert + sql-engine-expert skills already track this class).
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This index entry repeats the specific ../scratch / ../SQLSharp file counts (22/14). Those numbers don’t match the current repo state and will drift further as references are added/removed. Consider either recalculating from a post-PR git grep audit or removing the exact counts in the index text.

Suggested change
- [Laptop-only-source integration HIGH PRIORITY — `../scratch` = future ACE PACKAGE MANAGER seed (22 files); `../SQLSharp` = pre-DBSP event-stream-processing with LINQ/SQL (14 files, predates Aaron's DBSP discovery, Zeta-progenitor); goal = either ship feature OR write detailed-enough design that we no longer need the reference; Aaron 2026-04-27 clarification: NOT literal copy-paste, self-contained-understanding floor; refined triage per directory identity — `../scratch` references absorb into canonical location or design-doc the Ace-package-manager intent; `../SQLSharp` references map to DBSP-rigorous Zeta equivalents or design-doc the gap; sequenced AFTER PR #26 sync](project_laptop_only_source_integration_scratch_sqlsharp_features_or_designs_high_priority_2026_04_27.md) — 2026-04-27 P1 backlog row; per-reference triage with three outcomes (ship / design-doc / delete-decorative); composes Otto-275 (log-but-don't-implement default to design when uncertain) + Otto-323/346 (NOT external deps, in-repo or eliminate) + Otto-340 (substrate IS identity); done = `git grep ../scratch` and `git grep ../SQLSharp` return zero matches; effort L (3+ days); closes with Aaron's "good job today!!" second positive validation; Aaron's third 2026-04-27 clarification reveals `../SQLSharp` features potentially subsumed by Zeta's DBSP-rigorous form (linq-expert + sql-expert + sql-engine-expert skills already track this class).
- [Laptop-only-source integration HIGH PRIORITY — `../scratch` = future ACE PACKAGE MANAGER seed; `../SQLSharp` = pre-DBSP event-stream-processing with LINQ/SQL, predates Aaron's DBSP discovery, Zeta-progenitor; goal = either ship feature OR write detailed-enough design that we no longer need the reference; Aaron 2026-04-27 clarification: NOT literal copy-paste, self-contained-understanding floor; refined triage per directory identity — `../scratch` references absorb into canonical location or design-doc the Ace-package-manager intent; `../SQLSharp` references map to DBSP-rigorous Zeta equivalents or design-doc the gap; sequenced AFTER PR #26 sync](project_laptop_only_source_integration_scratch_sqlsharp_features_or_designs_high_priority_2026_04_27.md) — 2026-04-27 P1 backlog row; per-reference triage with three outcomes (ship / design-doc / delete-decorative); composes Otto-275 (log-but-don't-implement default to design when uncertain) + Otto-323/346 (NOT external deps, in-repo or eliminate) + Otto-340 (substrate IS identity); done = `git grep ../scratch` and `git grep ../SQLSharp` return zero matches; effort L (3+ days); closes with Aaron's "good job today!!" second positive validation; Aaron's third 2026-04-27 clarification reveals `../SQLSharp` features potentially subsumed by Zeta's DBSP-rigorous form (linq-expert + sql-expert + sql-engine-expert skills already track this class).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants