Skip to content

Instantly share code, notes, and snippets.

View sync's full-sized avatar

Anthony Mittaz sync

View GitHub Profile
@sync
sync / black-again.png
Last active November 4, 2026 03:36
agent-device PR 4206 public screenshot and live-diff proof at da8b7036
black-again.png
@sync
sync / base-regression.log
Last active November 4, 2026 04:58
agent-device PR 4206 capture-owner validation at da8b7036
RUN v5.0.4 /private/tmp/agent-device-mask-owner-base-20261104
···xx···xx··xxxxx·························xx
⎯⎯⎯⎯⎯⎯ Failed Tests 11 ⎯⎯⎯⎯⎯⎯⎯
FAIL |unit-core| packages/contracts/src/screenshot-runtime.test.ts > a capture without a declared mask capability refuses before resolving its interactor
AssertionError: expected TypeError: Cannot read properties of unde… to match object { code: 'UNSUPPORTED_OPERATION', …(1) }
@sync
sync / README.md
Created November 4, 2026 01:18
agent-device PR 4206 request-scoped screen-mask validation at 0bbe8a6f

Request-scoped screen-mask validation

Final source head: 0bbe8a6f1148daa7bb743c85d739c2c273d6946b. Live capture source head: 35fba700249f74fb3cd3752b3b536863c40ac0f3. Subsequent commits group live-diff option validation, correct a docs example, and add the MCP field description; the simulator capture path is unchanged. Base: 035c2b6cae0b5a2d6b769c36f63daa1e99f92420.

Base/head proof

Same command on base plus the three regression test files and on head:

## Learning resources
- [Video Course - egghead - Up and Running with Remix from Kent C. Dodds](https://egghead.io/courses/up-and-running-with-remix-b82b6bb6)
- [Video Course - egghead - Learn Remix by building a Social Media Platform with TypeScript and Prisma](https://egghead.io/courses/learn-remix-by-building-a-social-media-platform-with-typescript-and-prisma-cddb0550)
- [Video Course - LevelUp Tutorial - Realtime Remix with Supabase from Melbourne](https://leveluptutorials.com/tutorials/realtime-remix-with-supabase/create-a-supabase-project)
- [Blog Post](https://www.prisma.io/blog/fullstack-remix-prisma-mongodb-1-7D0BfTXBmB6r)
@sync
sync / GraphqlServer.re
Created October 13, 2019 06:31
GraphQL Reason server
open Lwt.Infix;
open Graphql_lwt;
type role =
| User
| Admin;
type user = {
id: int,
name: string,
info building @opam/ocamlfind@opam:1.8.1@0e6469e7
error: build failed with exit code: 1
build log:
# esy-build-package: building: @opam/ocamlfind@opam:1.8.1
# esy-build-package: pwd: /Users/anthonymittaz/.esy/3___________________________________________________________/b/opam__s__ocamlfind-opam__c__1.8.1-29b79927
# esy-build-package: running: './configure' '-bindir' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/bin' '-sitelib' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib' '-mandir' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/man' '-config' '/Users/anthonymittaz/.esy/3___________________________________________________________/s/opam__s__ocamlfind-opam__c__1.8.1-29b79927/lib/findlib.conf' '-no-custom'
Welcome to findlib version 1
@sync
sync / App.re
Created May 4, 2019 02:17
Next.js
type css = {. "about": string};
[@bs.module] external css: css = "./about.css";
[@react.component]
let make = (~onServer) => {
<div
className={
css##about;
}>
<p> {React.string("This is the about page.")} </p>
@sync
sync / GraphqlHooks.re
Created March 26, 2019 19:42
Hooks reason graphql
module MemCache = {
type t;
[@bs.deriving abstract]
type config = {initialState: Js.Json.t};
type conf = Js.Json.t;
[@bs.module "graphql-hooks-memcache"]
external _createMemCache: config => t = "default";
@sync
sync / App.re
Last active March 22, 2019 01:45
Example docker
[@bs.config {jsx: 3}];
type route =
| Home
| More;
let mapPathToRoute = (path: list(string)) =>
switch (path) {
| [] => Home
| ["more"] => More
@sync
sync / run-tests
Created January 25, 2013 04:14
Teamcity ios-sim integration
if ENV['SL_RUN_UNIT_TESTS'] then
launcher_path = File.join(ENV['SRCROOT'], "../../bin", "ios-sim")
test_bundle_path= File.join(ENV['BUILT_PRODUCTS_DIR'], "#{ENV['PRODUCT_NAME']}.#{ENV['WRAPPER_EXTENSION']}")
environment = {
'DYLD_INSERT_LIBRARIES' => "/../../Library/PrivateFrameworks/IDEBundleInjection.framework/IDEBundleInjection",
'XCInjectBundle' => test_bundle_path,
'XCInjectBundleInto' => ENV["TEST_HOST"]
}