Spaces:
Sleeping
Sleeping
avoigt1121 Claude Opus 5 commited on
Commit Β·
9b5fe82
1
Parent(s): 32b56aa
docs(memory): record the dev-lane setup and the pre-push mirror fix
Browse files
TODO.md
CHANGED
|
@@ -449,3 +449,11 @@ the design doc's M0βM4 is the intent behind it β see that doc's Β§0).
|
|
| 449 |
`data_level: called_variants`) and move cohort semantics there. That is a cross-repo change β
|
| 450 |
a new manifest kind, a registry version bump, and a re-pin in every consuming repo β so it
|
| 451 |
needs **ADR-0008** (claim from `main` first) and its own milestone, not a drive-by.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 449 |
`data_level: called_variants`) and move cohort semantics there. That is a cross-repo change β
|
| 450 |
a new manifest kind, a registry version bump, and a re-pin in every consuming repo β so it
|
| 451 |
needs **ADR-0008** (claim from `main` first) and its own milestone, not a drive-by.
|
| 452 |
+
|
| 453 |
+
- [ ] **Create the dev Space `anne-voigt/pdac-genomics-agent-dev`** (Annie β needs her HF account).
|
| 454 |
+
The local half is done (`32b56aa`): `hf-dev` remote, `dev` branch, tracking, mirror-hook
|
| 455 |
+
exclusion. Private, gradio `6.18.0`, py3.11, hardware matching prod. Then copy the Space
|
| 456 |
+
secrets/variables β `ACCESS_CONTROL`, `ADMIN_IDS`, `ALLOWED_IDS`, `LOG_SINK_HF_DATASET`
|
| 457 |
+
(**separate** dataset), `LOG_SINK_HF_TOKEN`, `CBIOPORTAL_CONTACT` β and stage with
|
| 458 |
+
`git push hf-dev dev:main`. Until the Space exists `hf-dev` resolves to nothing and
|
| 459 |
+
`git fetch --all` warns; that is expected, not breakage.
|
memory.md
CHANGED
|
@@ -1708,3 +1708,33 @@ gate applied to fusions, unknown modality falling back to mutation, fusion row f
|
|
| 1708 |
missense. None of them raised. All of them produced a well-formatted, citation-stamped answer to a
|
| 1709 |
question nobody asked. **When reviewing this codebase, grep for `else:` on a branch that picks a
|
| 1710 |
modality, a gene set, or a status β that is where they live.**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1708 |
missense. None of them raised. All of them produced a well-formatted, citation-stamped answer to a
|
| 1709 |
question nobody asked. **When reviewing this codebase, grep for `else:` on a branch that picks a
|
| 1710 |
modality, a gene set, or a status β that is where they live.**
|
| 1711 |
+
|
| 1712 |
+
---
|
| 1713 |
+
|
| 1714 |
+
## 2026-08-05 β dev lane established (local half); mirror hook fixed
|
| 1715 |
+
|
| 1716 |
+
`32b56aa` on the new `dev` branch. This was the **only showcase agent repo without a dev Space** β
|
| 1717 |
+
`main` IS the public prod Space, so every deploy shipped straight to production with no staging.
|
| 1718 |
+
|
| 1719 |
+
What landed (all local, nothing on HuggingFace):
|
| 1720 |
+
|
| 1721 |
+
- `hf-dev` remote β `anne-voigt/pdac-genomics-agent-dev`. **The Space does not exist yet** β that
|
| 1722 |
+
is Annie's call. Until it does, `hf-dev` resolves to nothing and `git fetch --all` warns on it.
|
| 1723 |
+
- `dev` cut from `main`, tracking `hf-dev/main`; `main` tracking `origin/main`. Both branches
|
| 1724 |
+
previously tracked *nothing*, which is why unpushed work here was invisible to `git status`
|
| 1725 |
+
and the generated fleet table showed `(no upstream)` instead of an ahead-count.
|
| 1726 |
+
- **`scripts/hooks/pre-push` bug, found by adding the remote and fixed in the same commit.** The
|
| 1727 |
+
hook selected deploy pushes with `origin*|*huggingface.co*` and then acted on anything headed
|
| 1728 |
+
for `refs/heads/main`. `git push hf-dev dev:main` satisfies BOTH β so the first dev-Space push
|
| 1729 |
+
would have mirrored unreleased dev code onto the GitHub mirror's `main`, where the ADR-0007
|
| 1730 |
+
freshness job reads it as production. Exactly the wrong-CI failure the hook exists to prevent,
|
| 1731 |
+
inverted. Now bails on `hf-dev` (and any `*-dev` URL) before the deploy test. All four paths
|
| 1732 |
+
exercised by piping synthetic stdin at the hook: hf-dev by name, hf-dev by URL, github, origin.
|
| 1733 |
+
- `CLAUDE.md`: three-remote table, branch-lifecycle section, and a correction β the
|
| 1734 |
+
memory-maintenance list still told agents to hand-edit `SHOWCASE_STATUS.md`, which is generated
|
| 1735 |
+
from `status/` fragments now.
|
| 1736 |
+
|
| 1737 |
+
**To activate**: create the Space (private, gradio `6.18.0`, py3.11, hardware matching prod), then
|
| 1738 |
+
copy `ACCESS_CONTROL` / `ADMIN_IDS` / `ALLOWED_IDS` / `LOG_SINK_HF_DATASET` (a **separate** dataset,
|
| 1739 |
+
so staging runs don't pollute `anne-voigt/pdac-genomics-results`) / `LOG_SINK_HF_TOKEN` /
|
| 1740 |
+
`CBIOPORTAL_CONTACT`. Repo is 588 KiB packed with no LFS payload, so the push is cheap.
|